N
N
nikitos1232015-01-03 00:09:08
GitHub
nikitos123, 2015-01-03 00:09:08

How to combine two significant changes in git?

Explain how to be in a situation: a site on 2 computers, at home and at work.
At work, I made significant changes, but I forgot to upload it to github.
At home, he also made significant changes.
How now to connect them without losing data?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
Puma Thailand, 2015-01-03
@opium

On one push on the other pool with a merge or rebase

G
GavriKos, 2015-01-03
@GavriKos

On both computers - commit. Then on one - push. On the second - pull, resolve conflicts, commit, push. Then on the first - pull. In theory, there will be no conflicts.
You can still solve the issue through brunches, but in fact there will be the same thing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question