$ git clone -n https://gitee.com/happy_orange/rpcbind.git /var/lib/mock/dist-an23.3-build-423214-72928/root/chroot_tmpdir/scmroot/rpcbind Cloning into '/var/lib/mock/dist-an23.3-build-423214-72928/root/chroot_tmpdir/scmroot/rpcbind'... $ git fetch origin 70b3f9ae1b7b5527535c16712622842f5c75580f:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/rpcbind * [new ref] 70b3f9ae1b7b5527535c16712622842f5c75580f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 70b3f9a update to 1.2.7