summaryrefslogtreecommitdiff
path: root/tool/sync_default_gems.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2020-01-22 16:02:10 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-01-22 16:02:10 +0900
commit9e3bfed53ced0ce2970710338863f811759c8d67 (patch)
tree0c255269cf42f01b633924020ad54e15064504eb /tool/sync_default_gems.rb
parentcdaae38f79345bfb4604c98f915c6e12593b6a57 (diff)
Added usage documentation for sync_default_gems
Diffstat (limited to 'tool/sync_default_gems.rb')
-rw-r--r--tool/sync_default_gems.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 7044f1e21c..03db90eb45 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -1,5 +1,13 @@
# sync following repositories to ruby repository
#
+# Usage:
+# git clone from the upstream repository and copy from the upstream repository with cp -rf. It's lost the git commits.
+# $ ruby tool/sync_default_gems.rb rubygems
+# pick the single commit from the upstream repository.
+# $ ruby tool/sync_default_gems.rb rubygems 97e9768612
+# pick the commits range from the upstream repository
+# $ ruby tool/sync_default_gems.rb rubygems 97e9768612..9e53702832
+#
# * https://github.com/rubygems/rubygems
# * https://github.com/rubygems/bundler
# * https://github.com/ruby/rdoc