$ git clone -n https://git.cclinux.org/stage/rpms/gdb.git /var/lib/mock/dist-circle9-build-120320-84997/root/chroot_tmpdir/scmroot/gdb Cloning into '/var/lib/mock/dist-circle9-build-120320-84997/root/chroot_tmpdir/scmroot/gdb'... $ git fetch origin f44ae59b5438dda4889bfafd73aa5d235d3002ac:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/gdb * [new ref] f44ae59b5438dda4889bfafd73aa5d235d3002ac -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at f44ae59 import gdb-10.2-13.el9