diff options
author | typebrook <typebrook@gmail.com> | 2020-03-30 01:06:38 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-03-30 01:06:38 +0800 |
commit | 6e61157b434a44cee00893f82fd5fee15812ff7f (patch) | |
tree | 5071b38ed28b2cdf045b72be686adaba42960409 | |
parent | f2be2e0ed117559507ac75a6c522b5e6ffdc1395 (diff) |
Fetch in background when 'gist push' is performed
-rwxr-xr-x | gist | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 | ||