Skip to content
Snippets Groups Projects
Commit a8b97dfb authored by Daniel Duarte's avatar Daniel Duarte
Browse files

move rebase -i examples into intro

parent da9006ab
No related branches found
No related tags found
No related merge requests found
## Interactive Rebasing
```bash
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
```
......@@ -5,4 +5,13 @@ git rebase -i <branch>
```
* Enables more precise control over the rebased commits
* Before committing many actions are at disposal
\ No newline at end of file
* Before committing many actions are at disposal
```bash
# p, pick = use commit
# r, reword = use commit, but edit the commit message
# e, edit = use commit, but stop for amending
# s, squash = use commit, but meld into previous commit
# f, fixup = like "squash", but discard this commit's log message
# x, exec = run command (the rest of the line) using shell
```
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment