$ git clone -n https://src.fedoraproject.org/rpms/mutt.git /var/lib/mock/f29-build-169-163/root/thebuilddir/tmp/scmroot/mutt Cloning into '/var/lib/mock/f29-build-169-163/root/thebuilddir/tmp/scmroot/mutt'... $ git reset --hard f1628ed7612ddf00f15d3893e7a0bb672e417a1a HEAD is now at f1628ed Disable dotlock by patch instead of sed