-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpush_to_github.sh
More file actions
29 lines (28 loc) Β· 1.08 KB
/
push_to_github.sh
File metadata and controls
29 lines (28 loc) Β· 1.08 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
#!/bin/bash
echo "π¦ Design Patterns Tutorial - GitHub Setup"
echo "========================================"
echo ""
echo "To push this repository to GitHub and test CI/CD:"
echo ""
echo "1. Create a new repository on GitHub:"
echo " π Go to: https://github.com/new"
echo " π Repository name: design-patterns-tutorial (or your choice)"
echo " β οΈ Do NOT initialize with README, .gitignore, or license"
echo ""
echo "2. After creating the repository, run these commands:"
echo ""
echo " # Replace 'yourusername' with your GitHub username"
echo " git remote add origin https://github.com/yourusername/design-patterns-tutorial.git"
echo " git push -u origin main"
echo ""
echo "3. Check CI/CD status:"
echo " π Go to: https://github.com/yourusername/design-patterns-tutorial/actions"
echo " β
You should see the CI/CD pipeline running"
echo ""
echo "4. Update README badges (optional):"
echo " Replace 'yourusername' in README.md with your GitHub username"
echo ""
echo "Current git status:"
git status --short --branch
echo ""
echo "Repository is ready to push! π"