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