$ git clone -n https://src.fedoraproject.org/rpms/golang-github-docker-distribution.git /var/lib/mock/f45-build-47954-872/root/chroot_tmpdir/scmroot/golang-github-docker-distribution Cloning into '/var/lib/mock/f45-build-47954-872/root/chroot_tmpdir/scmroot/golang-github-docker-distribution'... $ git fetch origin 1fa3a3857d488ddb3f35af325fbde6dfe4113158:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-docker-distribution * [new ref] 1fa3a3857d488ddb3f35af325fbde6dfe4113158 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1fa3a38 rebuild