Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
git命令解决冲突
Experiences and Insight
776
views ·
1
replies ·
To
floor
Go
go2012
deepin
2013-10-27 08:22
Author
喜欢git的朋友有没有遇到这样的问题.
就是在协作的时候,比如你的一个朋友上传了代码,而你又更改了这个代码,
当你要git pull ,会提示又冲突的,这个时候是有办法解决的,前天学了一个神技。
git stash save
git pull
git stash pop
这就解决了git pull产生冲突...
和大家分享 一下
Reply
Like 0
Favorite
View the author
All Replies
cxbii
deepin
2013-10-27 19:46
#1
感谢分享
Reply
Like 0
View the author
Please
sign
in first
New Thread
Popular Ranking
Change
Problem with French locale
Install problem (09_ostree_sys_init.job hooks)
Anyone Get OBS to work?
Setup keyboard
Large-Scale Community Testing Report - Critical Technical Issues
Display not correctly identified (sort of)
Popular Events
More
就是在协作的时候,比如你的一个朋友上传了代码,而你又更改了这个代码,
当你要git pull ,会提示又冲突的,这个时候是有办法解决的,前天学了一个神技。
git stash save
git pull
git stash pop
这就解决了git pull产生冲突...
和大家分享 一下