mirror of
https://codeberg.org/vlw/dotfiles.git
synced 2026-02-26 10:42:03 +01:00
feat(git): add alias for undoing the last git commit
This commit is contained in:
parent
61e0e59df8
commit
1b04151774
1 changed files with 2 additions and 0 deletions
|
|
@ -6,6 +6,8 @@ alias n="nano"
|
||||||
alias phpa="sudo update-alternatives --config php"
|
alias phpa="sudo update-alternatives --config php"
|
||||||
# Restart all code-server processes. Sometimes it hangs on first startup
|
# Restart all code-server processes. Sometimes it hangs on first startup
|
||||||
alias restart_vscode="sudo systemctl restart code-server@vlw.service"
|
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 |
|
# | Directory & Files |
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue