回答編集履歴

2

追記します

2015/08/04 03:39

投稿

退会済みユーザー
test CHANGED
@@ -7,3 +7,41 @@
7
7
  - localの場合、`push`ではなく`merge`かと思われます。
8
8
 
9
9
  [http://www.backlog.jp/git-guide/stepup/stepup2_4.html](http://www.backlog.jp/git-guide/stepup/stepup2_4.html)
10
+
11
+
12
+
13
+ ---
14
+
15
+
16
+
17
+ これでどうでしょう?
18
+
19
+
20
+
21
+ 0. git branch -b bugfix master
22
+
23
+ 0. git add [修正ファイル]
24
+
25
+ 0. git commit -m 'commit message'
26
+
27
+ 0. git checkout master
28
+
29
+ 0. git merge bugfix
30
+
31
+
32
+
33
+ 0. masterブランチからbugfixブランチを作成しbugfixブランチをチェックアウト
34
+
35
+ 0. 修正ファイルをbugfixブランチでadd
36
+
37
+ 0. bugfixブランチでcommit
38
+
39
+ 0. masterブランチをチェックアウト
40
+
41
+ 0. masterブランチにbugfixブランチでの変更をマージ
42
+
43
+
44
+
45
+ ---
46
+
47
+

1

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

2015/08/04 03:39

投稿

退会済みユーザー
test CHANGED
@@ -4,4 +4,6 @@
4
4
 
5
5
  - `push`先は`master`branchだと思われます。
6
6
 
7
- - localの場合、`push`ではなく`merge`かと思われます。
7
+ - localの場合、`push`ではなく`merge`かと思われます。
8
+
9
+ [http://www.backlog.jp/git-guide/stepup/stepup2_4.html](http://www.backlog.jp/git-guide/stepup/stepup2_4.html)