A bash script to automate the process of creating and initializing GitHub repositories. This script streamlines the workflow of setting up new GitHub projects by handling both local and remote repository creation.
- Create new GitHub repositories
- Initialize local Git repositories
- Set up SSH keys for GitHub authentication
- Configure Git user information
- Link local and remote repositories
- Installation option for system-wide availability
-
Clone this repository:
git clone https://github.com/peterweissdk/github_init.git
-
Make the script executable:
chmod +x github_init.sh
-
Run the script:
./github_init.sh
-
Optional: Install the script system-wide:
./github_init.sh --install
-i, --install
: Install the script system-wide-u, --update-version
: Update the script version-v, --version
: Display current version-h, --help
: Show help message
github_init/
├── .git
├── LICENSE
├── README.md
└── github_init.sh
Contributions are welcome! Please feel free to submit a Pull Request.
If you encounter any issues or need support, please file an issue on the GitHub repository.
This project is licensed under the GNU GENERAL PUBLIC LICENSE v3.0 - see the LICENSE file for details.