Skip to content

Script for automating the most common git tasks. Don't waste time!

License

Notifications You must be signed in to change notification settings

onovaes/lazy-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

lazy-git

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

Install

Clone the repo

git clone https://github.com/onovaes/lazy-git.git

Make a alias in .profile (MAC) or .bash_aliases (LINUX) file. Eg:

alias g='~/Documents/Sites/lazy-git/g' 

Usage

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.

Check git status

Commands you want:

  • git status

With LazyGit:

g status

Pull from origin

Commands you want:

  • git pull

With LazyGit:

g pull

Last commit log

Commands you want:

  • git log -1

With LazyGit:

g log

About

Script for automating the most common git tasks. Don't waste time!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages