Command-line shortcuts to make git easier
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ondřej Hruška bca6e8b4a8 improved readme 11 years ago
.gitignore added .gitignore 11 years ago
LICENSE Initial commit 11 years ago
README.md improved readme 11 years ago
g removed "origin master" to allow working with other branches 11 years ago
ghc shortened github-clone to ghc 11 years ago

README.md

lazy-git

Script for automating the most common git tasks. If you are lazy, this may be for you :)

Usage

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

With LazyGit:

g check

Pull from origin

Commands you want:

  • git pull

With LazyGit:

g pull

Commit and push to origin

Commands you want:

  • git status (if no changes, stop here)
  • git add --all
  • git commit -m "...." (ask for message)
  • git push

With LazyGit:

g send

g send is interactive, it shows you the changes and prompts for a message.