aquaballoon

GIT

Jun 7th, 2013
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.57 KB | None | 0 0
  1. <<Install Git>>
  2. sudo apt-get install git
  3. git config --global user.name "FIRST_NAME LAST_NAME"
  4. git config --global user.email "[email protected]"
  5.  
  6. <<Clone your new repo>>
  7. mkdir /path/to/your/project
  8. cd /path/to/your/project
  9. git init
  10. git remote add origin https://aquaballoon@bitbucket.org/aquaballoon/test.git
  11.  
  12.  
  13. <<Make changes and push>>
  14. echo "# This is my README" >> README.md
  15. git add README.md
  16. git commit -m "First commit. Adding a README."
  17. git push -u origin master
  18.  
  19. git add . # add all files and directory
  20. git commit -m "Adding source"
  21. git push -u origin master
Advertisement
Add Comment
Please, Sign In to add comment