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