$ git clone -n https://gitee.com/wenyuzifang/liblerc.git /var/lib/mock/dist-an23-build-471873-74118/root/chroot_tmpdir/scmroot/liblerc Cloning into '/var/lib/mock/dist-an23-build-471873-74118/root/chroot_tmpdir/scmroot/liblerc'... $ git fetch origin cdd33f6c067a51ae71ac510428e6a279fb72773b:KOJI_FETCH_HEAD From https://gitee.com/wenyuzifang/liblerc * [new ref] cdd33f6c067a51ae71ac510428e6a279fb72773b -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cdd33f6 Update code from upstream