Skip to content

Workflow on Github

Ping Huang edited this page May 12, 2016 · 2 revisions
  1. Fork your own code base

Click "Fork" button on the top right of the project page

  1. Setup ENV

# git clone https://github.com/YOUR_ACCOUNT/nvme.git

# git remote add official https://github.com/vmware/nvme.git

  1. Develop a feature

# git fetch official develop

# git checkout -b feature/feature-a official/develop

# git add

# git commit

# git add

# git commit

  1. Rebase and push to Github

# git checkout feature/feature-a

# git fetch official develop

# git rebase -i official/develop

# git push origin +feature/feature-a (-- force)

  1. Now create pull request on Github.
Clone this wiki locally