Detailed documentation on hutch python can be found here: https://pcdshub.github.io/hutch-python/v1.18.4/index.html
Version controlled and collaborative coding with git
- ECS-3738Getting issue details... STATUS
MFX python git repository | |
---|---|
local | /reg/g/pcds/pyps/apps/hutch-python/mfx |
remote |
|
Development workflow
1. First you need to have a local version of the repository and checkout the run21 branch
git clone git@github.com:pcdshub/mfx.git # download repo locally from remote git fetch --all # optional, just to be sure you can checkout the remote branch run21 git checkout run21 # now you're working on branch run21
2. Every time you start working on implementing a feature:
git checkout run21 # <= just to be sure git pull # or git pull origin run21 to be sure git checkout -b my-new-feature # do work in your own branch ... edit stuff ... git add file1.py file2.py ... # add the files you have edited git commit -m "new feature! I've added this and that in file1 and file2" # some info about what was done is always helpful git push origin my-new-feature # this will create your my-new-feature branch on the remote repo (on GitHub) ... create a Pull Request from the GitHub webpage and ask someone to review it before merging into run21