DEV Community

Discussion on: 42 Git Questions Answered

Collapse
 
liminal profile image
Karl Åström

I would suggest you should never use --force, instead if you need that functionality use --force-with-lease which requires your remote tracking refs to be up to date

Collapse
 
gonedark profile image
Jason McCreary

Good one. I'll read up more on that and maybe do a follow-up post.