Skip to content

Commit 9ae7afe

Browse files
committed
DOC - updated to newest gitwash
1 parent 556d87c commit 9ae7afe

File tree

10 files changed

+24
-17
lines changed

10 files changed

+24
-17
lines changed

doc/devel/guidelines/gitwash/configure_git.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ These commands will write to your user's git configuration file
6969
To set up on another computer, you can copy your ``~/.gitconfig`` file,
7070
or run the commands above.
7171

72-
Other configuration recommended by Yarik
73-
========================================
72+
Other recommended configurations
73+
================================
7474

7575
In your ``~/.gitconfig`` file alias section::
7676

@@ -83,7 +83,9 @@ To enforce summaries when doing merges(``~/.gitconfig`` file again)::
8383
[merge]
8484
summary = true
8585

86+
Or from the command line::
8687

87-
.. include:: git_links.txt
88-
88+
git config --global alias.wdiff "diff --color-words"
89+
git config --global merge.summary true
8990

91+
.. include:: git_links.inc

doc/devel/guidelines/gitwash/development_workflow.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Overview
149149
# pull changes from github
150150
git fetch upstream
151151
# merge from upstream
152-
git merge upstream master
152+
git merge upstream/master
153153

154154
In detail
155155
---------
@@ -230,4 +230,4 @@ To see a linear list of commits for this branch::
230230
You can also look at the `network graph visualizer`_ for your github_
231231
repo.
232232

233-
.. include:: git_links.txt
233+
.. include:: git_links.inc

doc/devel/guidelines/gitwash/following_latest.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ From time to time you may want to pull down the latest code. Do this with::
3333
The tree in ``nipy`` will now have the latest changes from the initial
3434
repository.
3535

36-
.. include:: git_links.txt
36+
.. include:: git_links.inc

doc/devel/guidelines/gitwash/forking_hell.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,5 @@ Create your own forked copy of nipy_
2929
Now, after a short pause and some 'Hardcore forking action', you
3030
should find yourself at the home page for your own forked copy of nipy_.
3131

32-
.. include:: git_links.txt
32+
.. include:: git_links.inc
3333

doc/devel/guidelines/gitwash/git_install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ Have a look at the github_ install help pages available from `github help`_
2323

2424
There are good instructions here: http://book.git-scm.com/2_installing_git.html
2525

26-
.. include:: git_links.txt
26+
.. include:: git_links.inc

doc/devel/guidelines/gitwash/git_intro.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ should get you started.
1515

1616
For general resources for learning git_ see :ref:`git-resources`.
1717

18-
.. include:: git_links.txt
18+
.. include:: git_links.inc

doc/devel/guidelines/gitwash/git_links.txt renamed to doc/devel/guidelines/gitwash/git_links.inc

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,20 @@
1414
.. _`PROJECTNAME mailing list`: http://projects.scipy.org/mailman/listinfo/nipy-devel
1515

1616
.. nipy
17-
.. _nipy: http://neuroimaging.scipy.org
18-
.. _`nipy github`: http://github.com/nipy
19-
.. _`nipy mailing list`: http://projects.scipy.org/mailman/listinfo/nipy-devel
17+
.. _nipy: http://nipy.org/nipy
18+
.. _`nipy github`: http://github.com/nipy/nipy
19+
.. _`nipy mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel
2020

2121
.. ipython
2222
.. _ipython: http://ipython.scipy.org
23-
.. _`ipython github`: http://github.com/ipython
23+
.. _`ipython github`: http://github.com/ipython/ipython
2424
.. _`ipython mailing list`: http://mail.scipy.org/mailman/listinfo/IPython-dev
2525

26+
.. dipy
27+
.. _dipy: http://nipy.org/dipy
28+
.. _`dipy github`: http://github.com/Garyfallidis/dipy
29+
.. _`dipy mailing list`: http://mail.scipy.org/mailman/listinfo/nipy-devel
30+
2631
.. git stuff
2732
.. _git: http://git-scm.com/
2833
.. _github: http://github.com

doc/devel/guidelines/gitwash/git_resources.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ online manual pages for some common commands:
5454
* `git remote`_
5555
* `git status`_
5656

57-
.. include:: git_links.txt
57+
.. include:: git_links.inc

doc/devel/guidelines/gitwash/patching.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,4 +120,4 @@ Fork the nipy_ repository on github_ - :ref:`forking`. Then::
120120

121121
Then you can, if you want, follow the :ref:`development-workflow`.
122122

123-
.. include:: git_links.txt
123+
.. include:: git_links.inc

doc/devel/guidelines/gitwash/set_up_fork.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ Just for your own satisfaction, show yourself that you now have a new
6464
origin git@github.com:your-user-name/nipy.git (fetch)
6565
origin git@github.com:your-user-name/nipy.git (push)
6666

67-
.. include:: git_links.txt
67+
.. include:: git_links.inc
6868

0 commit comments

Comments
 (0)