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