-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhelp.zsh
More file actions
37 lines (36 loc) · 2.97 KB
/
help.zsh
File metadata and controls
37 lines (36 loc) · 2.97 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# ─────────────────────────────────────────────────────────────
# Help / Command List
# ─────────────────────────────────────────────────────────────
# Source: ~/.scripts/help.zsh
# ghelp - show all available git shortcuts
ghelp() {
echo ""
echo "┌──────────────────────────────────────────────────────┐"
echo "│ 📦 Git Shortcuts │"
echo "├──────────────────────────────────────────────────────┤"
echo "│ gs Show git status │"
echo "│ gsw Switch branch │"
echo "│ gcb \"name\" Create and switch to new branch │"
echo "│ gco Checkout branch or file │"
echo "│ gb List branches │"
echo "│ gl Visual git log │"
echo "│ gd Show git diff │"
echo "│ gaa Stage all changes (git add .) │"
echo "│ commit \"msg\" Stage all + commit with message │"
echo "│ push Push current branch to origin │"
echo "│ pull Pull current branch from origin │"
echo "│ drop Discard all uncommitted changes │"
echo "│ uncommit Undo last commit, keep changes │"
echo "│ dropcommit Undo last commit, delete changes │"
echo "├──────────────────────────────────────────────────────┤"
echo "│ 🤖 AI-Powered │"
echo "├──────────────────────────────────────────────────────┤"
echo "│ sum Generate AI commit summary │"
echo "│ cws Commit with AI summary (confirm) │"
echo "│ cwsp Commit with AI summary + push │"
echo "├──────────────────────────────────────────────────────┤"
echo "│ ghelp Show this help │"
echo "│ chelp Show utility commands (reload etc) │"
echo "└──────────────────────────────────────────────────────┘"
echo ""
}