Author: web-admin

0

Chapter 36: Git Revert

Git revert (how to “undo” a commit that has already been pushed to a shared branch — safely) This is the safest and most polite way to undo something that is already public (on...

0

Chapter 37: Git Reset

Git reset This is the command that makes people say: “Git is amazing — I can undo almost anything!” …and five minutes later: “Oh no — I just lost three days of work —...

0

Chapter 38: Git Amend

Git commit –amend (how to fix / improve / replace the very last commit you just made) This is one of the most frequently used “undo/fix” commands in everyday Git work — especially when...

0

Chapter 39: Git Rebase

Git rebase This is the command that separates people who “just use Git” from people who understand Git and can make history look clean, professional, and easy to read years later. Many beginners are...

0

Chapter 40: Git Reflog

Git reflog (also called “the reflog” or “reference log”) This is Git’s personal undo history — a hidden, automatic diary that records every time your HEAD (current position) moved, even when you think you...

0

Chapter 41: Git Recovery

Git Recovery (how to get back almost anything you think you permanently lost or deleted) This is the part that makes Git feel like it has superpowers. Most people only discover how good Git’s...

0

Chapter 42: Git Advanced

Git Advanced is everything that comes after you feel comfortable with those commands and you start asking questions like: “How do I clean up this messy branch before showing it to the team?” “I...

0

Chapter 43: Git Ignore and .gitignore

Git Ignore and the .gitignore file This is one of those things that feels small and boring at first… until the day you accidentally commit your .env file with database passwords, or node_modules/ with...

0

Chapter 44: Git .gitattributes

1. What exactly is .gitattributes? It is a normal text file (just like .gitignore) that lives in your repository (usually in the root). Git reads it automatically and applies special rules to matching files...

0

Chapter 45: Git LFS

Git LFS (Git Large File Storage) This is the tool that solves one of the most painful and most common real-world Git problems: “My repo is 2 GB because of images/videos/PSDs/models and Git is...