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