$ git clone -n https://gitee.com/fundawang/inkscape.git /var/lib/mock/dist-an23-build-311964-67129/root/chroot_tmpdir/scmroot/inkscape Cloning into '/var/lib/mock/dist-an23-build-311964-67129/root/chroot_tmpdir/scmroot/inkscape'... $ git fetch origin a8c57c3b1beeb9176394c4d84ca233d2a86e47d4:KOJI_FETCH_HEAD From https://gitee.com/fundawang/inkscape * [new ref] a8c57c3b1beeb9176394c4d84ca233d2a86e47d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a8c57c3 update dir