Git Resources
Over time, I’ve compiled a list of useful Git resources that have helped me understand and use Git effectively. This post serves as a reference for myself and others looking for guidance on Git commands, branching, merging, and more. If you’re interested in a practical collection of Git commands for everyday use, check out my Git Commands post, where I’ve listed essential commands and their use cases.
📌 Git Basics
- Learn the Basics of Git in Under 10 Minutes (freecodecamp.org)
- 3.2 Git Branching - Basic Branching and Merging (git-scm.com)
🔀 Working with Branches
- How To Create a Git Branch – devconnected
- Working with Branches in Git and GitHub – The New Stack
🔄 Fetch, Merge, and Rebase
- git: fetch and merge, don’t pull - Mark’s Blog
- Merging vs. Rebasing - Atlassian Git Tutorial
- Git rebase, git merge and fast-forward - Stack Overflow
🚧 Managing Tracked Files and Ignored Files
- How can I make Git “forget” about a file that was tracked, but is now in .gitignore? - Stack Overflow
- Git: Stop Tracking File After Adding to .gitignore (stackabuse.com)
- Git update-index –skip-worktree, and how I used to hate config files - compiled successfully
⏳ Resetting, Reverting, and Cleaning History
- How To Git Reset to HEAD – devconnected
- Clean GIT history — a Step by Step Guide - Catalina Turlea
- Cleaning up commit history with git rebase - Richard Miles
- How (and why!) to keep your Git commit history clean - GitLab
🔥 Stashing and Advanced Git Usage
- Git Stash and Git Rebase. When to use them and how to handle… - Sean LaFlam
- Part 2: Stashing and Rebasing in Git - DEV Community
- The Advanced Git Guide - Toptal
🛠 Miscellaneous Git Tricks
- How to tidy up your merge requests with Git - GitLab
- git - how to delete all commit history in GitHub? - Stack Overflow
- How can I make git show a list of the files that are being tracked? - Stack Overflow Search: “git restore previous commit”
- How do I revert a Git repository to a previous commit? - Stack Overflow
git reset --hard HEAD~4
What is Git fast-forwarding? - Stack Overflow
This list will continue to evolve as I explore and learn more about Git. I plan to update it regularly to keep it relevant.