Skip to content

Commit 75beb66

Browse files
committed
2017-02-08补充Git常见问题
1 parent 69513ff commit 75beb66

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

vcs-introduce.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,10 @@ SVN 的这个窗口有的 IntelliJ IDEA 上叫 `Changes`,有的叫 `Version Co
143143
总的来说,SVN 这个功能用来管理和审查开发团队中人员的代码是非常好用的,所以非常非常建议你一定要学会该功能。
144144

145145

146+
## Git 常见问题
146147

148+
- 更新的时候报:`Can't update: no tracked branch`
149+
- 解决办法:打开 git-bash(路径:C:\Program Files\Git\git-bash.exe),切换到这个更新不下来的项目的根目录,然后输入:`git branch --set-upstream-to origin/master master`,回车之后重新回到 IntelliJ IDEA 进行更新,正常就可以了。
147150

148151

149152

0 commit comments

Comments
 (0)