$ git clone -n https://gitee.com/happy_orange/postfix.git /var/lib/mock/dist-an23.3-build-423075-72928/root/chroot_tmpdir/scmroot/postfix Cloning into '/var/lib/mock/dist-an23.3-build-423075-72928/root/chroot_tmpdir/scmroot/postfix'... $ git fetch origin 66fdf78cbdebc42e155537de0c35f88d3f039898:KOJI_FETCH_HEAD From https://gitee.com/happy_orange/postfix * [new ref] 66fdf78cbdebc42e155537de0c35f88d3f039898 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 66fdf78 update to 3.8.5