snu-sf-class / pl2015spring

SNU 4190.310, 2015 Spring
11 stars 6 forks source link

Error at fetch #21

Closed rhs0266 closed 9 years ago

rhs0266 commented 9 years ago

I followed

!/usr/bin/env bash

Usage: ./fetch-homework.sh

Make sure that upstream points to the valid offical repository.

git remote rm upstream git remote add upstream https://github.com/snu-sf/pl2015.git

Download and update.

git fetch upstream git merge upstream/master

as same as snu-sf/pl2015/fetch-homework.sh

but I got some problem @ git merge upstream/master. Here is error error: 'merge' is not possible because you have unmerged files. hint: Fix them up in the work tree. hint: and then use 'git add/rm ' as hint : appropriate to mark resolution and make a commit, hint: or use 'git commit -a'. fatal: Exiting because of an unresolved conflict.

How can I solve this problem?

jeehoonkang commented 9 years ago

Short answer: follow the hint.

Long answer: Read Git manual and Stack Overflow posts.

rhs0266 commented 9 years ago

Thx! "git commit -a"