-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup-git.sh
More file actions
49 lines (43 loc) · 1.32 KB
/
setup-git.sh
File metadata and controls
49 lines (43 loc) · 1.32 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
49
#!/bin/bash
echo "🔧 Setting up Git repository for Claude Code History MCP"
echo "========================================================="
echo ""
echo "GitHub User: tim0120"
echo "Author: Timothy Kostolansky"
echo ""
# Initialize git if not already done
if [ ! -d ".git" ]; then
echo "Initializing git repository..."
git init
echo "✅ Git repository initialized"
else
echo "✅ Git repository already exists"
fi
# Set local git config for this repo
echo ""
echo "Setting git config for this repository..."
git config user.name "Timothy Kostolansky"
git config user.email "39891386+tim0120@users.noreply.github.com"
echo "✅ Git config set"
# Add all files
echo ""
echo "Adding files to git..."
git add .
# Show status
echo ""
echo "📋 Git status:"
git status --short
echo ""
echo "✅ Repository ready!"
echo ""
echo "Next steps:"
echo "1. Review the staged files above"
echo "2. Commit your changes:"
echo " git commit -m \"Initial commit: Claude Code History MCP v1.0.0\""
echo "3. Create repository on GitHub:"
echo " https://github.com/new"
echo " Name: claude-code-history-mcp"
echo "4. Add remote and push:"
echo " git remote add origin https://github.com/tim0120/claude-code-history-mcp.git"
echo " git branch -M main"
echo " git push -u origin main"