$ git clone -n https://gitee.com/fundawang/gdb.git /var/lib/mock/dist-an23-build-163696-58654/root/chroot_tmpdir/scmroot/gdb Cloning into '/var/lib/mock/dist-an23-build-163696-58654/root/chroot_tmpdir/scmroot/gdb'... $ git reset --hard e7a867fc2e96708577febf1806c1af1c6118dd78 HEAD is now at e7a867f 12.1