Set up a private git repository, locally and remotely, and connect the two.
In a terminal window:
create_git <repo_name>
This creates a folder in your current directory.
- Requires pygithub to access remote repository.
- Add your github token to the create_git.py file where indicated, your user name will automatically be detected if it set in the config files. If not, add the username manually to the create_git.sh file.
- Make sure to set the absolute path of the python script to the shell script.
- give executable permission to the files
In a terminal window:
push_git "commit message"