Backup Your Git Repository: Lazy Man Method

Intro You don’t need to learn or use Github for “simple” Git repository backups 😎 This method only backs up the repository itself, it is not a valid Disaster Recovery Strategy. If the folder you are backing up to is on the same disk and your original repo, and the disk itself fails…you’re still upContinue reading “Backup Your Git Repository: Lazy Man Method”

Git Merge Conflicts

Merge conflicts can show up when you do a ‘git-merge’ or a ‘git-rebase’: One way you can “anticipate” a git merge is with the ‘diff’ command Here’s some bash pseudo code using command substitution: Remember though ☝️ A diff will always yield results, that’s what a patch is.. The key is when the SAME LINESContinue reading “Git Merge Conflicts”