memory
/center
◐
/
✎
NOTES
◐
COMMANDS
⌘K
+ CAPTURE
⌂
◐
◎
⌁
BROWSE
108 notes
Filter notes
/
Enter opens the top match. Use /regex/i for patterns.
▸
Software Enginner
1
▸
Linux
15
▸
Docker
32
▸
Git
24
▸
Kubernetes
16
▸
Markdown
5
▸
GitHub Actions
15
▾
RECENT
Fix bugs or Add features
docker system prune
curl API testing: repeat 100×, load & timing
Install .deb files & alternative install methods (Ubuntu)
⌂
Home
◐
Search
☰
Library
◎
Graph
TAG
TAG
#git
All types
Command
Procedure
Concept
Reference
All collections
Basics
Branching & Merging
History & Undo
History Rewriting
Inspect & Compare
Merging
Release
Remote
Remotes & Sync
Submodules
Tags & Releases
24 of 24
Reference
3 weeks ago
Compare branches & commits
The commands for 'is this branch ahead/behind', 'what's the common ancestor', and 'what will merging this actually bring in' — gathered in one place instead of re-derived from log/diff each time.
Reference
3 weeks ago
Git submodules & linking repositories
Concept
3 weeks ago
Merge vs rebase conflict strategies — ours vs theirs
"ours" and "theirs" mean opposite things depending on whether you're merging or rebasing — because rebase replays your own commits as if they were incoming patches onto a different HEAD. Every combination, in one place.
Procedure
last month
Open a pull request
Push a branch, then ask for it to be reviewed and merged — using the GitHub CLI so it never leaves the terminal.
Procedure
3 weeks ago
Release on git tag
Push a vX.Y.Z tag and let GitHub Actions test, publish a versioned image to GHCR and create a GitHub Release with generated notes and attached binaries.
Procedure
last month
Resolve a merge conflict
Git stops and asks you to decide when the same lines were changed on both sides. Here's the sequence that gets you out cleanly.
Command
3 weeks ago
git add
Stages changes moves them from your working directory into the snapshot that the next commit will record.
Command
3 weeks ago
git am
Applies patches produced by `git format-patch` as real commits, preserving the original author, date, and message — the classic 'email a patch' workflow, still used for offline or cross-repo patch exchange.
Command
last month
git branch & switch
Branches are cheap, disposable pointers to a commit. Create one per feature or fix and switch between them freely.
Command
3 weeks ago
git cherry-pick
Applies one or more specific commits from anywhere onto the current branch, without merging or rebasing the whole line they came from.
Command
last month
git clone
Copies a remote repository — full history included — into a new local directory and wires up 'origin' automatically.
Command
last month
git commit
Records the staged snapshot as a new point in history, with a message explaining why, not just what.
← PREV
PAGE 1 / 2
NEXT →
#git · Knowledge & Memory Center