Facebook
From Harrison, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 212
  1. Command line instructions
  2.  
  3. Git global setup
  4. git config --global user.name "Harrison Chumpitaz"
  5. git config --global user.email "[email protected]"
  6.  
  7. Create a new repository
  8. git clone [email protected]:o-btg/addons_extra.git
  9. cd addons_extra
  10. touch README.md
  11. git add README.md
  12. git commit -m "add README"
  13. git push -u origin master
  14.  
  15. Existing folder
  16. cd existing_folder
  17. git init
  18. git remote add origin [email protected]:o-btg/addons_extra.git
  19. git add .
  20. git commit -m "Initial commit"
  21. git push -u origin master
  22.  
  23. Existing Git repository
  24. cd existing_repo
  25. git remote rename origin old-origin
  26. git remote add origin [email protected]:o-btg/addons_extra.git
  27. git push -u origin --all
  28. git push -u origin --tags