$ git clone -n https://src.fedoraproject.org/rpms/golang-github-hashicorp-raft-boltdb.git /var/lib/mock/f39-build-2008007-44977/root/chroot_tmpdir/scmroot/golang-github-hashicorp-raft-boltdb Cloning into '/var/lib/mock/f39-build-2008007-44977/root/chroot_tmpdir/scmroot/golang-github-hashicorp-raft-boltdb'... $ git fetch origin 47ab7c39bdcf20fdcec2374549627584561d3925:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-hashicorp-raft-boltdb * [new ref] 47ab7c39bdcf20fdcec2374549627584561d3925 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 47ab7c3 Update to 2.2.2