In .git/hooks/post-commit :
From the terminal to native desktop apps—what actually works on a Linux dev desktop. If you’ve used GitHub for more than a week, you know the basics: git add , git commit , git push . But on Linux, the experience can go much deeper than that. While macOS and Windows get polished GitHub Desktop clients, Linux users often end up living in the terminal—which isn’t a bad thing, but it’s not the only thing. desktop github linux
alias gs='git status' alias gaa='git add --all' alias gc='git commit -m' alias gl='git log --oneline --graph --all' alias gp='git push' alias gpl='git pull --rebase' And my favorite: git undo – a global alias that resets the last commit but keeps changes. you know the basics: git add