feat: Add push command to automate pushing changes to all remotes
This commit is contained in:
8
bin/dotf
8
bin/dotf
@ -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 $@
|
||||
|
Reference in New Issue
Block a user