If you wish to contribute bugfixes or code to the BOSL2 project, the standard way is thus:
-
Install command-line git on your system and configure authentication.
-
Alternatively, you can install GitHub Desktop.
-
Go to the main BOSL2 GitHub repo page: https://github.com/BelfrySCAD/BOSL2/
-
Fork the BOSL2 repository by clicking on the Fork button.
-
Clone your fork of the BOSL2 repository to your local computer:
-
If using the command-line:
git clone [email protected]:YOURLOGIN/BOSL2.git cd BOSL2 git remote add upstream https://github.com/BelfrySCAD/BOSL2.git
-
If using GitHub Desktop:
- File -> Clone Repository...
- Select your BOSL2 repository.
- Click the Clone button.
- When it asks "How are you planning to use this fork?", click on the button "To contribute to the parent project."
-
-
Before you edit files, always synchronize with the upstream repository:
- If using the command-line:
git pull upstream
- If using GitHub Desktop, click on the Fetch Origin button.
- If using the command-line:
-
Make changes in the source code that you want to make.
-
Commit the changes files to your repo:
-
If using the command-line:
git add --all git commit -m "COMMIT DESCRIPTION" git pull upstream git push
-
If using GitHub Desktop:
- Select all changed files you want to commit.
- Enter the summary for the commit.
- Click on the Commit button.
- Click on the Push Origin button.
-
-
Go to your GitHub BOSL2 repo page.
-
Click on the
Pull Request
button, enter the description, then create the PR. -
If a change you made fails to pass the regressions or docs validations, this will be noted at the bottom of your Pull Request page, and you will get an email about it.