$ git clone -n https://gitee.com/fundawang/gstreamer1.git /var/lib/mock/dist-an23-build-184207-60344/root/chroot_tmpdir/scmroot/gstreamer1 Cloning into '/var/lib/mock/dist-an23-build-184207-60344/root/chroot_tmpdir/scmroot/gstreamer1'... $ git fetch origin c5dd8211d3be87a3d4bf849236fe48238b7628dd:KOJI_FETCH_HEAD From https://gitee.com/fundawang/gstreamer1 * [new ref] c5dd8211d3be87a3d4bf849236fe48238b7628dd -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c5dd821 1.20.5