$ git clone -n https://gitee.com/leeffo/git.git /var/lib/mock/dist-an8.7-build-174017-59025/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an8.7-build-174017-59025/root/chroot_tmpdir/scmroot/git'... $ git reset --hard origin/a8-poc HEAD is now at a2c27bd update to git-2.38.1-3.eln123.src.rpm