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

Basics getting upstream changes into your forked repo

Vyacheslav edited this page Nov 15, 2018 · 1 revision

Idea is the following:

Assuming you have your forked repo in

git@github.com:YOURORGANIZATION/ansible-container.git

You need once to add upstream pointing to ansible/ansible-container

git remote add upstream git@github.com:ansible/ansible-container.git

Later, saying to get updates from master - you do

git fetch upstream
git checkout master
git merge upstream/master 

to get updates from develop

git fetch upstream
git checkout develop
git merge upstream/develop
Clone this wiki locally