[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Update a fork for DLA publishing

On Tue, Jun 30, 2020 at 12:03:47PM +0200, Ola Lundqvist wrote:
> Does anyone know how to rebase the fork? Or is my way the way to do it?

git remote add upstream $url (once)
git fetch upstream
git checkout -b new-branch upstream/master
git push --set-upstream origin new-branch

> Not to rebase is not the best option, since the webmasters asked me to
> rebase last time.

No idea what you mean with "rebase"?  You base your MR off new branches
each time.


Pain is a thing of the mind.  The mind can be controlled.
		-- Spock, "Operation -- Annihilate!" stardate 3287.2

Reply to: