LoginSignup
13
12

More than 5 years have passed since last update.

gitのブランチ移動

Last updated at Posted at 2012-03-16

cd - のように,引数に-を指定すると直前にいたブランチに戻れる

追記:
git co master && git merge - みたいな使い方もできる.便利.
http://twitter.com/#!/jch2355/status/131665048170008576

git co master
git co some-feature
git co - # => masterに移動
git co - # => some-featureに移動
13
12
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
13
12