$ git clone -n https://src.fedoraproject.org/rpms/golang-github-howeyc-gopass.git /var/lib/mock/f40-build-2246087-53800/root/chroot_tmpdir/scmroot/golang-github-howeyc-gopass Cloning into '/var/lib/mock/f40-build-2246087-53800/root/chroot_tmpdir/scmroot/golang-github-howeyc-gopass'... $ git fetch origin 2beb3f59e4a3225298a54285ae09684539c51c5a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-howeyc-gopass * [new ref] 2beb3f59e4a3225298a54285ae09684539c51c5a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2beb3f5 Remove deprecated %patchN syntax