gitでブランチきってマージするまで

時々ど忘れしてしまうので、自分用にメモ。

> git branch 
* develop
  master
> git checkout -b feature/specHoge
Switched to a new branch 'feature/specHoge'

# なんやかんや

> git checkout develop
Switched to branch 'develop'
> git merge feature/specHoge --no-ff
Merge made by the 'recursive' strategy.
 hoge.txt | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 hoge.txt
  • ポイント

マージするとき--no-ffを忘れない