From bfbe1f03f70f7f7d103468460c9ba080bb13420c Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Mon, 31 Aug 2015 01:37:36 -0700 Subject: [PATCH] rsync all the things in git-sync --- dotfiles/lib/shellenv/git-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/lib/shellenv/git-sync.sh b/dotfiles/lib/shellenv/git-sync.sh index e1bb7bd5..3b42a40e 100644 --- a/dotfiles/lib/shellenv/git-sync.sh +++ b/dotfiles/lib/shellenv/git-sync.sh @@ -6,7 +6,7 @@ function git-sync { # This won't work for branches other than master git rebase origin/master - rsync -t $target/* $destination + rsync -rt $target/* $destination git add . git commit -am "$(date)" git push origin HEAD