$ git clone -n https://gitee.com/dashnfschina/openvswitch.git /var/lib/mock/dist-an23-build-376514-71717/root/chroot_tmpdir/scmroot/openvswitch Cloning into '/var/lib/mock/dist-an23-build-376514-71717/root/chroot_tmpdir/scmroot/openvswitch'... $ git fetch origin cb8a7ed69ca1e1b375fc0f17b5a776cdcf4525e1:KOJI_FETCH_HEAD From https://gitee.com/dashnfschina/openvswitch * [new ref] cb8a7ed69ca1e1b375fc0f17b5a776cdcf4525e1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cb8a7ed 333