Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save doppiomacchiatto/37c6c69dcd17ae4e9f8175ca03636e19 to your computer and use it in GitHub Desktop.
Save doppiomacchiatto/37c6c69dcd17ae4e9f8175ca03636e19 to your computer and use it in GitHub Desktop.
Bitbucket create/init and add remote
$ mkdir /path/to/your/project
$ cd /path/to/your/project
$ git init
$ git remote add origin https://[email protected]/USERNAME/project.git
Create a new repository on the command line
touch README.md
git init
git add README.md
git commit -m "first commit"
git remote add origin [email protected]:rolandinsh/empropwp.git
git push -u origin master
Push an existing repository from the command line
git remote add origin https://github.com/rolandinsh/empropwp.git
git push -u origin master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment