LoginSignup
28

More than 5 years have passed since last update.

git-flow童貞のためのメモ featureブランチ編

Last updated at Posted at 2013-02-08
brew install git-flow

でインストール

導入したいレポジトリで

git flow init

設定は各々

git flow feature start pokopoko

feature/pokopokoブランチの作成(featureブランチは新機能作成用のブランチ)

addとcommitはgitと同じ
(git add pokopoko, git commit -m 'pokopoko change')

リモートブランチをつくりたいとき

git flow feature publish pokopoko

でremoteにpush+trackされる

pullしたいとき

git flow feature pull origin pokopoko

作業が終わってmergeしたいとき

git flow feature finish pokopoko

(最初の設定で設定したdevelopmentブランチにmergeされ,feature/pokopokoは削除される)

続編はあるのだろうか

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
28