This comes out of an irritation I faced personally, when I was first learning to code - setting up my local repo and syncing with Github
Download the Script
https://github.com/hassanaftab93/Repository-Automation/blob/main/script.sh
Make the script executable
chmod +x script.sh
Run the script
sh script.sh
If You have already created your PERSONAL ACCESS TOKEN in GitHub then Enter it in the prompt when the script requests it. Otherwise, Create your PERSONAL ACCESS TOKEN and then Enter it
https://github.com/settings/tokens
Script will ask you to enter a Link for a Template Repo of your choice, Enter the link. Otherwise, Press Enter without any Input
https://github.com/user/publicTemplateRepository
Enter Repo Name Without spaces
test-Repo
Enter Repository Description
This is a sample repo description.
Enter your GitHub Username
octocat / user-dev
Enter the Directory of your Projects Folder
/D/Folder/Projects
The Script will now Make a Repo Folder inside the Projects Folder directory that you passed in, as well as Remotely Make a new Repository using REPO_NAME,DESCRIPTION that you passed in.
Click here to learn more about: Contributions