Posts about Teams

Share knowledge: you'll learn, teach, and work with code you might have missed. Often you understand the code better at the end of a pairing session becuase each of you were asking "why?" more than when you work alone.

Git's push --force is destructive because it unconditionally overwrites the remote repository with whatever you have locally, possibly overwriting any changes that a team member has pushed in the meantime. However there is a better way; the option --force-with-lease can help when you do need to do a forced push but still ensure you don't overwrite other's work.