$ git clone -n https://gitee.com/hongwei-qin/postgresql.git /var/lib/mock/dist-an8.10-build-467240-74003/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/dist-an8.10-build-467240-74003/root/chroot_tmpdir/scmroot/postgresql'... $ git fetch origin adc8c9c1ff3275a1b900e207acc19b5c1e00f9c4:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/postgresql * [new ref] adc8c9c1ff3275a1b900e207acc19b5c1e00f9c4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at adc8c9c update to 8.10.0