A Tool that automatically commits 1 Line of the Bee Movie Script everyday using Python and crontab
git credential-manager github login
--> Add the Token in the "Token" Tab
git credential-manager github login --no-ui
--> Enter "3" To Add a Token
--> Paste the Token
git config --global user.name "Your Name"
git config --global user.email "[email protected]"
git config --global credential.helper store
git credential-cache exit
git credential-store --file ~/.git-credentials store
echo "https://<USERNAME>:<YOUR_TOKEN>@github.com" >> ~/.git-credentials
Generate:
pip freeze > requirements.txt
Install:
pip install -r requirements.txt
crontab -e
0 15 * * * /usr/bin/python3 /path/to/main.py
(Commit happens at 15.00 Hours everyday)