$ git clone -n https://gitee.com/tomcruiseqi/git.git /var/lib/mock/dist-an23.2-build-445332-73277/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an23.2-build-445332-73277/root/chroot_tmpdir/scmroot/git'... $ git fetch origin 0b297be0971ae02846fde4ff07d15c87be864013:KOJI_FETCH_HEAD From https://gitee.com/tomcruiseqi/git * [new ref] 0b297be0971ae02846fde4ff07d15c87be864013 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0b297be for test