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