$ git clone -n https://gitee.com/opencloudos-stream/golang-uber-atomic.git /var/lib/mock/dist-oc9-epol-build-113160-67891/root/chroot_tmpdir/scmroot/golang-uber-atomic Cloning into '/var/lib/mock/dist-oc9-epol-build-113160-67891/root/chroot_tmpdir/scmroot/golang-uber-atomic'... $ git fetch origin master:KOJI_FETCH_HEAD From https://gitee.com/opencloudos-stream/golang-uber-atomic * [new branch] master -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5ef0219 update