Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Hack on Chromium using Git # Create an account on http://github if you do not already have one. # Goto: http://github.com/chromium/chromium/tree/master and fork the project # Checkout your repository newly forked project mkdir chromium cd chromium git clone email@example.com:[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://github.com/chromium/chromium.git # Grab the gclient tool rest of the third party source svn co http://src.chromium.org/svn/trunk/depot_tools/linux linux/gclient config http://src.chromium.org/svn/trunk/src 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://neugierig.org/git-cl.git git clone git://github.com/icefox/chromium_tools.git # Add this to your .profile so everything is in your path and it knows who is uploading the patch export CHROME_REVIEW_EMAIL="firstname.lastname@example.org" 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 # Goto the chromium-dev channel on irc and pester someone to review your change # Having your own repository you can push up branches and patches independent of the chromium review system. And it makes it easy to grab patches/branches from other users that have forked off the chromium github repository as git wont re-download all of the files when you add them as a remote source.