# JUSTFW_CLION_DEMO **Repository Path**: justrm/justfw_-clion_-demo ## Basic Information - **Project Name**: JUSTFW_CLION_DEMO - **Description**: 江西理工大学rm电控框架clion版本Demo - **Primary Language**: C - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 3 - **Forks**: 6 - **Created**: 2023-12-16 - **Last Updated**: 2026-03-25 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # JUSTFW_KEIL_DEMO ### clone项目 由于本项目包含子模块(justfw),直接克隆下来的子模块目录里面是空的。 有两种方法解决: ##### 方法一 如果项目已经克隆到了本地,执行下面的步骤: 初始化本地子模块配置文件 `git submodule init` 更新项目,抓取子模块内容。 `git submodule update` ##### 方法二 另外一种更简单的方法,就是在执行 git clone 时加上 --recursive 参数。它会自动初始化并更新每一个子模块。例如: `git clone --recursive https://gitee.com/justrm/justfw_-clion_-demo.git` ### 更新子模块 进入`justfw`目录 ```c git branch -d master git branch master origin/master git pull origin master ``` 然后返回项目目录 ```c git add . git commit -m ":arrow_up:update repositorty@提交编号" git push ```