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