diff --git a/doc/Git仓库优化-上线补充.docx b/doc/Git仓库优化-上线补充.docx new file mode 100644 index 000000000..89627f155 Binary files /dev/null and b/doc/Git仓库优化-上线补充.docx differ diff --git a/lib/tasks/git_post_update.rake b/lib/tasks/git_post_update.rake index 18ed4fbc8..9dd6357f3 100644 --- a/lib/tasks/git_post_update.rake +++ b/lib/tasks/git_post_update.rake @@ -28,5 +28,10 @@ update end end + desc "disabled auto change refresh." + task :disable_refresh_changes => :environment do + Setting.find(44).tap{|s| s.value=0; s.save} + end + end \ No newline at end of file