Skip to content

josefpihrt/gitalias

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitalias

Summary

Essential goal of Gitalias is to turns git command into shortest possible sequence of characters (an alias) where the alias does not have to be remembered but it can be mnemotechnically derived from the full command.

Documentation

https://josefpihrt.github.io/docs/gitalias

Usage

Usage Example

Implement feature on a new branch

git th                 # reset --hard
git sm                 # switch main
git l                  # pull
git sc feature/foo     # switch --create feature/foo
                       # Implement feature ...
git aa                 # add --all
git cm "Implement foo" # commit --message "Implement foo"

Create and Merge PR

Use GitHub CLI or web UI ...

Clean feature branch

git sm              # switch main
git l               # pull
git opo             # remote prune origin
git bdf feature/foo # branch --delete --force feature/foo

Releases

No releases published

Packages

No packages published