$ git clone -n https://src.fedoraproject.org/rpms/golang-github-gobwas-ws.git /var/lib/mock/f33-build-344797-59206/root/chroot_tmpdir/scmroot/golang-github-gobwas-ws Cloning into '/var/lib/mock/f33-build-344797-59206/root/chroot_tmpdir/scmroot/golang-github-gobwas-ws'... $ git reset --hard bfadf0bc680dfb08f241d388ef25db486f3a9c59 HEAD is now at bfadf0b Update to latest version.