Skip to content
Dmitriy Belyaev edited this page Apr 10, 2024 · 3 revisions

General

This is information wiki page.

How to update fork from upstream

  • repository: git@github.com:dbelyaev/action-checkstyle.git
  • fork: git@github.com:equinor/action-checkstyle.git
# clone fork
git clone git@github.com:equinor/action-checkstyle.git

# switch to repo dir
cd action-checkstyle

# add upstream remote
git remote add upstream git@github.com:dbelyaev/action-checkstyle.git

# update (full rebase and push tags)
git fetch upstream
git rebase upstream/master
git push --force
git push -f --tags

You are done!

Clone this wiki locally