-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpush_to_github.sh
More file actions
48 lines (38 loc) · 1.51 KB
/
push_to_github.sh
File metadata and controls
48 lines (38 loc) · 1.51 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
38
39
40
41
42
43
44
45
46
47
48
#!/bin/zsh
# HandMatrix — Push to GitHub
# Run this from Terminal: bash push_to_github.sh
set -e
REPO_DIR="$(cd "$(dirname "$0")" && pwd)"
REMOTE_URL="https://github.com/RishvinReddy/HandMatrix.git"
echo "📁 Repo: $REPO_DIR"
cd "$REPO_DIR"
echo "🔍 Git status..."
git status
# Add remote if not already set
if ! git remote | grep -q origin; then
echo "🔗 Adding remote origin..."
git remote add origin "$REMOTE_URL"
else
echo "🔗 Remote already set. Updating URL..."
git remote set-url origin "$REMOTE_URL"
fi
echo "📦 Staging all changes..."
git add -A
echo "✏️ Creating commit..."
git commit -m "docs: upgrade README with Mermaid diagrams, tables, and full documentation
- Added 8 types of Mermaid charts (flowchart, sequenceDiagram, gantt, pie, mindmap, stateDiagram, xychart, quadrantChart)
- Full dependency table with versions and purposes
- Complete gesture library with detection logic table
- System architecture (C4 context, component diagram)
- Data flow pipeline with latency budget
- Mode feature matrix (5 modes × 12 features)
- Performance metrics benchmarks
- Competitive comparison vs Leap Motion, Kinect, Eye Gaze
- Challenge mitigation table with status
- Development roadmap Gantt chart (v1.0 → v4.0)
- Contributing flowchart and guidelines
- AI integration section (Gemini role breakdown)
- Use cases mindmap and learning outcomes table" || echo "Nothing new to commit"
echo "🚀 Pushing to GitHub..."
git push -u origin master || git push -u origin main
echo "✅ Done! Visit: $REMOTE_URL"