Contribute to github
- configure local git
$ git config --global user.name "frdeng" $ git config --global user.email "frank.deng@oracle.com"
- fork a repo on github.com
- clone repo
$ git clone https://github.com/frdeng/oraclelinux.git
- add upstream to your repo
$ git remote add upstream https://github.com/boxcutter/oraclelinux.git
- fetch upstream
$ git fetch upstream
- set upstream branch
$ git branch --set-upstream-to=upstream/master master
- create new branch for changes
$ git checkout -b newfix
- make code changes
- add changes
$ git add .
- commit changes
$ git commit -m "comments"
- push to origin
$ git push --set-upstream origin newfix
- create new pull request on github.com