$ git clone -n https://src.fedoraproject.org/rpms/golang-github-spf13-cobra.git /var/lib/mock/f41-build-1006877-17340/root/chroot_tmpdir/scmroot/golang-github-spf13-cobra Cloning into '/var/lib/mock/f41-build-1006877-17340/root/chroot_tmpdir/scmroot/golang-github-spf13-cobra'... $ git fetch origin a842fb42408b5c866e6f9eb4a579149ef9f739c4:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-spf13-cobra * [new ref] a842fb42408b5c866e6f9eb4a579149ef9f739c4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a842fb4 Update to 1.8.1 - Closes rhbz#2292475