03 2017 档案
摘要:git log --author="作者name" --pretty=tformat: --numstat | awk '{ add += $1; subs += $2; loc += $1 - $2 } END { printf "added lines: %s, removed lines: %
阅读全文
摘要:#取消对文件的修改。还原到最近的版本,废弃本地做的修改。git checkout -- <file> #取消已经暂存的文件。即,撤销先前"git add"的操作git reset HEAD <file>... #修改最后一次提交。用于修改上一次的提交信息,或漏提交文件等情况。git commit -
阅读全文

浙公网安备 33010602011771号