Compare commits
4 Commits
54fe5aa16a
...
d745903161
Author | SHA1 | Date | |
---|---|---|---|
d745903161 | |||
ec5fc20ae5 | |||
dda8e881de | |||
ce736c7d9a |
@ -147,19 +147,6 @@ function grb {
|
|||||||
git rebase --interactive HEAD~$1
|
git rebase --interactive HEAD~$1
|
||||||
}
|
}
|
||||||
|
|
||||||
function grbm {
|
|
||||||
# Save current branch
|
|
||||||
BRANCH=$(git branch | grep \* | cut -d ' ' -f2)
|
|
||||||
|
|
||||||
# Checkout master & pull
|
|
||||||
git checkout master
|
|
||||||
git pull
|
|
||||||
|
|
||||||
# Back to previous branch
|
|
||||||
git checkout ${BRANCH}
|
|
||||||
git rebase --interactive master
|
|
||||||
}
|
|
||||||
|
|
||||||
function grbi {
|
function grbi {
|
||||||
# Save current branch
|
# Save current branch
|
||||||
BRANCH=$(git branch | grep \* | cut -d ' ' -f2)
|
BRANCH=$(git branch | grep \* | cut -d ' ' -f2)
|
||||||
@ -187,11 +174,6 @@ function ga {
|
|||||||
git rebase --interactive --autosquash HEAD~$1
|
git rebase --interactive --autosquash HEAD~$1
|
||||||
}
|
}
|
||||||
|
|
||||||
function gam {
|
|
||||||
git autofixup master
|
|
||||||
git rebase --interactive --autosquash master
|
|
||||||
}
|
|
||||||
|
|
||||||
function gai {
|
function gai {
|
||||||
# Save parent branch
|
# Save parent branch
|
||||||
PARENT=$(git_parent)
|
PARENT=$(git_parent)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user