Last active
June 16, 2025 10:18
-
-
Save jillro/72bf459641ea96455afb318e25dd237d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias cdd='cd ~/Dev/' | |
| alias app='ap -i inventories/perso_inventory' | |
| alias pw="pwgen -yBn 16" | |
| alias python-build="python3 setup.py sdist bdist_wheel" | |
| alias gis="git status" | |
| alias gico="git checkout" | |
| alias gicm="git commit -s" | |
| alias giap="git add -ip" | |
| alias gm="git checkout main" | |
| function giclean() { | |
| if [[ $(git rev-parse --abbrev-ref HEAD) == ${1-main} ]]; | |
| then | |
| for branch in $(git branch --format "%(refname:short)" --merged | grep -v ${1-main}); | |
| do | |
| git branch -d $branch; | |
| done; | |
| else | |
| echo Not on ${1-main} | |
| fi; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment