$ git clone -n https://gitee.com/newstart-gdlc/rest.git /var/lib/mock/dist-an8.9-nde-build-446890-73015/root/chroot_tmpdir/scmroot/rest Cloning into '/var/lib/mock/dist-an8.9-nde-build-446890-73015/root/chroot_tmpdir/scmroot/rest'... $ git fetch origin 13bdede029a620816b14ea3a185e59430d02db7a:KOJI_FETCH_HEAD From https://gitee.com/newstart-gdlc/rest * [new ref] 13bdede029a620816b14ea3a185e59430d02db7a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 13bdede add rest