From 361ea3aee5bd20c155045c8744fd442ece5a12a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Fri, 20 Jun 2014 18:04:44 +0200 Subject: [PATCH] improved readme --- README.md | 36 +++++++++++++++++++++++++----------- 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 446fdb9..58593f3 100644 --- a/README.md +++ b/README.md @@ -6,15 +6,29 @@ Script for automating the most common git tasks. Usage ----- - # git status - g check - - # git status - # git add --all - # git commit -m "...." - # git push origin master - g send - - # git pull - g pull +**Check status** + +- `git status` + +``` +g check +``` + +**Pull from origin/master** + +- ` 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 +```