Skip to content

Instantly share code, notes, and snippets.

@jillro
Last active June 16, 2025 10:18
Show Gist options
  • Select an option

  • Save jillro/72bf459641ea96455afb318e25dd237d to your computer and use it in GitHub Desktop.

Select an option

Save jillro/72bf459641ea96455afb318e25dd237d to your computer and use it in GitHub Desktop.
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