Revision: 24844
Author:   [email protected]
Date:     Thu Oct 23 13:30:05 2014 UTC
Log:      Edited wiki page UsingGit through web user interface.
https://code.google.com/p/v8/source/detail?r=24844

Modified:
 /wiki/UsingGit.wiki

=======================================
--- /wiki/UsingGit.wiki Tue Jul  1 14:58:43 2014 UTC
+++ /wiki/UsingGit.wiki Thu Oct 23 13:30:05 2014 UTC
@@ -1,10 +1,10 @@
-#summary This page describes how to use Git mirror of V8 repository.
+#summary This page describes how to use the Git mirror of the V8 repository.

 = Git repository =

-V8's trunk and bleeding_edge branches are mirror to git at https://chromium.googlesource.com/external/v8.git +V8's trunk and bleeding_edge branches are mirrored to git at https://chromium.googlesource.com/v8/v8.git

-V8's bleeding_edge branch has also an official git mirror on github: http://github.com/v8/v8. +V8's bleeding_edge branch has also an official git mirror on github: http://github.com/v8/v8-git-mirror.

 == Prerequisites ==

@@ -17,20 +17,33 @@

 == How to start ==

-Cloning v8's bleeding_edge branch, setting up git svn, and getting all dependencies can be done using: +Cloning v8's branches, setting up git svn, and getting all dependencies can be done using:

 {{{
 fetch v8
+cd v8
 }}}

-It's also possible to use git cl from a checkout created via `fetch v8`. If you don't need access to other branches, this setup is enough for day to day development.
+After that you're intentionally in a detached head state.
+
+Optionally you can specify how new branches should be tracked:
+
+{{{
+git config branch.autosetupmerge always
+}}}
+
+Alternatively, you can create new local branches like this (recommended):
+
+{{{
+git new-branch mywork
+}}}

 == Staying up-to-date ==

-On your development branch:
+Update your current branch with git pull. Note that if you're not on a branch, git pull won't work, and you'll need to use git fetch instead.

 {{{
-git pull --rebase origin
+git pull
 }}}

Sometimes dependencies of v8 are updated. You can synchronize those by running
@@ -39,7 +52,36 @@
 gclient sync
 }}}

-= For project members =
+== Sending code for reviewing ==
+
+First, you need to configure [http://neugierig.org/software/git/?r=git-cl git-cl], thankfully it's done magically by a single command:
+
+{{{
+git cl config http://v8.googlecode.com/svn
+}}}
+
+Then do
+
+{{{
+git cl upload
+}}}
+
+== Committing ==
+
+Update your branch:
+
+{{{
+git pull --rebase origin
+}}}
+
+Then commit using
+
+{{{
+git cl dcommit
+}}}
+
+
+= For project members (deprecated) =

 == Full SVN checkout ==

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to