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