Knowledge Base

308 copy-ready commands with fill-in variables, plus step-by-step installation guides.

Installation Guides 11

Categories

Installation Guides (11)

Tags

10 results

Git Advanced

Save and Restore a Named Stash

# Save with a name
#git #stash
4 views 0 copies
Git Advanced

Cherry-Pick a Commit or Range onto Another Branch

# Cherry-pick a single commit
#git #cherry-pick
4 views 0 copies
Git Advanced

Binary Search for a Bug with git bisect

# Start bisect
#git #bisect
4 views 0 copies
Git Advanced

Recover a Lost Commit with reflog

# Show all recent HEAD positions
#git #reflog
4 views 0 copies
Git Advanced

Work on Two Branches Simultaneously with Worktrees

# Create a new worktree for a branch
#git #worktree
3 views 0 copies
Git Advanced

Pretty Git Log Graph (One-line)

git log --oneline --graph --decorate --all -n {{limit}}
#git #log
3 views 0 copies
Git Advanced

Initialize and Update Git Submodules

# Clone with submodules
#git #submodule
3 views 0 copies
Git Advanced

Fixup a Previous Commit Before Push

# Stage the fix
#git #fixup
3 views 0 copies
Git Advanced

Create a Tarball from a Git Branch

git archive --format=tar.gz --output={{output_file}} {{branch}}
#git #archive
3 views 0 copies
Git Advanced

Move a Branch with git rebase --onto

# Move commits from {{old_base}} to {{new_base}}
#git #rebase
4 views 0 copies