Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. $ git config --global --get user.name
  2. Your Name Here
  3. $ git config --global --get user.email
  4. your_email@someplace.com
  5.  
  6. $ git config [--global] user.name "Your Name"
  7. $ git config [--global] user.email "your_email@somplace.com"
  8.  
  9. $ git remote -v
  10. $ git remote add origin git@bitbucket.org:youruid/yourrepo.git
  11.  
  12. $ git push
  13.  
  14. fatal: The current branch master has no upstream branch.
  15. To push the current branch and set the remote as upstream, use
  16.  
  17. git push --set-upstream origin master
  18.  
  19. $ git add -u
  20. $ git commit [-v]
  21. ...
  22. $ git push
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement