Skip to content

Commit d5de4cf

Browse files
added git rebase
Signed-off-by: ivan katliarchuk <[email protected]>
1 parent ff158c0 commit d5de4cf

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

git/readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ git submodule deinit -f vendor/bash-it
1515
rm -rf .git/modules/vendor/bash-it
1616
git rm -f vendor/bash-it
1717
```
18+
19+
Rebase
20+
21+
```
22+
git -c sequence.editor="code --wait --reuse-window" rebase -i HEAD~ # add `.` to rebase the last commit or number of commits
23+
```

shell/aliase/git

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,3 +83,5 @@ _git_tag_it() {
8383
}
8484

8585
alias g.tagit='_git_tag_it' # tag + message
86+
87+
alias g.rbs='git -c sequence.editor="code --wait --reuse-window" rebase -i HEAD~' # add `.` to rebase the last commit or number of commits

0 commit comments

Comments
 (0)