A
A
Alexander2020-10-20 08:51:45
git
Alexander, 2020-10-20 08:51:45

How do I properly pull before push if I'm on a different branch?

1. Made a git clone of the master
2. Created a branch git checkout -b dev_sasha
3. Made a commit
What's next?
I used to do this:
4. git push origin dev_sasha
5. And create a merge request using the gitlab link

.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry, 2020-10-29
@ris_ok

1. Update local master
2. Go to dev_sashaand do git merge master. Those. merge to your branch.
3. If there are conflicts - fix and commit (to your branch)
4. Make a pull request.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question