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