$ git clone -n https://gitee.com/hongwei-qin/lldpad.git /var/lib/mock/dist-an23.3-build-414553-72844/root/chroot_tmpdir/scmroot/lldpad Cloning into '/var/lib/mock/dist-an23.3-build-414553-72844/root/chroot_tmpdir/scmroot/lldpad'... $ git fetch origin 291a2d5c6b6ee4ca0ea1035eafb61c7df06cd56a:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/lldpad * [new ref] 291a2d5c6b6ee4ca0ea1035eafb61c7df06cd56a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 291a2d5 update to 1.1.1