$ git clone -n https://gitee.com/aixan/babeltrace.git /var/lib/mock/dist-an8.6-build-114901-45880/root/chroot_tmpdir/scmroot/babeltrace Cloning into '/var/lib/mock/dist-an8.6-build-114901-45880/root/chroot_tmpdir/scmroot/babeltrace'... $ git reset --hard cbff002e369c126d53c7a9e6efb8ddb69e4c7092 HEAD is now at cbff002 update to babeltrace-1.5.4-3.el8.src.rpm