9926 shaares
255 private links
255 private links
git config --global alias.squashbranch '! f() { git rebase -i $(git merge-base HEAD $1); }; f'
Then use it with git squashbranch origin/master
git config --global alias.squashbranch '! f() { git rebase -i $(git merge-base HEAD $1); }; f'
Then use it with git squashbranch origin/master