$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/btrfs-progs.git /var/lib/mock/dist-an7-build-37950-18010/root/chroot_tmpdir/scmroot/btrfs-progs Cloning into '/var/lib/mock/dist-an7-build-37950-18010/root/chroot_tmpdir/scmroot/btrfs-progs'... $ git reset --hard origin/a7 HEAD is now at e2cd6ab import btrfs-progs-4.9.1-1.el7.src.rpm