-
Notifications
You must be signed in to change notification settings - Fork 3
Contributing: Adding Changes on a new Branch
Thomas Vandal edited this page Dec 11, 2020
·
1 revision
The master branch is locked so no changes can be pushed to it directly. The two options below are available to edit the repository.
- Make sure current branch (master) is up to date (
>> git pull origin master
) - Make a new branch (
>> git checkout -b my_new_branch
) - Edit a file(s) (may need to add them via
>> git add my_filename
) - Commit change (
>> git commit -m "this is why I did this commit"
) - Push to your branch (
>> git push origin my_new_branch
) - When ready to "submit" changes to the master you can create a pull request (in GitHub) and someone else can accept it
- Edit a file
- Commit change to new branch (click
Create a new branch for this commit and start a pull request. Learn more about pull requests.
) - Click "propose changes"