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