$ git clone -n https://gitee.com/alpha-wang/hbase.git /var/lib/mock/dist-an8-epao-build-420843-72895/root/chroot_tmpdir/scmroot/hbase Cloning into '/var/lib/mock/dist-an8-epao-build-420843-72895/root/chroot_tmpdir/scmroot/hbase'... $ git fetch origin 331de2bd9f3b69dc8a1f76386eaa1d5f515cefab:KOJI_FETCH_HEAD From https://gitee.com/alpha-wang/hbase * [new ref] 331de2bd9f3b69dc8a1f76386eaa1d5f515cefab -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 331de2b init to 2.5.0