Hi all,

I often use these commands to sync my code with master and push my code to 
remote:

   1. git checkout master
   2. git fetch origin master
   3. git merge origin/master
   4. git checkout -b my_dev
   5. coding....
   6. git commit -am "finished feature"
   7. git push origin my_dev:my_dev


My question is when I use commands above to submit a new merge_request, I 
can see other people's commits in gitlab merge_request page. When I use 
`git pull` command to sync remote codes and then submit a merge request, I 
cannot see other people's commits. But this is hard to understand to me 
because according to what I learnt, `git pull` is equivalent to `git fetch 
&& git merge `

I am really confused about this. Can anyone explain this question? Any 
suggestions will be appreciated. Thank you everyone!

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/47f87e9f-2fb4-4dd1-b280-b2413a3ee322%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to