aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authortypebrook <typebrook@gmail.com>2020-03-27 17:37:57 +0800
committertypebrook <typebrook@gmail.com>2020-03-27 17:37:57 +0800
commit1925a8e126a054b5021425122b45739a99053b44 (patch)
treebc7004a3a257eeb38ec7277b5340c2836983fd12
parent0de701d8e545393b4ce818cb703010f9ae2ec27b (diff)
Fetch gists after doing 'git push'
-rwxr-xr-xgist2
1 files changed, 1 insertions, 1 deletions
diff --git a/gist b/gist
index 3805f09..daf57ad 100755
--- a/gist
+++ b/gist
@@ -559,7 +559,7 @@ _push_to_remote() {
559 git add . && git commit -m 'update' 559 git add . && git commit -m 'update'
560 fi 560 fi
561 if [[ -n $(git cherry) ]]; then 561 if [[ -n $(git cherry) ]]; then
562 git push origin master 562 git push origin master && _fetch_gists
563 fi 563 fi
564} 564}
565 565