[MacPorts] WorkingWithGit modified

MacPorts noreply at macports.org
Sun Oct 30 02:58:30 CET 2016


Page "WorkingWithGit" was changed by larryv
Diff URL: <https://trac.macports.org/wiki/WorkingWithGit?action=diff&version=62>
Revision 62
Comment: revise setup section
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: WorkingWithGit
=========================================================================
--- WorkingWithGit (version: 61)
+++ WorkingWithGit (version: 62)
@@ -7,18 +7,17 @@
 
 == Basic setup == #setup
 
-Git commits identify authors and committers by name and email address. You will likely use the same name for all your Git projects, so you can set it in your `$HOME/.gitconfig` file with:
+Git commits identify authors and committers by name and email address. You will likely use your name and a personal email address for most Git projects, so you can add them to `$HOME/.gitconfig`:
 {{{
 $ git config --global user.name 'Foo Barbaz'
-}}}
-
-On the other hand, you may want to reserve your MacPorts email address for MacPorts use. After cloning one of our repositories, you can set your email in `/path/to/MacPorts/repo/.git/config` with:
+$ git config --global user.eamil 'foo.bar.baz at email.com'
+}}}
+
+If you're a MacPorts committer, you should use your MacPorts email address while working in MacPorts repositories. You can override your global settings by modifying `/path/to/MacPorts/repo/.git/config`:
 {{{
 $ cd /path/to/MacPorts/repo
 $ git config user.email foobarbaz at macports.org
 }}}
-
-If you are not a MacPorts committer, feel free to use any email address.
 
 
 == Common `git` tasks & notes about MacPorts' Subversion export ==
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/WorkingWithGit>
MacPorts <https://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'WorkingWithGit' page.
If it was not you, please report to admin at macports.org.


More information about the macports-changes mailing list