$ git clone -n https://gitee.com/happy_orange/keentune_target_src.git /var/lib/mock/dist-an23-build-88784-45166/root/chroot_tmpdir/scmroot/keentune_target_src Cloning into '/var/lib/mock/dist-an23-build-88784-45166/root/chroot_tmpdir/scmroot/keentune_target_src'... $ git reset --hard origin/master HEAD is now at 628b1c3 update to 1.1.1