Commit: git commit -m "added foo.txt" commit.
提交:git commit- m “added foo . txt ” commit。
Execute the git commit command to check in your initial files.
执行git commit命令签入初始文件。
You can then easily commit them by issuing the git commit command.
这时可以使用git commit命令轻松搞定。
You will still have to commit this file to actually add its contents to a Git repository.
您必须提交该文件,以向git存储库添加其内容。
We can commit and push to our repository, much like any other Git system.
我们可以向代码库进行提交和推送,就和其他Git系统一样。
Now you have made your first commit to your new git repository! Congrats, you geek.
大功告成,我们已经向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?
我如何妥善储藏/流行前提交钩子试验得到清洁的工作树?
应用推荐