Hacker News new | ask | show | jobs
by globalrev 6353 days ago
I didn't catch how, could you explain?
1 comments

Rename 'origin' to 'github' in .git/config. This is from the 'ENLIGHTENMENT' section in the article.
Or just run the command

git branch -m origin github

Ooops... my bad should have been

git remote rename origin github

Had branches on the mind and didn't catch it till just now and the edit window is closed.

For the most part you can tweak most of the configs via command-line: git branch, git remote, or git config. I switch between those and editing the .git/config directly depending on the scope of the changes.