Skip to content

Ragnis/ggoto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

ggoto

ggoto is a helper for quickly navigating between Git branches.

Examples:

# Fetch branch "foo" from origin, update the local "foo" branch, and
# finally checkout it:
ggoto foo

# Same as above, but acts on the currently checked out branch.
ggoto

# Fetch origin/foo and checkout it:
ggoto origin/foo

After checking out a branch, ggoto will also perform some additional actions:

  • If there is a package.json file, and it changed during checkout, then ggoto executes npm i.

  • If there is a composer.json file, and it changed during checkout, then ggoto executes composer install. If the file did not change, then ggoto executes composer dumpautoload.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages