R
R
richrichwx2018-10-16 17:28:04
git
richrichwx, 2018-10-16 17:28:04

How to pull git changes?

There is a project on Vue, in this project there are 3 branches:
1.master
2.dev
3.my (for example)
I work with 3.my branch and another person with 2.dev branch.
So he made changes in his branch, and I need to pull all his changes into my branch.
How to do it right?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
TyzhSysAdmin, 2018-10-16
@POS_troi

Merge his branch into your own + resolve conflicts :)
GIT - how to merge two branches?

M
msdos-x86, 2018-10-16
@msdos-x86

1. git checkout mybranch
2. git pull origin dev

S
solascriptura, 2018-10-18
@solascriptura

Use the rules for teamwork:
https://habr.com/post/106912/
A very sensible article. I advise. If you want, contact me, I'll show you how it all works for us.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question