Git-commands - Temporary e-mail blog !

Dive into the world of knowledge without taking yourself too seriously. From the demystification of complex subjects to jokes that defy convention, we're here to rattle your brain and bring a wry smile to your face. đŸ€“đŸ€Ł

How to Merge and Update Main Branch in VS 2019
Mia Chevalier
19 May 2024
How to Merge and Update Main Branch in VS 2019

This guide addresses how to manage Git branches in Visual Studio 2019. Specifically, it explains how to merge a secondary branch into the main branch, resolve conflicts, and delete the secondary branch. If you encounter issues like the "Already up to date" message or need to handle merge conflicts, this guide provides step-by-step instructions for both command-line and GUI methods.

How to Recover After a 'git push -f' Mistake
Mia Chevalier
19 May 2024
How to Recover After a 'git push -f' Mistake

Undoing a git push -f mistake can be daunting, especially when critical commits are lost. This guide explains how to use tools like git reflog and GitHub's activity log to recover those lost commits. The article also covers scripts in Bash and Python to automate the recovery process.

How to Correctly Force a Git Push
Mia Chevalier
25 April 2024
How to Correctly Force a Git Push

Handling Git operations, especially when it comes to updates that are rejected due to non-fast-forward errors, can be tricky. This discussion sheds light on practical solutions and best practices, emphasizing the importance of understanding the mechanics behind Git commands like push and force.