$ git clone -n https://gitee.com/ywyw22/kernel /var/lib/mock/dist-an23-build-127789-46211/root/chroot_tmpdir/scmroot/kernel Cloning into '/var/lib/mock/dist-an23-build-127789-46211/root/chroot_tmpdir/scmroot/kernel'... $ git reset --hard 36ff9a843622dc87cdac18b404e70aa3a0004527 HEAD is now at 36ff9a8 readme: add desc for branch