Skip to content

Instantly share code, notes, and snippets.

@GoodGuyGregory
Last active September 21, 2020 15:36
Show Gist options
  • Save GoodGuyGregory/6b8f04844a89e2f1c4eafea938379985 to your computer and use it in GitHub Desktop.
Save GoodGuyGregory/6b8f04844a89e2f1c4eafea938379985 to your computer and use it in GitHub Desktop.
Hub Commands

Common Hub Commands

create a repo to host a new project on GitHub

git init
git add .
git commit -m "And so, it begins."
hub create
→ (creates a new GitHub repository with the name of the current directory)
git push -u origin HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment