DevStudio

Text & Code

Diff CheckerJSON BeautifierJWT ToolsEncoder / DecoderEncrypt / DecryptJS Playground

Files

Image EditorPDF Editor & Merger

Network

Webhook TesterSSH Manager

Databases

MySQLPostgreSQL

Communication

Email ToolTemp Mail

Utilities

Lat/Long PickerNotes & Docs

Learn

GuidesArticles

Games

Games
Sign in

Git Articles

All articles

How to Use git cherry-pick to Apply a Specific Commit

git cherry-pick applies the changes from one specific commit onto your current branch, without merging the entire branch it came from.

How to Use git stash to Save Uncommitted Changes

git stash temporarily shelves uncommitted changes so you can switch branches cleanly, then restore them later with git stash pop.

Why Is .gitignore Not Working? How to Fix It

gitignore only affects untracked files — if a file is already committed, adding it to .gitignore won't stop Git from tracking it. Learn how to fix it.

What Does "Detached HEAD" Mean in Git?

A detached HEAD means you've checked out a specific commit instead of a branch. Learn what it means, why it happens, and how to save work made in this state.

Git Merge vs Rebase — What's the Difference?

git merge preserves history with a merge commit; git rebase rewrites your branch's commits onto a new base for a linear history. Learn when to use each.

How to Undo or Revert the Last Git Commit

Undo the last git commit with git reset (keeping or discarding changes) or git revert (creating a new commit that undoes it) — learn when to use each.