$ git clone -n https://git.cclinux.org/stage/rpms/gdm.git /var/lib/mock/dist-circle9-build-120601-85265/root/chroot_tmpdir/scmroot/gdm Cloning into '/var/lib/mock/dist-circle9-build-120601-85265/root/chroot_tmpdir/scmroot/gdm'... $ git fetch origin 4e510dbfc5cb070f6db0af1586ae6f2cefc01522:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/gdm * [new ref] 4e510dbfc5cb070f6db0af1586ae6f2cefc01522 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4e510db import gdm-40.1-23.el9