近期问题小结(1)

git针对单独更改文件的提交,例:

git add a
git commit a -m "bugfix, in a"
git add b
git commit b -m "new feature, in b"

手动生成.gitignore

在项目根目录下用git bash打开,命令行 touch .gitignore

Leave a Reply

Your email address will not be published. Required fields are marked *