|
|
|
@ -6,15 +6,29 @@ Script for automating the most common git tasks. |
|
|
|
|
Usage |
|
|
|
|
----- |
|
|
|
|
|
|
|
|
|
# git status |
|
|
|
|
**Check status** |
|
|
|
|
|
|
|
|
|
- `git status` |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
g check |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
# git status |
|
|
|
|
# git add --all |
|
|
|
|
# git commit -m "...." |
|
|
|
|
# git push origin master |
|
|
|
|
g send |
|
|
|
|
**Pull from origin/master** |
|
|
|
|
|
|
|
|
|
- ` git pull` |
|
|
|
|
|
|
|
|
|
# git pull |
|
|
|
|
``` |
|
|
|
|
g pull |
|
|
|
|
``` |
|
|
|
|
|
|
|
|
|
**Send to origin/master** |
|
|
|
|
|
|
|
|
|
- `git status` (if no changes, stop here) |
|
|
|
|
- `git add --all` |
|
|
|
|
- `git commit -m "...."` (ask for message) |
|
|
|
|
- `git push origin master` |
|
|
|
|
|
|
|
|
|
``` |
|
|
|
|
g send |
|
|
|
|
``` |
|
|
|
|