$ git clone -n https://src.fedoraproject.org/rpms/golang-github-need-being-tree.git /var/lib/mock/f38-build-side-42-init-devel-648791-26457/root/chroot_tmpdir/scmroot/golang-github-need-being-tree Cloning into '/var/lib/mock/f38-build-side-42-init-devel-648791-26457/root/chroot_tmpdir/scmroot/golang-github-need-being-tree'... $ git fetch origin 2f6642df5927c7d47e23615e83cd87716bed7849:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/golang-github-need-being-tree * [new ref] 2f6642df5927c7d47e23615e83cd87716bed7849 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2f6642d Initial import; Fixes: RHBZ#2172236