$ git clone -n https://gitee.com/cobratoxin/coreutils.git /var/lib/mock/dist-an8.8-build-277779-64416/root/chroot_tmpdir/scmroot/coreutils Cloning into '/var/lib/mock/dist-an8.8-build-277779-64416/root/chroot_tmpdir/scmroot/coreutils'... $ git fetch origin 4665c0b2c39b81856dab3fd23bf9247fd397ff89:KOJI_FETCH_HEAD From https://gitee.com/cobratoxin/coreutils * [new ref] 4665c0b2c39b81856dab3fd23bf9247fd397ff89 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4665c0b update to coreutils-8.30-12.el8