查询某个文件的修改:
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”