This series of tutorials provides the fundamentals about Git and GitHub.
- 1Git: How to Display Images in the Readme.md File?
- 2Why you must learn Git to get a developer job
- 3Does a Solo Developer Need Git? Understanding Version Control for Single Dev Projects
- 4How to set up Git on Windows
- 5How to set up Git on Mac
- 6How to Configure Git Name and Email
- 7The ‘git init’ command: How to create a new Git repository
- 8The ‘git status’ command: How to check the status of your Git repository
- 9How to add a file to the staging area in Git
- 10Git: Adding all files in the current directory to the staging area
- 11How to exclude files from being tracked by Git
- 12[Git] How to see and delete the .git folder
- 13The Git Commit Command: Tutorial & Examples
- 14Git: How to remove a file from the staging area
- 15Git: How to Undo a Commit
- 16Git: How to undo a ‘git add’ command (unstage files)
- 17Git: How to see commit history (git log)
- 18How to View, Create, and Switch Git Branches: A Complete Guide
- 19What is HEAD in Git? Explained with Examples
- 20Git: How to Delete and Rename Branches
- 21How to switch Git branch with unstaged changes
- 22Merging Git branches: A practical guide with examples
- 234 Ways to Solve Git Merge Conflicts
- 24Git: How to compare different versions of a file
- 25Git: How to view working tree changes with ‘git diff’
- 26Git: How to compare changes between branches
- 27Git: How to compare changes across commits
- 28Git Stash Command: The Complete Guide
- 29How to discard local changes in Git (unstage modified files)
- 30How to check out an old commit in Git
- 31How to re-attach HEAD to a previous Git commit
- 32How to revert Git commit
- 33GitHub and Remote Repositories: A Beginner’s Guide
- 34Understanding the ‘git clone’ command (with examples)
- 35Mastering the ‘git push’ Command (With Examples)
- 36‘git pull’ and ‘git fetch’ explained (with examples)
- 37Git: Pull and Merge Changes from a Remote Repository
- 38Working with Remote Branches in Git: A Developer’s Guide
- 39Git commands: A comprehensive cheat sheet (with examples)
- 40Working with the Readme.md file in Git and GitHub
- 41Git Rebasing: A Practical Guide (with Examples)
- 42How to Clean Up Git History with Interactive Rebase
- 43Working with Git Tags: A Complete Guide (with Examples)
- 44Understanding Git Reflog: The Ultimate Guide
- 45Where is the Git config file located?
- 46Using ‘–amend’ option with git commit (with examples)
- 47Using the ‘–force’ and ‘–force-with-lease’ options with git push
- 48Using ‘git reset –hard’ to undo local changes (with examples)
- 49How to instruct Git stop tracking a file that was recently added to .gitignore
- 50Git: How to remove a very large file from commit history
- 51How to manually edit Git history (rebase -i)
- 52How to update the author of a Git commit
- 53How to clone only a subdirectory from a Git repository
- 54How to add an empty folder to a Git repository
- 55Deleting sensitive files from Git history with BFG Repo-Cleaner
- 56Git Fatal Error: ‘Refusing to Merge Unrelated Histories’
- 57How to merge two Git repositories into one (not two branches)
- 58Git Worktree: A Practical Guide (with Examples)
- 59Git .gitignore: Excluding a folder but including a subfolder
- 60Working with Git submodules: A practical guide (with examples)
- 61Git Pull Error: ‘unable to update local ref’ (4 solutions)
- 62Solving Git Push Error: ‘failed to push some refs’ (3 ways)
- 63Git Checkout Error: ‘pathspec did not match any file(s) known to git’ (6 solutions)
- 64Git: How to revert a specific file to an old version
- 65How to safely change the URL of a remote Git repository
- 66Git Error: ‘src refspec master does not match any’ – How to Fix (3 solutions)
- 67Fixing GitHub Error: Support for password authentication was removed
- 68Deleting local files from the current Git working tree
- 69How to undo a Git merge (reset to pre-merge state)
- 70Solving Git error – refusing to update checked out branch: refs/heads/master (4 solutions)
- 71Git: How to check out a new remote branch
- 72Fixing Git Error: Permission denied (publickey) – 4 solutions
- 73Git: How to clone only a specific remote branch
- 74Git: How to ignore file mode (chmod) changes
- 75Git: How to commit and push unchanged files (to trigger some actions)
- 76Git Pre-Commit Hook: A Practical Guide (with Examples)
- 77Git Pre-Rebase Hook: A Practical Guide (with Examples)
- 78Git Post-Checkout Hook: A Developer’s Guide (with Examples)
- 79Git Post-Merge Hook: The Ultimate Guide (with Examples)
- 80Git Pre-Push Hook: A Practical Guide (with Examples)
- 81Git Post-Receive Hook: A Practical Guide (with Examples)
- 82Git Update Hooks: The Complete Guide (with Examples)
- 83How to undo ‘git rebase’ (with examples)
- 84How to remove a file from Git repo but keep it locally
- 85Fixing Git Error: Host Key Verification Failed (3 Solutions)
- 86How to filter commits by author in Git log
- 87How to filter commits by message in Git log
- 88Explaining ‘git rebase –preserve-merges’ with examples
- 89How to set up your own private Git server on Ubuntu
- 90How to encrypt sensitive files in Git with GPG (API keys, passwords, etc.)
- 91Exploring the ‘git rebase –onto’ command (with examples)
- 92Understanding the ‘git rev-parse –abbrev-ref HEAD’ command (with examples)
- 93Explaining the ‘git add -p’ command (with examples)
- 94How to tweak Git commit timestamps (author and committer dates)
- 95Git error: ‘git is not recognized as an internal or external command’
- 96How to Fetch/Pull All Git Branches
- 97Git cherry-picking: A detailed tutorial (with examples)
- 98Git: What is .DS_Store and should you ignore it?
- 99How to execute Git commands through SSH
- 100Git: How to safely rename the current working directory
- 101Git fatal error: The remote end hung up unexpectedly
- 102How to Undo a ‘git reset –hard’ Command
- 103How to undo a Git revert (reset to pre-revert state)