Loading…
Loading…
Generate complex Git commands with visual interface. Supports branching, rebasing, cherry-pick.
Loading tool...
Remove ads and work faster? Go Premium.
Unlock PremiumCompare two texts side by side and see additions, removals using LCS algorithm.
Developer ToolsBuild cron expressions visually with human-readable descriptions and upcoming run times.
Developer ToolsChoose from common regex patterns or build your own with real-time testing.
Developer ToolsGenerate .gitignore files by selecting languages and frameworks. Combine templates and download instantly.
git initCreate a new local repository
git clone <url>Clone a remote repository
git config --global user.name "<name>"Configure your name
git config --global user.email "<email>"Configure your email
git statusShow working tree status
git add <file>Add file to staging area
git add .Add all changes to staging
git commit -m "<message>"Commit staged changes
git commit -am "<message>"Stage and commit all changes
git branchList local branches
git branch <name>Create a new branch
git checkout <branch>Switch to a branch
git checkout -b <name>Create and switch to branch
git branch -d <name>Delete a branch
git merge <branch>Merge branch into current
git remote add origin <url>Add a remote repository
git remote -vList remote repositories
git push origin <branch>Push to remote
git push -u origin <branch>Push and set upstream
git pull origin <branch>Pull from remote
git fetchFetch remote changes
git logShow commit history
git log --onelineCompact commit history
git log --graph --oneline --allVisual branch history
git diffShow unstaged changes
git diff --stagedShow staged changes
git reset HEAD <file>Unstage a file
git checkout -- <file>Discard local changes
git reset --soft HEAD~1Undo last commit, keep changes
git reset --hard HEAD~1Undo last commit, discard changes
git revert <commit>Create commit that undoes changes
git stashStash working changes
git stash listList all stashes
git stash applyApply most recent stash
git stash popApply and remove stash
git stash dropRemove most recent stash