aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-30 01:06:38 +0800
committertypebrook <typebrook@gmail.com>2020-03-30 01:06:38 +0800
commit6e61157b434a44cee00893f82fd5fee15812ff7f (patch)
tree5071b38ed28b2cdf045b72be686adaba42960409
parentf2be2e0ed117559507ac75a6c522b5e6ffdc1395 (diff)
Fetch in background when 'gist push' is performed
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index b3ddff2..6c7443c 100755
--- a/gist
+++ b/gist
@@ -571,7 +571,7 @@ _push_to_remote() {
571 git add . && git commit -m 'update' 571 git add . && git commit -m 'update'
572 fi 572 fi
573 if [[ -n $(git cherry) ]]; then 573 if [[ -n $(git cherry) ]]; then
574 git push origin master && _fetch_gists 574 git push origin master && (_fetch_gists &> /dev/null &)
575 fi 575 fi
576} 576}
577 577