$ git clone -n https://gitee.com/wency_cn/graphite2.git /var/lib/mock/dist-an23-build-492208-74553/root/chroot_tmpdir/scmroot/graphite2 Cloning into '/var/lib/mock/dist-an23-build-492208-74553/root/chroot_tmpdir/scmroot/graphite2'... $ git fetch origin 91bd776e509bec85d854a41f8ec74cbee93394e9:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/graphite2 * [new ref] 91bd776e509bec85d854a41f8ec74cbee93394e9 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 91bd776 Update code from upstream