$ git clone -n https://gitee.com/src-opencloudos-rpms/keepalived /var/lib/mock/dist-oc8-build-32607-9797/root/chroot_tmpdir/scmroot/keepalived Cloning into '/var/lib/mock/dist-oc8-build-32607-9797/root/chroot_tmpdir/scmroot/keepalived'... $ git reset --hard origin/oc8 HEAD is now at 331a763 import keepalived-2.1.5-9.tl3