Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create an account on GitHub.
    See Setting Up Git
  2. Fork the Apache Repo:
    1. Go to https://github.com/apache/incubator-cloudstack.
    2. Click Fork.
      See Fork a Repo
  3. Clone your fork:
    git clone https://github.com/<username>/incubator-cloudstack.git
  4. Configure remote:
    1. git remote add upstream https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git
      The GitHub repo is a mirror and not the definitive source, so we use https://git-wip-us.apache.org/repos/asf/incubator-cloudstack.git and not https://github.com/apache/incubator-cloudstack
  5. When your fork needs to get the latest from it's parent fork (gh:apache/cloudstack). And you should do this periodically (read:daily) for a long running feature
      git fetch upstream
    1. git checkout <feature-branch> #This is
      This sets your local feature branch likely mirroring a remote feature-branch at originworking set to the branch you want to pull the latest changes into.
    2. git fetch upstream
    3. git merge upstream/<feature-branch> (or git merge --no-ff to preserve git branching history)

...