$ git clone -n https://gitee.com/src-anolis-sig/keentuned.git /var/lib/mock/dist-an8.4-keentune-build-73589-38650/root/chroot_tmpdir/scmroot/keentuned Cloning into '/var/lib/mock/dist-an8.4-keentune-build-73589-38650/root/chroot_tmpdir/scmroot/keentuned'... $ git reset --hard origin/master HEAD is now at 4dd1007 !7 update keentuned version to 1.0.1-2 Merge pull request !7 from liuwenchao/dev-1.0.1-2