$ git clone -n https://src.fedoraproject.org/rpms/golang-github-alecthomas-assert.git /var/lib/mock/f37-build-side-32-misc-devel-204235-13184/root/chroot_tmpdir/scmroot/golang-github-alecthomas-assert Cloning into '/var/lib/mock/f37-build-side-32-misc-devel-204235-13184/root/chroot_tmpdir/scmroot/golang-github-alecthomas-assert'... $ git reset --hard f4fd49c665a4cf4a9c63547c1969ecc9421ff467 HEAD is now at f4fd49c Convert to rpmautospec