-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup_github.sh
More file actions
executable file
·58 lines (48 loc) · 1.7 KB
/
Copy pathsetup_github.sh
File metadata and controls
executable file
·58 lines (48 loc) · 1.7 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
50
51
52
53
54
55
56
57
58
#!/bin/bash
# GitHub Repository Setup Script for Rick Roll Hello World
# Run this script to initialize and push your project to GitHub
echo "🚀 Setting up GitHub Repository for Rick Roll Hello World"
echo "======================================================="
# Check if git is installed
if ! command -v git &> /dev/null; then
echo "❌ Git is not installed. Please install Git first."
echo " Visit: https://git-scm.com/downloads"
exit 1
fi
echo "✅ Git is available"
# Check if we're already in a git repository
if [ -d ".git" ]; then
echo "✅ Already a Git repository"
else
echo "📁 Initializing Git repository..."
git init
fi
# Add all files (excluding sensitive ones)
echo "📦 Adding files to Git..."
git add .
# Create initial commit
echo "💾 Creating initial commit..."
git commit -m "🎵 Initial commit: Rick Roll Hello World with dancing Rick Astley
Features:
- Animated 8-bit dancing Rick Astley GIF
- MIDI music playback with silence trimming
- Security-hardened dependencies
- Multiple sharing options (executable, setup script)
- Complete documentation
Never gonna give you up! 🎶"
echo ""
echo "✅ Local Git setup complete!"
echo ""
echo "📋 Next steps to create GitHub repository:"
echo "1. Go to https://github.com and create a new repository"
echo "2. Repository name suggestion: rickroll-hello-world"
echo "3. Don't initialize with README (we already have one)"
echo "4. After creating, run these commands:"
echo ""
echo " git remote add origin https://github.com/YOUR_USERNAME/YOUR_REPO_NAME.git"
echo " git branch -M main"
echo " git push -u origin main"
echo ""
echo "🎉 Then share the GitHub URL with your friends!"
echo ""
echo "🎵 Happy rickrolling! 🎵"