Homepage
Activities
Events
Blogs
Lists
Develop
Translate
Chat
Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Activity Team/Git FAQ
(view source)
Revision as of 11:16, 11 July 2009
8 bytes added
,
11:16, 11 July 2009
no edit summary
Line 14:
Line 14:
=== How do I create a new project? ===
=== How do I create a new project? ===
−
First set up the project in gitorious as per above.
+
:
First set up the project in gitorious as per above.
−
Go to your project directory and type:
+
:
Go to your project directory and type:
git init
git init
Line 24:
Line 24:
git push origin master
git push origin master
−
Hence forth, just use:
+
:
Hence forth, just use:
git commit
git commit
git push
git push
−
You can also use
+
:
You can also use
git commit -a -m "I am the commit message"
git commit -a -m "I am the commit message"
−
to avoid opening an editor.
+
:
to avoid opening an editor.
=== How do I create a fork of an existing project? ===
=== How do I create a fork of an existing project? ===
Line 46:
Line 46:
----
----
−
in the .git/config file, you may have to change:
+
:
in the .git/config file, you may have to change:
[remote "origin"]
[remote "origin"]
url = git://git.sugarlabs.org/yourproject/yourbranch.git
url = git://git.sugarlabs.org/yourproject/yourbranch.git
−
to:
+
:
to:
[remote "origin"]
[remote "origin"]
url = gitorious@git.sugarlabs.org:yourproject/yourbranch.git
url = gitorious@git.sugarlabs.org:yourproject/yourbranch.git
Line 111:
Line 111:
=== How do I generate a patch? ===
=== How do I generate a patch? ===
git diff > blah.patch
git diff > blah.patch
−
or
+
:
or
diff -rup [old] [new]
diff -rup [old] [new]
FGrose
Bureaucrats
,
Check users
,
Administrators
,
Widget editors
8,288
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Sugar
Downloads
Get started
FAQs
News
Get involved
Activity pages
Submit bugs
Get the source
About Sugar Labs
Donate to Sugar Labs
Contact info
Teams
Activity Team
Design Team
Documentation Team
Development Team
Infrastructure Team
Marketing Team
Platform Team
Translation Team
Wiki Team
Quick Links
Oversight Board
Governance
Human Interface Guidelines
people.sugarlabs.org
Recent changes
Categories
Service index
Wiki help
Code of Conduct
Local Labs
About local labs
Projects
Sugar Network
Sugar Creation Kit
Sugar on a Stick
Sugarizer
TOAST
Using the Wiki
Special pages
Printable version
Google translations
Afrikaans
አማርኛ
العربية
azərbaycanca
Bahasa Indonesia
Bahasa Melayu
Sunda
беларуская
বাংলা
български
bosanski
català
Cebuano
čeština
Chi-Chewa
corsu
Cymraeg
dansk
Deutsch
eesti
Ελληνικά
English
español
Esperanto
euskara
فارسی
français
Frysk
Gaeilge
Gàidhlig
galego
ગુજરાતી
Hausa
Hawaiʻi
한국어
עברית
हिन्दी
հայերեն
hmn
hrvatski
Igbo
isiXhosa
isiZulu
íslenska
italiano
jw
ქართული
ಕನ್ನಡ
қазақша
ភាសាខ្មែរ
Kiswahili
Kreyòl ayisyen
Кыргызча
kurdî
ລາວ
Latina
latviešu
Lëtzebuergesch
lietuvių
magyar
македонски
മലയാളം
Malti
Māori
монгол
मराठी
မြန်မာဘာသာ
Nederlands
नेपाली
日本語
norsk
ਪੰਜਾਬੀ
پښتو
polski
português
română
русский
Gagana Samoa
Sesotho
سنڌي
chiShona
shqip
සිංහල
slovenčina
slovenščina
Soomaaliga
српски / srpski
suomi
svenska
tj
Tagalog
ไทย
тоҷикӣ
தமிழ்
తెలుగు
Tiếng Việt
Türkçe
українська
oʻzbekcha/ўзбекча
اردو
ייִדיש
Yorùbá
中文(台灣)
中文(中国大陆)