by SethKinast · 11y ago · 0 comments
read oldrev newrev ref branchname=${ref#refs/heads/} git --git-dir=. --work-tree=$PWD/.. checkout -f ${branchname} git --git-dir=. --work-tree=$PWD/.. reset --hard $newrev
No comments yet.