1

I messed some config files up and need to get so that my git repos will push pull by default to master on github. I get this message the below code as a hint on what to fix and i understand it except for the <refspec> under [remote "<nickname>"] what goes here?

[branch "master"] remote = <nickname> merge = <remote-ref> [remote "<nickname>"] url = <url> fetch = <refspec> 

1 Answer 1

3

This should do it:

[remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = [email protected]:<user_name>/<repo_name>.git [branch "master"] remote = origin merge = refs/heads/master 
Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.