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