From 9e3bfed53ced0ce2970710338863f811759c8d67 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Wed, 22 Jan 2020 16:02:10 +0900 Subject: [PATCH] Added usage documentation for sync_default_gems --- tool/sync_default_gems.rb | 8 ++++++++ 1 file changed, 8 insertions(+) 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