$ git clone -n https://gitee.com/fundawang/postgresql.git /var/lib/mock/dist-an23-build-332267-69580/root/chroot_tmpdir/scmroot/postgresql Cloning into '/var/lib/mock/dist-an23-build-332267-69580/root/chroot_tmpdir/scmroot/postgresql'... $ git fetch origin 2238bc986c90a19166e3d601f86e66a19aa0a09c:KOJI_FETCH_HEAD From https://gitee.com/fundawang/postgresql * [new ref] 2238bc986c90a19166e3d601f86e66a19aa0a09c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 2238bc9 15.5