DEV Community

Discussion on: Workflow Automation in Git with Basic Commands

Collapse
 
_shahroznawaz profile image
Shahroz Nawaz

Hi that -f for the forced push otherwise it can be used simple as "git push origin master"

Collapse
 
codingcardio profile image
codingcardio

You shouldn't be telling beginners to use force at all.

Thread Thread
 
_shahroznawaz profile image
Shahroz Nawaz

Thanks I've updated the command.