$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tbb.git /var/lib/mock/dist-an7-build-30459-15509/root/chroot_tmpdir/scmroot/tbb Cloning into '/var/lib/mock/dist-an7-build-30459-15509/root/chroot_tmpdir/scmroot/tbb'... $ git reset --hard origin/a7 HEAD is now at bc3124c import tbb-4.1-9.20130314.el7.src.rpm