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