$ git clone -n https://gitee.com/src-anolis-os/sharutils.git /mnt/mock/kojid//dist-an23.3-riscv-build-439439-73130/root/chroot_tmpdir/scmroot/sharutils Cloning into '/mnt/mock/kojid//dist-an23.3-riscv-build-439439-73130/root/chroot_tmpdir/scmroot/sharutils'... $ git fetch origin 52c7dc60252da1b018a2eb1b23725f0c95d27c0b:KOJI_FETCH_HEAD From https://gitee.com/src-anolis-os/sharutils * [new ref] 52c7dc60252da1b018a2eb1b23725f0c95d27c0b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 52c7dc6 fix source link