You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 19, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: README.mdown
+21-21Lines changed: 21 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -109,7 +109,7 @@ preferably in a Github fork, of course.
109
109
110
110
To initialize a new repo with the basic branch structure, use:
111
111
112
-
git flow init [-d]
112
+
git flow init [-d]
113
113
114
114
This will then interactively prompt you with some questions on which branches
115
115
you would like to use as development and production branches, and how you
@@ -124,40 +124,40 @@ The ``-d`` flag will accept all defaults.
124
124
125
125
* To list/start/finish/delete feature branches, use:
126
126
127
-
git flow feature
128
-
git flow feature start <name> [<base>]
129
-
git flow feature finish <name>
130
-
git flow feature delete <name>
127
+
git flow feature
128
+
git flow feature start <name> [<base>]
129
+
git flow feature finish <name>
130
+
git flow feature delete <name>
131
131
132
132
For feature branches, the `<base>` arg must be a branch, when omitted it defaults to the develop branch.
133
133
134
134
* To push/pull a feature branch to the remote repository, use:
135
135
136
-
git flow feature publish <name>
137
-
git flow feature track <name>
136
+
git flow feature publish <name>
137
+
git flow feature track <name>
138
138
139
139
* To list/start/finish/delete release branches, use:
140
140
141
-
git flow release
142
-
git flow release start <release> [<base>]
143
-
git flow release finish <release>
144
-
git flow release delete <release>
141
+
git flow release
142
+
git flow release start <release> [<base>]
143
+
git flow release finish <release>
144
+
git flow release delete <release>
145
145
146
146
For release branches, the `<base>` arg must be a branch, when omitted it defaults to the develop branch.
147
147
148
148
* To list/start/finish/delete hotfix branches, use:
149
149
150
-
git flow hotfix
151
-
git flow hotfix start <release> [<base>]
152
-
git flow hotfix finish <release>
153
-
git flow hotfix delete <release>
150
+
git flow hotfix
151
+
git flow hotfix start <release> [<base>]
152
+
git flow hotfix finish <release>
153
+
git flow hotfix delete <release>
154
154
155
155
For hotfix branches, the `<base>` arg must be a branch, when omitted it defaults to the production branch.
156
156
157
157
* To list/start support branches, use:
158
158
159
-
git flow support
160
-
git flow support start <release> <base>
159
+
git flow support
160
+
git flow support start <release> <base>
161
161
162
162
For support branches, the `<base>` arg must be a branch, when omitted it defaults to the production branch.
163
163
@@ -167,21 +167,21 @@ You can easily publish a feature you are working on. The reason can be to allow
167
167
168
168
When you want to publish a feature just use:
169
169
170
-
git flow feature publish <name>
170
+
git flow feature publish <name>
171
171
172
172
or, if you already are into the `feature/<name>` branch, just issue:
173
173
174
-
git flow feature publish
174
+
git flow feature publish
175
175
176
176
Now if you execute `git branch -avv` you will see that your branch `feature/<name>` tracks `[origin/feature/<name>]`. To track the same remote branch in another clone of the same repository use:
177
177
178
-
git flow feature track <name>
178
+
git flow feature track <name>
179
179
180
180
This will create a local feature `feature/<name>` that tracks the same remote branch as the original one, that is `origin/feature/<name>`.
181
181
182
182
When one developer (depending on your work flow) finishes working on the feature he or she can issue `git flow feature finish <name>` and this will automatically delete the remote branch. All other developers shall then run:
183
183
184
-
git flow feature delete <name>
184
+
git flow feature delete <name>
185
185
186
186
to get rid of the local feature that tracks a remote branch that no more exist.
0 commit comments