github - merge from another repo git -


i cloned project git , did changes , want import changes done on original repo , keep changes in same time ! added new remote :

git add remote original_repo

git fetch original_repo

git checkout -b branch_for_merge original_repo/master

the problem when : git status

i can't find changed files , gives me :

nothing commit, working directory clean 

what should find changes , resolve conflicts , merge branch ?

git checkout -b branch_for_merge original_repo/master

this makes branch_for_merge point same commit original_repo/master , makes no sense @ all.

what want (assuming did work on local master branch):

git checkout master    # sure git pull original_repo master 

this fetch changes original_repo (no-op since did yourself) , git merge original_repo/master you. benefit on git fetch ; git merge original/repo_master more helpfull commit message (which can edit of course).


Comments

Popular posts from this blog

Spring Boot + JPA + Hibernate: Unable to locate persister -

go - Golang: panic: runtime error: invalid memory address or nil pointer dereference using bufio.Scanner -

c - double free or corruption (fasttop) -