Skip to content

Instantly share code, notes, and snippets.

@lukerollins
Created March 22, 2019 02:23
Show Gist options
  • Select an option

  • Save lukerollins/9f304fa8c673e8c602abfc450420422c to your computer and use it in GitHub Desktop.

Select an option

Save lukerollins/9f304fa8c673e8c602abfc450420422c to your computer and use it in GitHub Desktop.
When you wanna push changes to that forked github repo from its local clone...
Use this to reset my forked repo's master branch git remote set-url origin ' https://github.com/githubname/yourforkhere.git '
Then you can do the whole ' git push origin master ' thing to your forked repo from your local clone of said forked repo.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment