Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

Rebase staging from upstream

Kiran Mova edited this page May 16, 2021 · 1 revision

Replace $user in the below steps with your github handle where you have forked openebs-docs.

  • Visit the URL: https://github.com/$user/openebs-docs
  • Go to Branches and switch the default branch to "master"
  • Delete the branch in the forked repo.
    git clone https://github.com/$user/openebs-docs
    git checkout master
    git branch -d staging
    git push origin --delete staging
    
  • Fetch latest staging branch from upstream
    git clone https://github.com/$user/openebs-docs
    git checkout master
    git remote -v
    #if upstream is not present, set it using below command
    #git add upstream https://github.com/openebs/openebs-docs.git
    git fetch upstream staging:staging
    git checkout staging
    git push --set-upstream origin staging
    

Proceed with contributing

Clone this wiki locally