$ git clone -n https://gitee.com/src-anolis-os/gdb.git /var/lib/mock/dist-an8-build-63570-35498/root/chroot_tmpdir/scmroot/gdb Cloning into '/var/lib/mock/dist-an8-build-63570-35498/root/chroot_tmpdir/scmroot/gdb'... $ git reset --hard origin/a8 HEAD is now at da4872d update to gdb-8.2-16.el8