-
-
Save doppiomacchiatto/37c6c69dcd17ae4e9f8175ca03636e19 to your computer and use it in GitHub Desktop.
Bitbucket create/init and add remote
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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