git commands
Search by situation · dangerous commands flagged · click to copy
git 명령어 모음
하려는 일로 git 명령어를 찾습니다. 되돌릴 수 없는 명령은 따로 표시
43개 · 누르면 명령어가 복사됩니다.
역사를 다시 쓰는 걸음이 있습니다 — 혼자 쓰는 가지에서만 하세요.
1git commit --amend -m "새 메시지"마지막 커밋을 고쳐 쓴다 · 되돌릴 수 있음
1걸음 — 줄을 누르면 복사됩니다
Find the git command by what you are trying to do. Organized by situation rather than by command name, with the irreversible ones grouped and marked.
How to use it
- Search for what you are trying to do (undo, branch…)
- Narrow it down with the category chips
- Click a command to copy it
Common questions
- Why is it organised by situation rather than command name?
- In git the name and the job rarely match. reset, revert and restore cannot be told apart by name — but ask “what do I want to undo” and only one answer fits.
- What is the difference between reset and revert?
- reset makes the commit as if it never happened; revert adds a new commit that undoes it. On a branch you share with others, revert is safer because it leaves history alone.
- I lost a commit by mistake.
- `git reflog` lists the commits you have recently been on. Find the hash there and go back to it — that usually recovers it.
Other tools
Stays on your device What you enter is handled inside your browser only — nothing is stored or sent anywhere.
This tool page states where what you enter goes — see the badge above. All tools · KarmoLab · Who made this · Built with AI. View source