$ git clone -n https://gitee.com/mabofu/golang-github-prometheus.git /var/lib/mock/dist-an23-build-277920-64428/root/chroot_tmpdir/scmroot/golang-github-prometheus Cloning into '/var/lib/mock/dist-an23-build-277920-64428/root/chroot_tmpdir/scmroot/golang-github-prometheus'... $ git fetch origin 1d96edb19c74e03da50847800b7432069d8def70:KOJI_FETCH_HEAD From https://gitee.com/mabofu/golang-github-prometheus * [new ref] 1d96edb19c74e03da50847800b7432069d8def70 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1d96edb Init package from upstream