[MacPorts] WorkingWithGit modified

MacPorts noreply at macports.org
Sun Aug 21 08:12:44 PDT 2016


Page "WorkingWithGit" was changed by cal at macports.org
Diff URL: <https://trac.macports.org/wiki/WorkingWithGit?action=diff&version=39>
Revision 39
Comment: Explain why setting name and email is necessary, clarify sentence that (I think) explains what to do if you don't have a commit bit
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: WorkingWithGit
=========================================================================
--- WorkingWithGit (version: 38)
+++ WorkingWithGit (version: 39)
@@ -11,12 +11,12 @@
 TODO: Move this section to a separate wiki page.
 }}}
 
-Start with some basic setup:
+Git commits contain your name and email address. You should set them in your git configuration using the following commands:
 {{{
 git config --global user.name "Your Name"
 git config --global user.email YOUR_MACPORTS_HANDLE at macports.org
 }}}
-where you should use the email address you usually commit with at GitHub, even if you are not registered with a MacPorts handle (email address).
+If you work on multiple Git projects and do not want to modify your email address for those, these commands can also be run without `--global` in a clone of MacPorts' repositories to only change the option for these repositories. If you are not a MacPorts committer, use any email address.
 
 Additionally one should define a few (very likely not necessarily global) presets for working with your clone of the MacPorts repository:
 {{{
-------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 .


More information about the macports-changes mailing list