$ git clone -n https://git.cclinux.org/stage/rpms/ksh.git /mnt/compose/mock/dist-circle8-build-113978-76258/root/chroot_tmpdir/scmroot/ksh Cloning into '/mnt/compose/mock/dist-circle8-build-113978-76258/root/chroot_tmpdir/scmroot/ksh'... $ git fetch origin 40c174c501d04c967a3882116c88bc8c38bde7be:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/ksh * [new ref] 40c174c501d04c967a3882116c88bc8c38bde7be -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 40c174c import ksh-20120801-267.el8