Changes between Version 2 and Version 3 of UsingGitWithWebKit

Nov 23, 2007 5:19:27 AM (16 years ago)
Simon Hausmann



  • UsingGitWithWebKit

    v2 v3  
     3= Branch Overview =
     5There are three types of branches in the QtWebKit Git repository:
     7 * <username>/* : This is where developers publish their changes. You can have as many so-called topic branches as you like. For example holger/crash-fix would be a name for such a topic branch.
     8 * qtwebkit: This is the main development branch. Currently only Lars and Simon can update this branch. If you feel comfortable enough with Git we can add you.
     9 * svn/* such as svn/master or svn/Safari-3-branch. The branches prefixed with svn/ are read-only
     10   and are mirrored from the WebKit Subversion repository.
     12= Howto =
     14== Getting Started ==
     16 * Clone your git repository from {{{git+ssh://}}}
     17 * After that you will have one local branch called {{{qtwebkit}}}.
     19== Step-by-step instructions ==
     21(Note: Substitute {{{simon/crash-fix}}} accordingly)
     23 * Create a local topic branch: {{{git checkout -b simon/crash-fix origin/qtwebkit}}}
     24 * After that you will be on a local {{{simon/crash-fix}}} branch.
     25 * Now you can hack away and commit as many changes as you want.
     26 * To publish your changes for the first time run the following command: {{{git push origin simon/crash-fix}}}
     27 * You can continue hacking and if you want to publish more changes you can just run {{{git push}}}
     28 * If you want to merge the latest changes from the {{{qtwebkit}}} branch run this:
     30git fetch
     31git merge origin/qtwebkit
     33 * When you are happy with your changes and they have been merged into the {{{qtwebkit}}} branch you can delete your branch on the public repository using {{{git push origin :simon/crash-fix}}}
     34 * After deleting the branch on the public repository you can also delete it locally:
     35   * Switch to a different branch, such as {{{qtwebkit}}}: {{{git checkout qtwebkit}}}
     36   * Delete the branch: {{{git branch -D simon/crash-fix}}}
    338= Tips and Tricks for using Git with WebKit =