$ git clone -n https://gitee.com/mirrors/erlang-rpm.git /var/lib/mock/dist-an7-updates-build-80930-40617/root/chroot_tmpdir/scmroot/erlang-rpm Cloning into '/var/lib/mock/dist-an7-updates-build-80930-40617/root/chroot_tmpdir/scmroot/erlang-rpm'... $ git reset --hard origin/master HEAD is now at 13ffd50 Remove (most) CentOS 7 mentions from the docs