-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgithub-sync.ps1
More file actions
28 lines (26 loc) · 891 Bytes
/
github-sync.ps1
File metadata and controls
28 lines (26 loc) · 891 Bytes
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
cd D:/GitHub/LocalRepo
git init
echo "# KLJWTech" >> README.md
git config --global --add safe.directory D:/GitHub/LocalRepo
git add README.md
git branch -M main
git remote add origin https://github.com/JB0710/KLJWTech.git
git config set advice.addEmptyPathspec false
git add
git config --global user.email "jonathan.wood@kljwtech.dev"
git config --global user.name "Jonathan Wood"
git commit -m "Initial commit"
git push -u origin main
cd D:/GitHub/NOCpinger
git init
#echo "# KLJWTech" >> README.md
git config --global --add safe.directory D:/GitHub/NOCpinger
#git add README.md
git branch -M main
git remote add origin https://github.com/JB0710/NOC-Dashboard-NOCpinger-.git
git config set advice.addEmptyPathspec false
git add
git config --global user.email "jonathan.wood@kljwtech.dev"
git config --global user.name "Jonathan Wood"
git commit -m "Initial commit"
git push -u origin main