$ git clone -n https://gitee.com/src-anolis-os/exiv2.git /var/lib/mock/dist-an7-build-62820-34902/root/chroot_tmpdir/scmroot/exiv2 Cloning into '/var/lib/mock/dist-an7-build-62820-34902/root/chroot_tmpdir/scmroot/exiv2'... $ git reset --hard origin/a7 HEAD is now at 5500c17 !1 update version to errata Merge pull request !1 from xzyang/a7