= 1024) {
$event.preventDefault();
const i = slugs.indexOf($wire.preview);
const next = $event.key === 'ArrowDown' ? Math.min(i + 1, slugs.length - 1) : Math.max(i - 1, 0);
if (next !== i && slugs[next]) $wire.openPreview(slugs[next]);
}
">
Installation Guides
11
Knowledge Base
308 copy-ready commands with fill-in variables, plus step-by-step installation guides.
/
Categories
21 results
= 1024) { $event.preventDefault(); $wire.openPreview('git-init-repo') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-init-repo') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Initialize a New Repository
git init -b main
#git
#init
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-status-log') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-status-log') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Check Status and Recent Log
git status
#git
#status
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-add-commit') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-add-commit') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Stage and Commit Changes
git add {{files}}
#git
#add
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-push-branch') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-push-branch') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Push Branch to Remote
git push -u {{remote}} {{branch}}
#git
#push
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-pull-rebase') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-pull-rebase') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Pull with Rebase
git pull --rebase {{remote}} {{branch}}
#git
#pull
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-merge-branch') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-merge-branch') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Merge a Branch into Current
git checkout {{target_branch}}
#git
#merge
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-delete-branch') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-delete-branch') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Delete a Branch
git branch -d {{branch}}
#git
#delete
4 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-rebase-interactive') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-rebase-interactive') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Interactive Rebase (Squash Commits)
git rebase -i HEAD~{{commit_count}}
#git
#rebase
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-diff-staged') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-diff-staged') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Show Staged and Unstaged Diffs
git diff
#git
#diff
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-tag-release') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-tag-release') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Create and Push a Release Tag
git tag -a {{tag_name}} -m "{{message}}"
#git
#tag
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-reset-file') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-reset-file') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Discard Changes in a File
git checkout -- {{file}}
#git
#discard
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-log-file-history') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-log-file-history') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
View Commit History of a File
git log --oneline --follow {{file}}
#git
#log
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-blame-file') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-blame-file') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Show Who Changed Each Line
git blame {{file}}
#git
#blame
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-remote-add') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-remote-add') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Add a Remote Repository
git remote add {{remote_name}} {{remote_url}}
#git
#remote
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-fetch-prune') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-fetch-prune') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Fetch and Prune Deleted Remote Branches
git fetch --all --prune
#git
#fetch
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('generate-github-ssh-key') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('generate-github-ssh-key') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Generate SSH key for GitHub
ssh-keygen -t ed25519 -C "{{email}}" -f ~/.ssh/id_ed25519_github && echo '--- CO...
#git
#github
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-clone-ssh') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-clone-ssh') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Clone repository via SSH
git clone git@github.com:{{owner}}/{{repo}}.git
#git
#clone
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-create-branch') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-create-branch') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Create and switch to new branch
git checkout main && git pull && git checkout -b {{branch_name}}
#git
#branch
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-stash-apply') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-stash-apply') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Git Stash and Apply
git stash push -m "{{message}}"
#git
#stash
3 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-cherry-pick') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-cherry-pick') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Git Cherry-pick a Commit
git cherry-pick {{commit_hash}}
#git
#cherry-pick
4 views
0 copies
= 1024) { $event.preventDefault(); $wire.openPreview('git-undo-last-commit') }"
class="absolute inset-0 z-0 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-500">
= 1024) { $event.preventDefault(); $wire.openPreviewWithPicker('git-undo-last-commit') }"
class="absolute top-2 end-2 z-10 p-1.5 rounded-md transition text-gray-300 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 hover:text-amber-400"
title="Save to collection">
Git & GitHub
Undo Last Git Commit (Keep Changes)
git reset --soft HEAD~1
#git
#reset
3 views
0 copies