-
安装 git-for-windows 工具
-
安装 git-for-windows , 需要选中
Git Bash Here
选项 -
在桌面,
右键
-->Git Bash Here
,弹出的窗口中,使用以下指令进行设置$?git?config?‐‐global?user.name?"xxxxxx" $?git?config?‐‐[email protected] $?git?config?‐‐global?core.autocrlf?false
-
配置MDK, Tools --> Customize Tool Menu
-
git 提交修改
- Command:
git commit -am
- Init Folder: 工程相对于
工程名.uvprojx
的位置 - 勾选
Prompt for Arguments
和Run Minized
- Command:
-
git 上传
-
Command:
git push
-
Init Folder: 工程相对于
工程名.uvprojx
的位置 -
勾选
Run Minized
-
-
git 下载更新
- Command:
git pull
- Init Folder: 工程相对于
工程名.uvprojx
的位置 - 勾选
Run Minized
- Command:
-
Keil-MDK 使用git管理代码
猜你喜欢
转载自my.oschina.net/u/3080113/blog/1627614
今日推荐
周排行