yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #25918
Re: [Question #697927]: merge request on gitlab
Question #697927 on Yade changed:
https://answers.launchpad.net/yade/+question/697927
Status: Open => Answered
Robert Caulk proposed the following answer:
Hello,
Push to yade-dev a new branch:
git branch localBranch
git checkout localBranch
git add path/to/new/file.cpp #Version a newly created file
git commit path/to/new_or_modified/file.cpp -m 'Commit message' #stage (register) change in the local repository
git pull --rebase upstream master #get updated version of sources from yade-dev repo and apply your commits on the top of them
git push upstream localBranch:newlyCreatedBranch #Push all commits to a new remote branch.
Then you can login to gitlab and see that it suggests you to "create a
merge request" with the newly pushed branch.
Cheers,
Robert
--
You received this question notification because your team yade-users is
an answer contact for Yade.