GitHubΒΆ
pip install sphinx-github-changelog
In GitHub when creating a new repo its good practice:
Make it private
Require a pull request to be created before code can be merged to main branch
Require approvals of pull requests
Warning
Pull request authors cannot approve their own pull requests.
To create a new repository in GitHub and then from the command line:
>> git init
>> git add .
>> git commit -m "first commit"
>> git branch -M main
>> git remote add origin https://github.com/samkhalilian/blog.git
>> git push -u origin main
Once a repo has been created clone the repo:
>> cd Z:/
>> git clone <https://github.com/<username>/<repo>.git
To commit changes to this repo:
>> git checkout -b feature/<feature>
>> # make same changes
>> git add .
>> git commit -m "<comment>"
>> git push --set-upstream origin feature/<feature>
In GitHub approve and merge pull requests.