Comments (2)
This workflow is great for things that are intended to be merged with
main. However, I think we have a lot of useful sandbox code that is not
intended to ever be mainlined, but is still useful and worth sharing.
On 09/02/2012 07:13 PM, Robert McGibbon wrote:
I'm just figuring out how to use git branches, and I think they might
be preferable in many cases to the sandbox system.For example, here's a workflow that would work for Christian's work on
modifying Trajectory.py to load more flexibly.|# create a new branch and check it out ;)
git checkout -b new-trajectory[... make changes to files ... ]
git commit "awesome new features"
commit the new branch to github
git push origin new-trajectory
|Instead of needing to create files like |Trajectory_crs.py| with new
names, you just edit the files in place and git does the work.Switching between branches is really easy and takes no time at all.
Say you want to compare how your new code is working against the old
code, you do:|git checkout new-trajectory
python setup.py install
[... test ...]git checkout master
python setup.py install
[... test ...]
|And then if you want to merge your changes into the "master" branch,
you can click the pull-request thing on github and then you get this
really nice GUI of where the code has changed, and people can comment,
etc.—
Reply to this email directly or view it on GitHub
#15.
from msmbuilder-legacy.
Yeah, this is for working on new features.
I guess its an alternative to (1) just committing to the master branch and (2) doing it in the sandbox.
from msmbuilder-legacy.
Related Issues (20)
- entry_point() in script creates a limbo for untested code
- travis failing HOT 1
- Human readable Assignments.h5 HOT 2
- Check for bugs before Omnia Release HOT 1
- Clustering by contacts fails with varying errors
- PCCA contains deprecated method
- What are the units of distance in dihedral clustering? HOT 2
- SaveStructures ignores boolean argument --replacement
- ImportError: cannot import name io HOT 2
- Bug in BACE_Coarse_Graining.py?
- SaveRawStructure.py into msmbuilder 2.8 HOT 1
- Bugfixes, release, conda HOT 1
- Broken reference in FindPaths.py HOT 1
- InteractiveSCRE.py is outdated/broken HOT 2
- Move pandegroup/msmbuilder to msmbuilder/msmbuilder2 (????) HOT 10
- add msmbuilder-legacy docs to msmbuilder.org HOT 8
- Conda / Simultaneous MSM2/3 install? HOT 1
- msmb: error: unrecognized arguments (AtomPairsFeaturizer) HOT 1
- Question:How to remove disconnected microstates in MSMbuilder?
- RMSD sub-cammand is giving error when using tICA_train.py HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from msmbuilder-legacy.