0

git commit 只选择文件的某一部分提交

jacqueline created at6 years ago view count: 2646

修改的文件里面有debug代码, 不想提交这部分,怎样分块提交某些行?

report
回复
0

使用git add -p

git add --patch <filename>

更多的请看这个链接 http://www.joyk.com/question/227

6 years ago 回复