$ git clone -n http://gitee.com/src-anolis-os/xkeyboard-config.git /var/lib/mock/dist-an7_9-updates-build-267204-64062/root/chroot_tmpdir/scmroot/xkeyboard-config Cloning into '/var/lib/mock/dist-an7_9-updates-build-267204-64062/root/chroot_tmpdir/scmroot/xkeyboard-config'... warning: redirecting to https://gitee.com/src-anolis-os/xkeyboard-config.git/ $ git reset --hard origin/a7 HEAD is now at ab414b1 Standardization of language names in countries and regions