回答編集履歴
2
追記します
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追加します
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)
|