Skip to main content
added 12 characters in body
Source Link
Emma Carli
  • 83
  • 1
  • 1
  • 7

I would like to fork a GitLab repository (not my own, and public), so I can make changes to my fork, and update that fork with the upstream version whenever there are someupstream updates, using GitHub desktop.

So far, what I have done is:

(1) imported the GitLab repo on github.com -> import repository , the repository appears on GitHub as my own (which it is not) and not as a fork (which I want it to be)

(2) on GitHub desktop, add repository -> clone GitHub repository from (1) on my local machine, make changes to it, push the changes to my GitHub repository (good)

(3) if there are any changes made to the upstream GitLab repository, I cannot merge those into my GitHub repository. Indeed, the latter is not considered a fork and it is not connected in any way to the upstream GitLab repository. Normally I would use on GitHub desktop "Choose a branch to merge into master", choose the upstream branch, and merge the changes.

(4) I tried "git remote add upstream {gitlab repo}" but that did not change anything.

(5) also tried, alternatively, just cloning the GitLab repository directly on my local machine, making changes to it, but pushing my changes attempts to push them on GitLab, which I cannot do and do not want to do as the repo isn't mine.

I would like to fork a GitLab repository (not my own, and public), so I can make changes to my fork, and update that fork with the upstream version whenever there are some, using GitHub desktop.

So far, what I have done is:

(1) imported the GitLab repo on github.com -> import repository , the repository appears on GitHub as my own (which it is not) and not as a fork (which I want it to be)

(2) on GitHub desktop, add repository -> clone GitHub repository from (1) on my local machine, make changes to it, push the changes to my GitHub repository (good)

(3) if there are any changes made to the upstream GitLab repository, I cannot merge those into my GitHub repository. Indeed, the latter is not considered a fork and it is not connected in any way to the upstream GitLab repository. Normally I would use on GitHub desktop "Choose a branch to merge into master", choose the upstream branch, and merge the changes.

(4) I tried "git remote add upstream {gitlab repo}" but that did not change anything.

(5) also tried, alternatively, just cloning the GitLab repository directly on my local machine, making changes to it, but pushing my changes attempts to push them on GitLab, which I cannot do and do not want to do as the repo isn't mine.

I would like to fork a GitLab repository (not my own, and public), so I can make changes to my fork, and update that fork with the upstream version whenever there are upstream updates, using GitHub desktop.

So far, what I have done is:

(1) imported the GitLab repo on github.com -> import repository , the repository appears on GitHub as my own (which it is not) and not as a fork (which I want it to be)

(2) on GitHub desktop, add repository -> clone GitHub repository from (1) on my local machine, make changes to it, push the changes to my GitHub repository (good)

(3) if there are any changes made to the upstream GitLab repository, I cannot merge those into my GitHub repository. Indeed, the latter is not considered a fork and it is not connected in any way to the upstream GitLab repository. Normally I would use on GitHub desktop "Choose a branch to merge into master", choose the upstream branch, and merge the changes.

(4) I tried "git remote add upstream {gitlab repo}" but that did not change anything.

(5) also tried, alternatively, just cloning the GitLab repository directly on my local machine, making changes to it, but pushing my changes attempts to push them on GitLab, which I cannot do and do not want to do as the repo isn't mine.

more details to my attempt
Source Link
Emma Carli
  • 83
  • 1
  • 1
  • 7

I would like to fork a GitLab repository (not my own, and public), so I can make changes to my fork, and update that fork with the upstream version whenever there are some, using GitHub desktop. Importing

So far, what I have done is:

(1) imported the GitLab repo on github.com -> import repository , the repository appears on GitHub works fine, butas my own (which it is not) and not as a fork (which I want it to be)

(2) on GitHub desktop, and thusadd repository -> clone GitHub repository from (1) on my local machine, make changes to it, push the changes to my GitHub repository (good)

(3) if there are any changes made to the upstream GitLab repository, I cannot updatemerge those into my GitHub repository. Indeed, the latter is not considered a fork and it is not connected in any way to the upstream GitLab repository with. Normally I would use on GitHub desktop "Choose a branch to merge into master", choose the upstream branch, and merge the changes.

(4) I tried "git remote add upstream {gitlab repo}" but that did not change anything.

(5) also tried, alternatively, just cloning the GitLab repository directly on my local machine, making changes to it, but pushing my changes attempts to push them on GitLab, which I cannot do and do not want to do as the repo isn't mine.

I would like to fork a GitLab repository (not my own, and public), so I can make changes to my fork, and update that fork with the upstream version, using GitHub desktop. Importing the GitLab repository on GitHub works fine, but it is not a fork, and thus I cannot update the repository with upstream changes.

I would like to fork a GitLab repository (not my own, and public), so I can make changes to my fork, and update that fork with the upstream version whenever there are some, using GitHub desktop.

So far, what I have done is:

(1) imported the GitLab repo on github.com -> import repository , the repository appears on GitHub as my own (which it is not) and not as a fork (which I want it to be)

(2) on GitHub desktop, add repository -> clone GitHub repository from (1) on my local machine, make changes to it, push the changes to my GitHub repository (good)

(3) if there are any changes made to the upstream GitLab repository, I cannot merge those into my GitHub repository. Indeed, the latter is not considered a fork and it is not connected in any way to the upstream GitLab repository. Normally I would use on GitHub desktop "Choose a branch to merge into master", choose the upstream branch, and merge the changes.

(4) I tried "git remote add upstream {gitlab repo}" but that did not change anything.

(5) also tried, alternatively, just cloning the GitLab repository directly on my local machine, making changes to it, but pushing my changes attempts to push them on GitLab, which I cannot do and do not want to do as the repo isn't mine.

edited tags
Link
phd
  • 97.2k
  • 14
  • 165
  • 223
Source Link
Emma Carli
  • 83
  • 1
  • 1
  • 7
Loading