K
K
KaMaToZzz2013-03-05 00:01:51
git
KaMaToZzz, 2013-03-05 00:01:51

Github: how to pull a commit on a fork from dad?

Hello.
There are two turnips
1. github.com/RosYama/RosYama.2
2. github.com/ukryama/UkrYama.Yii
Commits in the form of brunches are in the first turnip. The question is, is it possible (if so, how) to copy individual commits? So that only the changes that were affected in the commit were pulled together, but not the entire branch as a whole?
ps: still relevant - work for ivy and general honor.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
vovkab, 2013-03-05
@vovkab

What does brunch commits mean? You'd better write what you want to do, what you want to get.
To pull out a separate commit, you can make a patch - git format-patch or diff - git diff, and then you can roll it where you need it.
If you need to synchronize the turnip in one direction, then you will need to have at least 2 branches:
1. original code that will be periodically git fetch, say, with RosYama.2
2. your changes + branch 1 merge
All that will be required of you is to periodically pull updates and merge them into branch 2.

V
Vyacheslav Slinko, 2013-03-05
@KeepYourMind

Kind of weird.
All these brunches should eventually merge into the main branch?

M
Mezomish, 2013-03-05
@Mezomish

$ git cherry-pick <SHA1> - is that it?
technosophos.com/content/git-cherry-picking-move-small-code-patches-across-branches

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question