Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

A document on hacking on chromium on linux with git

  • Loading branch information...
commit 8e29d0d29a9035437a568822338030e262cdaee0 1 parent 91ce195
Benjamin C Meyer authored
Showing with 50 additions and 0 deletions.
  1. +50 −0 README
@@ -0,0 +1,50 @@
+Hack on Chromium using Git
+# Create an account on http://github if you do not already have one.
+# Goto: and fork the project
+# Checkout your repository newly forked project
+mkdir chromium
+cd chromium
+git clone[your github user name]/chromium.git
+mv chromium src
+# Add chrome to the list of remote repositories so you can fetch off it.
+cd src
+git remote add -f chromium git://
+# Grab the gclient tool rest of the third party source
+svn co
+linux/gclient config
+cd src
+../linux/gclient sync
+# How to build
+cd chromium/src/webkit
+hammer Hammer
+# How to update your repository with upstream
+git fetch chromium
+git rebase chromium/master
+../linux/gclient sync
+# Grab git-cl and tools for uploading patches
+git clone git://
+git clone git://
+# Add this to your .profile so everything is in your path and it knows who is uploading the patch
+export CHROME=$HOME/dev/chromium
+export PATH=$CHROME/chromium_tools:$CHROME/git-cl/:$CHROME/linux:$PATH
+# make a branch
+git checkout -b master testbranch
+# make a modification
+cd src
+echo "ME!" >> AUTHORS
+git commit -a -m "Add me to the authors file"
+#upload patch, replace sha1 with the sha1 of your commit
+upload-git-patch sha1
Please sign in to comment.
Something went wrong with that request. Please try again.