Search code examples
githubgithub-for-windows

Is there a force push option in GitHub Desktop?


Using version 1.0.4, I can't find any force push option. Is command line the only way to use force?

Can't push and Can't pull


Solution

  • Yes you can do

    git push origin <your_branch_name> --force

    Update!

    This option worked hence accepted answer but no longer works in later versions of Git.