Digging things up…
Digging things up…
Git commands organised by workflow — setup, staging, branching, merging, rebasing and remote.
Developer Tools
Encoders, formatters, validators and generators that run entirely in your browser. Whatever you paste stays on your machine — nothing is sent to a server.
Related developer tools
Encode text to Base64 or decode Base64 back to text. Supports URL-safe encoding and Unicode. Runs entirely in your browser — nothing is sent to any server.
Use tool →{ }Format, validate, and minify JSON with clear error messages. Choose 2-space, 4-space, or tab indentation. Client-side only — your data never leaves the browser.
Use tool →🔑Create cryptographically secure passwords with full control over length and character sets.
Use tool →🔗Encode special characters in URLs or decode percent-encoded strings — instantly in your browser.
Use tool →Explore more from Dino Media: All Free Tools · Our Services · Digital Glossary · Our Work
Web Development
From custom web apps to complex integrations, our development team builds fast, robust websites that scale with your business.
git initInitialise a new local repository.git clone <url>Clone a remote repository locally.git clone --depth 1 <url>Shallow clone — only the latest commit.git config --global user.name "Name"Set your global author name.git config --global user.email "email"Set your global author email.git statusShow the working tree status.git log --oneline --graphCompact branch graph log.git diffShow unstaged changes.git diff --stagedShow staged (indexed) changes.git show <commit>Show details of a specific commit.git add .Stage all changes in the current directory.git add -pInteractively stage hunks.git restore --staged <file>Unstage a file without losing changes.git commit -m "message"Commit staged changes with a message.git commit --amendEdit the last commit message or add more changes.git commit --amend --no-editAmend last commit keeping the message.git branchList local branches.git branch -aList all branches including remote-tracking.git branch <name>Create a new branch.git branch -d <name>Delete a merged branch.git branch -D <name>Force-delete a branch regardless of merge state.git switch <branch>Switch to an existing branch.git switch -c <name>Create and switch to a new branch.git merge <branch>Merge a branch into the current branch.git merge --no-ff <branch>Always create a merge commit (no fast-forward).git merge --squash <branch>Squash all commits from branch into one staged change.git rebase <branch>Rebase current branch onto another.git rebase -i HEAD~<n>Interactive rebase on the last n commits.git rebase --abortAbort an in-progress rebase.git rebase --continueContinue after resolving conflicts.git remote -vList remotes with their URLs.git remote add origin <url>Add a remote named origin.git fetchDownload changes without merging.git pullFetch and merge (or rebase) from remote.git pull --rebaseFetch and rebase instead of merge.git push origin <branch>Push a branch to the remote.git push -u origin <branch>Push and set upstream tracking.git push --force-with-leaseSafer force-push — fails if someone else pushed.git stashStash current changes.git stash popApply and drop the latest stash.git stash listList all stashes.git stash apply stash@{n}Apply a specific stash without dropping it.git stash drop stash@{n}Delete a specific stash.git tag v1.0.0Create a lightweight tag at HEAD.git tag -a v1.0.0 -m "msg"Create an annotated tag.git push origin --tagsPush all tags to remote.git reset HEAD~1Undo the last commit, keep changes staged.git reset --hard HEAD~1Undo and discard the last commit's changes.git revert <commit>Create a new commit that undoes a previous commit.git restore <file>Discard unstaged changes in a file.git clean -fdRemove untracked files and directories.git cherry-pick <commit>Apply a specific commit onto the current branch.git bisect startBegin binary search to find a bug-introducing commit.git blame <file>Show who last modified each line of a file.git reflogShow the history of HEAD — useful for recovery.git worktree add <path> <branch>Check out a branch into a new directory (worktree).