Open main menu
Home
Random
Log in
Settings
About Sugar Labs
Disclaimers
Sugar Labs
Search
Changes
← Older edit
Newer edit →
Activity Team/Git Tutorial
(view source)
Revision as of 00:05, 29 December 2010
48 bytes added
,
00:05, 29 December 2010
→Initialize git global settings
Line 62:
Line 62:
=== Initialize git global settings ===
=== Initialize git global settings ===
−
Git must know your email and name. It uses this when you push or mail
a change
.
+
Git must know your email and name. It uses this
when you commit a change, so that
when you push or mail
it others will know who did it
.
If you do not use git on your system for any other project, you can configure git:
If you do not use git on your system for any other project, you can configure git:
Line 69:
Line 69:
git config -f ~/.gitconfig user.name <your-name>
git config -f ~/.gitconfig user.name <your-name>
−
Otherwise, configure git in the repository
after cloning below
:
+
Otherwise, configure git in the repository:
+
cd ${SLUG}
git config user.email <email-you-used-for-registering-project>
git config user.email <email-you-used-for-registering-project>
git config user.name <your-name>
git config user.name <your-name>
Quozl
Administrators
1,286
edits