$ git clone -n https://src.fedoraproject.org/rpms/golang-github-ncw-swift.git /var/lib/mock/f45-build-48862-879/root/chroot_tmpdir/scmroot/golang-github-ncw-swift Cloning into '/var/lib/mock/f45-build-48862-879/root/chroot_tmpdir/scmroot/golang-github-ncw-swift'... $ git fetch origin 702f9184c02a8479fe8ae3a219ec07aee2fe0d35:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-ncw-swift * [new ref] 702f9184c02a8479fe8ae3a219ec07aee2fe0d35 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 702f918 Fix FTBFS