Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. git init
  2. git config --global user.name "dgad"
  3. git config --global email.name "sa@saf.com"
  4. git checkout -- filename
  5. git add filename && git add .
  6. git diff filename
  7. git reset HEAD filename
  8. git commit && git commit -m
  9. git log && git log --online && git log --online | cat
  10. git reset hash
  11. .gitignore
  12. git branch newbranchname
  13. git checkout branchname
  14. git branch -m currentbranchname newbranchname
  15. git branch -d branchname
  16. git remote add origin "git_url"
  17. git push -u origin master
  18. git clone "git_url"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement