From 79e42c2f646ed71cce3870e8105ce000013c3a57 Mon Sep 17 00:00:00 2001 From: Valentin Gehrke Date: Thu, 8 Oct 2015 09:22:17 +0200 Subject: [PATCH] Split --- scripts/dotfiles.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/scripts/dotfiles.sh b/scripts/dotfiles.sh index 7bd06fb..eecd410 100755 --- a/scripts/dotfiles.sh +++ b/scripts/dotfiles.sh @@ -31,9 +31,14 @@ command_add() { echo "$file added in $DOTFILES_DIR/$savepoint" } -command_sync() { +command_pull() { cd $DOTFILES_DIR - git push; git pull + git pull +} + +command_push() { + cd $DOTFILES_DIR + git push } command_help() {