$ git clone -n https://gitee.com/lizhao2025/sanlock.git /var/lib/mock/dist-an23-build-500959-74764/root/chroot_tmpdir/scmroot/sanlock Cloning into '/var/lib/mock/dist-an23-build-500959-74764/root/chroot_tmpdir/scmroot/sanlock'... $ git fetch origin 5d4f84a194db3742c36d91f6db6adb6bb4d5f30a:KOJI_FETCH_HEAD From https://gitee.com/lizhao2025/sanlock * [new ref] 5d4f84a194db3742c36d91f6db6adb6bb4d5f30a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5d4f84a Update code from upstream