Setting up a repository | Git init
Setting up a repository | Git init What is git init ? The git init command is used to create a new Git repository in a project. This initializes an…
Setting up a repository | Git init What is git init ? The git init command is used to create a new Git repository in a project. This initializes an…
Git Clean: Remove Untracked Files What is git clean ? The git clean command is used to remove untracked files and directories from your working dir…
Git Config: Configure Git Settings What is git config ? The git config command is used to configure Git settings, such as your username, email, defa…
Git Status: Check the State of Your Repository What is git status ? The git status command shows the current state of your working directory and sta…
Undoing Changes in Git Sometimes, you need to undo changes in Git—whether it's discarding uncommitted modifications, upstaging files, or rolling …
Git Reset: Undoing Changes in Git The git reset command is a powerful tool that lets you undo commits, unstage files, and reset your working direct…
Rewriting Git History Rewriting history in Git means modifying past commits, changing commit messages, reordering commits, or removing sensitive data…
Git Rebase: A Powerful Way to Rewrite Commit History Git rebase is a way to rewrite commit history by moving or modifying commits. It is often used…
Git Reflog: Recover Lost Commits & Undo Mistakes git reflog (Reference Log) is a lifesaver when you need to recover lost commits, undo mistakes…