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