teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

2

追記します

2015/08/04 03:39

投稿

退会済みユーザー
answer CHANGED
@@ -2,4 +2,22 @@
2
2
  - `push`する前に`pull`が必要かと思われます。
3
3
  - `push`先は`master`branchだと思われます。
4
4
  - localの場合、`push`ではなく`merge`かと思われます。
5
- [http://www.backlog.jp/git-guide/stepup/stepup2_4.html](http://www.backlog.jp/git-guide/stepup/stepup2_4.html)
5
+ [http://www.backlog.jp/git-guide/stepup/stepup2_4.html](http://www.backlog.jp/git-guide/stepup/stepup2_4.html)
6
+
7
+ ---
8
+
9
+ これでどうでしょう?
10
+
11
+ 0. git branch -b bugfix master
12
+ 0. git add [修正ファイル]
13
+ 0. git commit -m 'commit message'
14
+ 0. git checkout master
15
+ 0. git merge bugfix
16
+
17
+ 0. masterブランチからbugfixブランチを作成しbugfixブランチをチェックアウト
18
+ 0. 修正ファイルをbugfixブランチでadd
19
+ 0. bugfixブランチでcommit
20
+ 0. masterブランチをチェックアウト
21
+ 0. masterブランチにbugfixブランチでの変更をマージ
22
+
23
+ ---

1

参考になりそうなURL追加します

2015/08/04 03:39

投稿

退会済みユーザー
answer CHANGED
@@ -1,4 +1,5 @@
1
1
  こんにちは。勘違いが無ければ、
2
2
  - `push`する前に`pull`が必要かと思われます。
3
3
  - `push`先は`master`branchだと思われます。
4
- - localの場合、`push`ではなく`merge`かと思われます。
4
+ - localの場合、`push`ではなく`merge`かと思われます。
5
+ [http://www.backlog.jp/git-guide/stepup/stepup2_4.html](http://www.backlog.jp/git-guide/stepup/stepup2_4.html)