Update 'README.md'
This commit is contained in:
@@ -1,13 +1,12 @@
|
|||||||
lazy-git
|
# 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 :)
|
If you are lazy, this may be for you :)
|
||||||
|
|
||||||
Usage
|
## Usage
|
||||||
-----
|
|
||||||
|
|
||||||
**Clone github repo**
|
### Clone github repo
|
||||||
|
|
||||||
Commands you want:
|
Commands you want:
|
||||||
|
|
||||||
@@ -19,7 +18,7 @@ With LazyGit:
|
|||||||
ghc MightyPork/lazy-git
|
ghc MightyPork/lazy-git
|
||||||
```
|
```
|
||||||
|
|
||||||
**Check git status**
|
### Check git status
|
||||||
|
|
||||||
Commands you want:
|
Commands you want:
|
||||||
|
|
||||||
@@ -31,7 +30,7 @@ With LazyGit:
|
|||||||
g check
|
g check
|
||||||
```
|
```
|
||||||
|
|
||||||
**Pull from origin**
|
### Pull from origin
|
||||||
|
|
||||||
Commands you want:
|
Commands you want:
|
||||||
- ` git pull`
|
- ` git pull`
|
||||||
@@ -42,7 +41,7 @@ With LazyGit:
|
|||||||
g pull
|
g pull
|
||||||
```
|
```
|
||||||
|
|
||||||
**Commit and push to origin**
|
### Add all, commit and push
|
||||||
|
|
||||||
Commands you want:
|
Commands you want:
|
||||||
|
|
||||||
@@ -58,10 +57,9 @@ g send
|
|||||||
```
|
```
|
||||||
|
|
||||||
`g send` is interactive, it shows you the changes and prompts for a message.
|
`g send` is interactive, it shows you the changes and prompts for a message.
|
||||||
|
The operation can be canceled without damage by hitting ^C at the commit prompt.
|
||||||
|
|
||||||
**Commit without push**
|
### Add all & commit (without push)
|
||||||
|
|
||||||
Commands you want:
|
|
||||||
|
|
||||||
This is like `g send`, but without pushing the result. Use `g push` or `git push`
|
This is like `g send`, but without pushing the result. Use `g push` or `git push`
|
||||||
to send your new commits to the server.
|
to send your new commits to the server.
|
||||||
@@ -70,3 +68,4 @@ to send your new commits to the server.
|
|||||||
g add
|
g add
|
||||||
```
|
```
|
||||||
|
|
||||||
|
(`g commit` and `g stage` are aliases)
|
||||||
|
|||||||
Reference in New Issue
Block a user