摘要:
查看本地分支git状态 $ git status 把对某个文件的修改添加到下次提交中 $ git add 提交本地的国有修改 $ git add p 提交之前已标记的变化 $ git commit a 附加提交消息 $ git commit 显示所有提交(仅显示提交的hash和message) $ 阅读全文
摘要:
查看本地分支git状态 $ git status 把对某个文件的修改添加到下次提交中 $ git add 提交本地的国有修改 $ git add -p<file> 提交之前已标记的变化 $ git commit -a 附加提交消息 $ git commit 显示所有提交(仅显示提交的hash和mes 阅读全文