Created
April 3, 2020 06:52
-
-
Save oksbwn/f7fffd3b10bfd54839c2ddc079ad5cf5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
set /p project="Enter ID: " | |
echo Project name is %project% | |
cd C://Workspace | |
mkdir "%project%" | |
cd "%project%" | |
mkdir Blog Circuit Code Edits Raw Thumbnails Upload | |
mkdir Code\Lib Raw\Images Raw\Videos Raw\Unused Raw\B_Rolls Raw\Screen_Capture | |
cd Code | |
echo Started working on project on %DATE:~10,4%%DATE:~4,2%%DATE:~7,2% %project% > README.md | |
git init | |
git add . | |
git commit -m "Starting the project on %DATE:~10,4%%DATE:~4,2%%DATE:~7,2%" | |
C:\Program^ Files\Portable^ Installations\curl\bin\curl.exe -i -H "Authorization: token ____Replace_eith_your_github_token___" -d "{\"name\": \"%project%\", \"private\": true }" https://api.github.com/user/repos | |
set url_gh=%project: =-% | |
git remote add origin https://github.com/oksbwn/%url_gh% | |
git push -u origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment