$ git clone -n https://gitee.com/happy_orange/cereal.git /var/lib/mock/dist-an23-build-160065-58549/root/chroot_tmpdir/scmroot/cereal Cloning into '/var/lib/mock/dist-an23-build-160065-58549/root/chroot_tmpdir/scmroot/cereal'... $ git reset --hard origin/a23 HEAD is now at 69d20a4 package init