improved readme

master
Ondřej Hruška 11 years ago
parent 9a15340035
commit bca6e8b4a8
  1. 40
      README.md

@ -2,33 +2,59 @@ lazy-git
======== ========
Script for automating the most common git tasks. Script for automating the most common git tasks.
If you are lazy, this may be for you :)
Usage Usage
----- -----
**Check status** **Clone github repo**
Commands you want:
- `git clone https://github.com/MightyPork/lazy-git`
With LazyGit:
```
ghc MightyPork/lazy-git
```
**Check git status**
Commands you want:
- `git status` - `git status`
With LazyGit:
``` ```
g check g check
``` ```
**Pull from origin/master** **Pull from origin**
Commands you want:
- ` git pull` - ` git pull`
With LazyGit:
``` ```
g pull g pull
``` ```
**Send to origin/master** **Commit and push to origin**
Commands you want:
- `git status` (if no changes, stop here) - `git status` (if no changes, stop here)
- `git add --all` - `git add --all`
- `git commit -m "...."` (ask for message) - `git commit -m "...."` (ask for message)
- `git push origin master` - `git push`
With LazyGit:
``` ```
g send g send
``` ```
`g send` is interactive, it shows you the changes and prompts for a message.

Loading…
Cancel
Save