$ git clone -n https://gitee.com/mgb01105731/nodejs_7.git /var/lib/mock/dist-an23.5-build-589098-98767/root/chroot_tmpdir/scmroot/nodejs_7 Cloning into '/var/lib/mock/dist-an23.5-build-589098-98767/root/chroot_tmpdir/scmroot/nodejs_7'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/nodejs_7 * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1a68321 update to 24.21.1