查詢某個文件的修改:
git log --pretty=oneline 文件名
接下來使用git show顯示具體的某次的改動。
git show <git提交版本號> <文件名>
在repo下所有倉庫執行同一命令:
repo forall -c "git ..."
批量刪除分支
repo forall -c “git branch | sed -e /^*/d | xargs git branch -D”
git log --pretty=oneline 文件名
接下來使用git show顯示具體的某次的改動。
git show <git提交版本號> <文件名>
repo forall -c "git ..."
repo forall -c “git branch | sed -e /^*/d | xargs git branch -D”