$ git clone -n https://gitee.com/mgb01105731/sharutils.git /var/lib/mock/dist-an23-build-python3.11-379656-71790/root/chroot_tmpdir/scmroot/sharutils Cloning into '/var/lib/mock/dist-an23-build-python3.11-379656-71790/root/chroot_tmpdir/scmroot/sharutils'... $ git fetch origin a23:KOJI_FETCH_HEAD From https://gitee.com/mgb01105731/sharutils * [new branch] a23 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 52c7dc6 fix source link