1.git 命令
git clone;
git push
git status;
git commit;
…
2.git 如何查看某次提交修改的内容x
知道commit id的情况下:
-
获取commit id
git log -
查看commit内容
git show commit_id
查看最近n次提交的修改
git log -p -n
指定n为1则可以查看最近一次修改的内容
1.git 命令
git clone;
git push
git status;
git commit;
…
2.git 如何查看某次提交修改的内容x
知道commit id的情况下:
获取commit id
git log
查看commit内容
git show commit_id
查看最近n次提交的修改
git log -p -n
指定n为1则可以查看最近一次修改的内容