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