$ git clone -n https://gitee.com/lliuzhi/xterm.git /var/lib/mock/dist-an8.9-build-336253-69644/root/chroot_tmpdir/scmroot/xterm Cloning into '/var/lib/mock/dist-an8.9-build-336253-69644/root/chroot_tmpdir/scmroot/xterm'... $ git fetch origin 4df2e83da685a3ab2ba46dfc87a4ac0bd835f076:KOJI_FETCH_HEAD From https://gitee.com/lliuzhi/xterm * [new ref] 4df2e83da685a3ab2ba46dfc87a4ac0bd835f076 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4df2e83 update to xterm-331-2