$ git clone -n https://gitee.com/wency_cn/tuna_1772015496.git /var/lib/mock/dist-an23-build-514885-75118/root/chroot_tmpdir/scmroot/tuna_1772015496 Cloning into '/var/lib/mock/dist-an23-build-514885-75118/root/chroot_tmpdir/scmroot/tuna_1772015496'... $ git fetch origin 1894b47708ca55fb32d4025ea23047579584eaa5:KOJI_FETCH_HEAD From https://gitee.com/wency_cn/tuna_1772015496 * [new ref] 1894b47708ca55fb32d4025ea23047579584eaa5 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1894b47 Update code from upstream