-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Ryunosuke O'Neil edited this page Apr 21, 2020
·
7 revisions
Welcome to the STMDAQ wiki!
-
Fork this repository ('Fork' button in top right)
-
git cloneyour fork andcdto it:
git clone git@github.com:<your username>/STMDAQ.git
cd STMDAQ- Add the main repository as a remote:
git remote add mu2e git@github.com:mu2e/STMDAQ.git
Not working? SSH authentication problems? See here.
- In your local clone of your fork, create a new branch off master.
cd STMDAQ
git checkout -b my-feature master
# 'publish' your branch
git push -u origin my-feature- Make changes, commits, etc...
# add files you wish to commit
git add <files>
# when you're ready to commit changes
git commit -m "<commit message>"
# make sure your changes are pushed to your fork
git push-
Open a Pull Request from your fork branch to the Mu2e/STMDAQ master branch here.
-
PR merged? Great - however, don't reuse the same branch! Do this and start over from step 1.
git checkout master
# bring your fork up-to-date with mu2e/master
git pull mu2e master
# go back to step oneThis workflow is based on the workflow at the mu2e wiki..