07 2018 档案

git diff 与git format-patch 生成补丁包
摘要:git diff commit_id 会生成最后一次提交到目前修改过的内容补丁 git diff commit_id1 commit_id2 会生成两次提交之间修改过的内容补丁 git format-patch -1 commit_id -o D:/patch 生成当前提交内容的补丁 git for 阅读全文

posted @ 2018-07-10 14:58 minrh 阅读(488) 评论(0) 推荐(0)

git 常用命令
摘要:1、git reset head git撤销操作 2、git reset commit_id 3、git push 某一个commit git push <remote name> <commit hash>:<remote branch name> # Example: git push orig 阅读全文

posted @ 2018-07-10 14:16 minrh 阅读(101) 评论(0) 推荐(0)

导航