$ git clone -n https://gitee.com/yummypeng/ocaml-re.git /var/lib/mock/dist-an23-build-236439-62821/root/chroot_tmpdir/scmroot/ocaml-re Cloning into '/var/lib/mock/dist-an23-build-236439-62821/root/chroot_tmpdir/scmroot/ocaml-re'... $ git reset --hard origin/a23 HEAD is now at ec25b41 Init from upstream