Open main menu

Changes

Git asynchronous development

76 bytes added, 15:17, 22 July 2013
no edit summary
git br -a
Then we create the '''seriestabnmrpipe''' branch(because we edit nmrpipe.py, from where we will create the patch according to the differences of the '''sr''' branch. git co -b seriestab nmrpipe sr
=== Checking out a development branch ===
git log -p
Now create your [[Git_patch | git patch]], comparing to the sr branch git format-patch sr--stdout > nmrpipe.patch
=== Modification 2 ===
Now create your patches, comparing to the sr branch
git format-patch sr--stdout > nmrpipe2.patchThis should provide two you with a second patch files, with more commits.
=== Getting an overview ===
Now create your patch, comparing to the sr branch
git format-patch sr--stdout > nmrpipe3.patch
=== Continuation ===
=== Upload patches ===
First delete all the previous made patches.
rm -r 000*.patch
Now create your patches, comparing to the sr branch
git format-patch sr--stdout > nmrpipe.patch
Then upload a zip file with all the patches [[git_patch|git patch]] to the [https://gna.org/support/?group=relax support tracker].
== Reviewing suggestions and modify commit ==
There were a number of [http://article.gmane.org/gmane.science.nmr.relax.devel/4120 suggestions] to the patchesfrom Edward.
=== Squash commits ===
=== Changes to pipe_control\spectrum.py\read() ===
The above test, showed that the reading function had to be adjusted. So now we create a new branch, which is based on the branch we last edited. git co -b sr2 seriestab git add pipe_control\spectrum.py git commit -m "Added pipe_control\spectrumMeaning we copy the content of the modified files.py into git" git co -b spectrum sr2nmrpipe git diff --stat --color sr2nmrpipe..spectrum
The last line, should show an empty line for "no changes".
=== Finishing up ===
Delete old patches
rm 000*.patch
First change to the first branch we made changes is
git co seriestabnmrpipe git format-patch sr tar -zcvf seriestab.tar.gz *-stdout > nmrpipe.patch rm 000*.patch 
git co spectrum
git format-patch sr2 tar nmrpipe -zcvf -stdout > spectrum.tar.gz *.patch rm 000*.patch
== See also ==