Command-line shortcuts to make git easier
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Ondřej Hruška fc1b37139f Update 'README.md' pirms 6 gadiem
.gitignore added .gitignore pirms 10 gadiem
LICENSE Initial commit pirms 10 gadiem
README.md Update 'README.md' pirms 6 gadiem
g replace g with the current version pirms 6 gadiem
ghc shortened github-clone to ghc pirms 10 gadiem

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

Add all, commit and push

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. The operation can be canceled without damage by hitting ^C at the commit prompt.

Add all & commit (without 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.

g add

(g commit and g stage are aliases)