$ git clone -n https://src.fedoraproject.org/rpms/golang-x-text.git /var/lib/mock/f31-build-103161-33604/root/chroot_tmpdir/scmroot/golang-x-text Cloning into '/var/lib/mock/f31-build-103161-33604/root/chroot_tmpdir/scmroot/golang-x-text'... $ git reset --hard e747419e7477cb9a964e2eb2b2326273ccc2d228 HEAD is now at e747419 Update to latest version.