Skip to content

Instantly share code, notes, and snippets.

@anubsinha
Last active June 10, 2018 12:16
Show Gist options
  • Select an option

  • Save anubsinha/dcdd7434f2ceb7ad2d1cdac283b564ec to your computer and use it in GitHub Desktop.

Select an option

Save anubsinha/dcdd7434f2ceb7ad2d1cdac283b564ec to your computer and use it in GitHub Desktop.
utility commands for git, github and bitbucket
# create a new repo from the cli
git init
curl -u 'USER' https://api.github.com/user/repos -d '{"name":"REPO"}'
git remote add origin https://github.com/USER/REPO.git
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment