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