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