$ git clone -n https://gitee.com/mgb01105731/libkcapi.git /var/lib/mock/dist-an23-build-127118-46192/root/chroot_tmpdir/scmroot/libkcapi Cloning into '/var/lib/mock/dist-an23-build-127118-46192/root/chroot_tmpdir/scmroot/libkcapi'... $ git reset --hard origin/a23 HEAD is now at d9f5007 update to 1.4.0