Force push current branch
You can use aliases to shorten the command. Use it like this: git config –global alias.fpush “push –force origin” Now to push your branch just type: git fpush feature-mongodb-support Or you can even hardcode the branch name into the command: git alias fpush “push –force origin feature-mongodb-support” and use only git fpush to push your … Read more