[前][次][番号順一覧][スレッド一覧]

ruby-changes:60900

From: Hiroshi <ko1@a...>
Date: Sat, 25 Apr 2020 12:15:23 +0900 (JST)
Subject: [ruby-changes:60900] c2700379ad (master): `git co` is alias of `git checkout`

https://git.ruby-lang.org/ruby.git/commit/?id=c2700379ad

From c2700379add15f8b0e13072a19cabc2cd5957c43 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Sat, 25 Apr 2020 12:15:01 +0900
Subject: `git co` is alias of `git checkout`


diff --git a/tool/sync_default_gems.rb b/tool/sync_default_gems.rb
index 4451a4e..504c3b1 100644
--- a/tool/sync_default_gems.rb
+++ b/tool/sync_default_gems.rb
@@ -446,12 +446,12 @@ def update_default_gems(gem) https://github.com/ruby/ruby/blob/trunk/tool/sync_default_gems.rb#L446
     end
     `git fetch ruby-core master --no-tags`
     unless `git branch`.match(/ruby\-core/)
-      `git co ruby-core/master`
+      `git checkout ruby-core/master`
       `git branch ruby-core`
     end
-    `git co ruby-core`
+    `git checkout ruby-core`
     `git rebase ruby-core/master`
-    `git co master`
+    `git checkout master`
     `git fetch origin master`
     `git rebase origin/master`
   end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]