From 8e1c581da49d5a664fe729c1d0e6967e110a19a3 Mon Sep 17 00:00:00 2001 From: Victor Westerlund Date: Tue, 31 Mar 2026 12:14:50 +0200 Subject: [PATCH] style(bash): move git alias to git section and top section heading --- .bash_aliases | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.bash_aliases b/.bash_aliases index 17ce87e..a5e59fc 100644 --- a/.bash_aliases +++ b/.bash_aliases @@ -1,3 +1,7 @@ +# +---------+ +# | General | +# +---------+ + # I'm lazy alias e="exit" alias n="nano" @@ -6,8 +10,6 @@ alias n="nano" alias phpa="sudo update-alternatives --config php" # Restart all code-server processes. Sometimes it hangs on first startup alias restart_vscode="sudo systemctl restart code-server@vlw.service" -# Force undo and unstage the last commit from git and git remote -alias gitundo="git reset HEAD^ && git push origin +HEAD" # +-------------------+ # | Directory & Files | @@ -180,6 +182,9 @@ mvf () { # | Git | # +-----+ +# Force undo and unstage the last commit from git and git remote +alias gitundo="git reset HEAD^ && git push origin +HEAD" + # Short-hands for various git functions gitf () { case "$1" in