Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GitLab not able to sync fork

Tags:

gitlab

I recently installed GitLab, however, I can't figure out how to use forks properly. I have the following versions installed:

GitLab 7.7.1
GitLab Shell 2.4.1
GitLab API v3
Ruby 2.1.4p265
Rails 4.1.1

I have found out the URL for forks (by creating another user and adding it to the project, but it doesn't show up in the GUI on own projects, link http://server.com/<user>/<repo>/fork/new works though), and once a fork has been made, it is not possible to sync the fork. At least, there's nothing I can find on Google nor the documentation for GitLab, but it is mentioned in changelogs at places or issues that apparently have been accepted (can't find the source anymore though).

Can anyone explain me how forking works and how I can sync the fork once the original repository has been updated?

like image 528
Ruben Rutten Avatar asked Feb 03 '15 01:02

Ruben Rutten


1 Answers

how I can sync the fork once the original repository has been updated?

Simply by adding a remote reference to the original repo: see "Pull new updates from original Github repository into forked Github repository".

The opposite (from fork to original repo) is done using merge request: see "GitLab Flow"

like image 164
VonC Avatar answered Jan 24 '23 03:01

VonC