How do you properly pull to a new branch in git using github? -


hello trying pull someones updates new branch in our project. had stuff working on stashed , created new branch. once created new branch did git pull origin <branch_name>

then got error:

error: there problem editor '/usr/local/bin/subl -w'. 

it tells me merge branch continue, nervous messing friend's work merging. can explain me best way avoid problem, can fix error?

much appreciated, thank you.

the error getting related core.editor setting. in .gitconfig file have section looks this

[core]     editor = '/usr/local/bin/subl -w' 

but git not succeed in spawning editor using command. should make sure editor setting points working editor. simplest way remove entire setting , let git use default. should work.

you can inspect .gitconfig settings using command

git config --list 

your git settings created number of different files, in different places depending on os. see the man page starters.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -