$ git clone -n https://gitee.com/mgb01105731/erlang-rebar_2.git /var/lib/mock/dist-an23-epao-build-299832-65901/root/chroot_tmpdir/scmroot/erlang-rebar_2 Cloning into '/var/lib/mock/dist-an23-epao-build-299832-65901/root/chroot_tmpdir/scmroot/erlang-rebar_2'... $ git reset --hard origin/a23 HEAD is now at 0a4f6c6 init upstream from version 2.6.1