Changes between Version 25 and Version 26 of UsingGit


Ignore:
Timestamp:
04/10/12 11:41:43 (14 years ago)
Author:
sphery
Comment:

Update stable version for 0.25; Remove reference to creating a github account for developers with push privileges

Legend:

Unmodified
Added
Removed
Modified
  • UsingGit

    v25 v26  
    11== Using git with MythTV ==
    22
    3 You will need to create a github account, and link your @mythtv.org email address to it (if a MythTV developer).  If you aren't a part of the development team, you can still create a github account and fork the repository into your account, giving pull requests later to get your changes incorporated.
     3To work with MythTV source code, you may either create a read-only repository (allowing you to build MythTV and make local changes, only):
    44
    5 For development with a github account, clone the repository with:
     5{{{
     6git clone git://github.com/MythTV/mythtv.git
     7}}}
     8
     9Or you may create a github account and fork the repository into your account, allowing you to push your changes to your fork (for others to see/use) and to provide pull requests in tickets to get your changes incorporated:
    610
    711{{{
     
    913}}}
    1014
    11 
    12 For read-only access, use:
    13 
    14 {{{
    15 git clone git://github.com/MythTV/mythtv.git
    16 }}}
    17 
    1815To switch to another branch:
    1916
    2017{{{
    21 git checkout fixes/0.24
     18git checkout fixes/0.25
    2219}}}
    2320
     
    7067|| svn diff || git diff || show differences since last stage commit ||
    7168|| svn stat || git status || ||
    72 || svn commit || git commit / git push || in git, git commit commits locally, git push pushes to the upstream repo.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   Additionally, changes must be staged before committing. ||
     69|| svn commit || git commit / git push || in git, git commit commits locally, git push pushes to the upstream repo. Additionally, changes must be staged before committing. ||
    7370|| ---- || git add -i / git add -p || stage commits ||
    7471|| svn update || git pull || technically, this is two steps combined (git fetch, git merge) git pull --rebase does a rebase instead of a merge ||
     
    8279|| svn revert -R (for pristine index and working copy) || git reset --hard || applies to entire tree so no filename or directory allowed ||
    8380
    84 To cherry pick a commit from master to fixes/0.24 (this automatically commits to your local branch):
     81To cherry pick a commit from master to fixes/0.25 (this automatically commits to your local branch):
    8582{{{
    86 git checkout fixes/0.24; git cherry-pick {commitref} (retrieve commitref hash from git log, e-mail or github history)
     83git checkout fixes/0.25; git cherry-pick {commitref} (retrieve commitref hash from git log, e-mail or github history)
    8784}}}
    8885To see log for specific branch