Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

> git checkout -q error: you need to resolve your current index first

# CONFLICT (content): Merge conflict in path/to/file

# open the file in an editor of your choice
$ vim /path/to/file_with_conflict

# repeat for every file that has a conflict and then

$ git commit -a -m 'commit message'
Source by unfuddle.com #
 
PREVIOUS NEXT
Tagged: #git #checkout #resolve #current #index
ADD COMMENT
Topic
Name
5+7 =