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