...
Now if you check on github, your changes should be present inside the branch you made.
Copying library files to another branch for PRs
Sometimes if multiple people are working with the library, it may be more convenient to put your changes in a separate branch and commit that. This allows you to break up your pull requests into smaller changes without constantly switching branches. After pushing your changes to their old branch, create a new branch and switch to that branch with this command
Code Block | ||
---|---|---|
| ||
git checkout -b <new-branch-name>
git checkout <old-branch-name> altium-lib/Schematic\ Diagrams.SchLib
git status (You should now see the SchLib file under modified)
git commit -m'List all the library changes'
git push --set-upstream origin <new-branch-name> |
Pull Requests
Pull requests are used to approve the changes that you made in your branch before merging that into the master branch. This will usually be done at a board review if it's a new PCB design. If it's a simple change that does not warrant a review, you may also contact a hardware lead on HipChat who can approve your PR.
...