Changes between Version 38 and Version 39 of WorkingWithGit


Ignore:
Timestamp:
Aug 21, 2016, 3:12:41 PM (8 years ago)
Author:
neverpanic (Clemens Lang)
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

Legend:

Unmodified
Added
Removed
Modified
  • WorkingWithGit

    v38 v39  
    1212}}}
    1313
    14 Start with some basic setup:
     14Git commits contain your name and email address. You should set them in your git configuration using the following commands:
    1515{{{
    1616git config --global user.name "Your Name"
    1717git config --global user.email YOUR_MACPORTS_HANDLE@macports.org
    1818}}}
    19 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).
     19If 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.
    2020
    2121Additionally one should define a few (very likely not necessarily global) presets for working with your clone of the MacPorts repository: