[MacPorts] WorkingWithGit modified

MacPorts noreply at macports.org
Sun Aug 21 00:30:39 PDT 2016

Page "WorkingWithGit" was changed by mk at macports.org
Diff URL: <https://trac.macports.org/wiki/WorkingWithGit?action=diff&version=27>
Revision 27
Comment: remove command line prompts for consistency with residual text
Index: WorkingWithGit
--- WorkingWithGit (version: 26)
+++ WorkingWithGit (version: 27)
@@ -8,18 +8,18 @@
 Start with some basic setup based on [https://community.kde.org/Infrastructure/Git/Configuration KDE's configuration hints] concerning user information:
-$ git config --global user.name "Your Name"
-$ git config --global user.email YOUR_MACPORTS_HANDLE at macports.org
+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).
 Additionally one should define a few (very likely not necessarily global) presets for working with your clone of the MacPorts repository:
-$ git config --global push.default nothing
-$ git config --global branch.autosetuprebase always
-$ git config --global core.excludesfile ~/.gitignore_global
-$ git config --global commit.template ~/.git-commit-template
-$ git config --global color.ui true
+git config --global push.default nothing
+git config --global branch.autosetuprebase always
+git config --global core.excludesfile ~/.gitignore_global
+git config --global commit.template ~/.git-commit-template
+git config --global color.ui true
 which avoids that you accidentally push changes into a wrong branch at {{{origin}}}, makes sure that your current changes get always auto-rebased ontop of the pulled changes from {{{origin}}}, adds an excludes file as well as a commit template and enables colorizing {{{git}}}'s console output.

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