We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64cb250 commit 78cc223Copy full SHA for 78cc223
episodes/08-rebase.md
@@ -162,6 +162,26 @@ goes wrong during the rebase:
162
$ git branch add_plot_script.backup
163
```
164
165
+If at anytime you want to restore the branch
166
+from your backup switch to the backup:
167
+
168
+```bash
169
+$ git switch add_plot_script.backup
170
+```
171
172
+Delete the branch where rebasing was attempted:
173
174
175
+$ git branch -D add_plot_script
176
177
178
+Re-create the original branch while still
179
+on the backup branch:
180
181
182
+$ git switch -c add_plot_script
183
184
185
:::
186
187
We will rebase interactively using the `-i` flag.
0 commit comments