Created
February 28, 2018 14:55
-
-
Save anwas/e9d0c63b6ebb52c67e2c5406178ad895 to your computer and use it in GitHub Desktop.
[BitBucket project initialize on local machine] #git #bitbucket
This file contains hidden or 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
| # Existing local project | |
| #Step 1: Switch to your repository's directory | |
| cd /path/to/your/repo | |
| # Step 2: Connect your existing repository to Bitbucket | |
| git remote add origin https://aivaras_n@bitbucket.org/pavbiblioteka/theme_pankrastas.git | |
| git push -u origin master | |
| # From scratch | |
| git clone https://aivaras_n@bitbucket.org/pavbiblioteka/theme_pankrastas.git | |
| cd theme_pankrastas | |
| echo "# My project's README" >> README.md | |
| git add README.md | |
| git commit -m "Initial commit" | |
| git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment