DEV Community

Discussion on: 42 Git Questions Answered

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

gonedark profile image
Jason McCreary Author

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