$ git clone -n https://gitee.com/cobratoxin/xterm.git /var/lib/mock/dist-an8.8-build-281314-64674/root/chroot_tmpdir/scmroot/xterm Cloning into '/var/lib/mock/dist-an8.8-build-281314-64674/root/chroot_tmpdir/scmroot/xterm'... $ git fetch origin 6738ca876186905ca713ea69b31de629bb0a453a:KOJI_FETCH_HEAD From https://gitee.com/cobratoxin/xterm * [new ref] 6738ca876186905ca713ea69b31de629bb0a453a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 6738ca8 spec: add doc sub package