Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- git init
- git config --global user.name "dgad"
- git config --global email.name "sa@saf.com"
- git checkout -- filename
- git add filename && git add .
- git diff filename
- git reset HEAD filename
- git commit && git commit -m
- git log && git log --online && git log --online | cat
- git reset hash
- .gitignore
- git branch newbranchname
- git checkout branchname
- git branch -m currentbranchname newbranchname
- git branch -d branchname
- git remote add origin "git_url"
- git push -u origin master
- git clone "git_url"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement