$ git clone -n https://gitee.com/happy_orange/dbus-broker.git /var/lib/mock/dist-an23-build-192352-60804/root/chroot_tmpdir/scmroot/dbus-broker Cloning into '/var/lib/mock/dist-an23-build-192352-60804/root/chroot_tmpdir/scmroot/dbus-broker'... $ git fetch origin 3af1e244d12dc7c5de7d2378aaaebe220feb5818:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/dbus-broker * [new ref] 3af1e244d12dc7c5de7d2378aaaebe220feb5818 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3af1e24 add doc package