Pull updates from upstream repository into fork

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

When I fork a project, I want to be able to keep it up to date with the upstream project easily if not automatically.

Original request:

I have forked project A in GitLab and create B and made some modification. After a month now i would like to update B project by pulling changes done in A.

How can i do this? I have option to create Merge request but i could't able pull from A.

I know this could be very simple because if anyone like to contribute has eventually take pull before submitting merge request.

Further details

From Twitter:

My biggest @github feature wish is that there was a button to easily catch my fork up to whatever point the remote is at now. It's still super weird to me that I have to go into the command line and do all these manual steps to do this: https://help.github.com/articles/syncing-a-fork/

Interestingly Github previously had this feature in the form of a fast forward button. It is unclear when this feature was removed.

This is a common workflow that has been documented by:

  • GitLab with a blog post: https://about.gitlab.com/2016/12/01/how-to-keep-your-fork-up-to-date-with-its-origin/
  • Github with documentation: https://help.github.com/articles/syncing-a-fork/

Proposal

Add a Pull new updates from upstream repository into my fork button

Links / references

  • https://about.gitlab.com/2016/12/01/how-to-keep-your-fork-up-to-date-with-its-origin/
  • https://github.blog/2008-12-12-fast-forward-your-fork/
Edited Aug 28, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading