feat: Add push command to automate pushing changes to all remotes

This commit is contained in:
2024-08-27 20:52:24 +02:00
parent a087ffe7b0
commit 63a1948551
2 changed files with 37 additions and 0 deletions

View File

@ -23,6 +23,10 @@ secrets() {
$HOME/dotfiles/bin/actions/secrets.sh $@
}
push() {
$HOME/dotfiles/bin/actions/push.sh $@
}
ensure_git_hooks() {
# If ~/dotfiles/.git/hooks is a symlink, skip this
if [[ -L ~/dotfiles/.git/hooks ]]; then
@ -50,6 +54,10 @@ case $1 in
logo
update $@
;;
"push")
logo continue
push $@
;;
"status")
logo continue
status $@