Commit: git commit -m "added foo.txt" commit.
提交:git commit- m “added foo . txt ” commit。
You will still have to commit this file to actually add its contents to a Git repository.
您必须提交该文件,以向git存储库添加其内容。
If you have to remove a file, there is no special command like git-add; you just remove the file, then commit.
如果要删除某个文件,并且没有git - add之类的特殊命令;您只需要删除这个文件,然后提交就可以了。
How do I properly git stash/pop in pre-commit hooks to get a clean working tree for tests?
我如何妥善储藏/流行前提交钩子试验得到清洁的工作树?
How do I properly git stash/pop in pre-commit hooks to get a clean working tree for tests?
我如何妥善储藏/流行前提交钩子试验得到清洁的工作树?
应用推荐