merge request on gitlab

Asked by Raphaël Maurin

Hi all,

I have not been doing any commit since we moved to gitlab and I am not completely sure I understand how to do it properly. I followed the tutorial on yade website ( but then I do not understand how I should do once I made a commit. Should I "push on yade-dev" or "Push to personnal repository" ? Or should I ask a merge request ? As a member of Yade-dev or as a new developper ?

I am sure my questions are rather basic but I prefer to have your opinion before instead of making a mistake directly !
Thanks in advance for you advices !


Question information

English Edit question
Yade Edit question
No assignee Edit question
Solved by:
Raphaël Maurin
Last query:
Last reply:
Revision history for this message
Robert Caulk (rcaulk) said :


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.



Revision history for this message
Jérôme Duriez (jduriez) said :

Since you're not yet here:
I think you would also need to ask (Bruno ?) to make you a member, after precising your gitlab id.

Revision history for this message
Raphaël Maurin (raphael-maurin) said :

Thank you both for your answers, I will send an email to Bruno and then process as Robert suggested.