$ git clone -n https://gitee.com/zhonglingh/initial-setup.git /var/lib/mock/dist-an23-build-232358-62580/root/chroot_tmpdir/scmroot/initial-setup Cloning into '/var/lib/mock/dist-an23-build-232358-62580/root/chroot_tmpdir/scmroot/initial-setup'... $ git reset --hard d47d061ef1ab187b004e5246e79ed2ab8f8666f8 HEAD is now at d47d061 Init package from upstream