18 January 2016

fork

  1. fork from mondrian use your github account

  2. check this wiki for details

cloning a specific branch

  1. clone the repo

         $ git clone https://github.com/gree2/mondrian.git
    
  2. list avaiable branches

         $ git branch -a
    
  3. checkout the branch you want to work

         $ git checkout 4.4
    

adding upstream and local settings

  1. keep your repo uptodate with pentaho mondrian repo

         $ git remote add upstream git://github.com/pentaho/mondrian.git
    
  2. disable fast-forward during merges

         # to preserve the entire commit history
         # and properly track file changes
         $ git config --add merge.ff false
    

merging upstream changes

  1. to update and merge changes from the upstream repo

         # where [branch] is the current branch you're working on
         $ git fetch upstream [branch]
         $ git fetch upstream/[branch]
    
  2. if no merge conflict, your local repo is now uptodate

verifying the coding style

  1. run following command

         $ ./bin/checkFile.sh --under [e.g. "./src"]
    


blog comments powered by Disqus