vovs03 / GoldenLinks

Golden Lintks - собрание полезных ссылок
0 stars 0 forks source link

О разработке в проектах OSS #31

Open vovs03 opened 5 years ago

vovs03 commented 5 years ago

Project: sabbath-school-lessons

https://github.com/Adventech/sabbath-school-lessons

2018-12-30

#676 problem

screenshot from 2018-12-30 09-44-35

Сейчас удаляю/и заново форкну репо

из проблем: грабли по отправки PR (всегда влезает пачка предыдущих коммитов)

Что было раньше:

https://github.com/KeyJoo/sabbath-school-lessons/issues/10 RU/2018-01-AY W10 #10

2018-02-28

I have a Big problem for pull Data from Parent-repo to this fork... 18:27 [A some week ago]

2018-03-05

Я так и не разобрался с проблемой накопленных коммитов в бранче стайдж, и эти 7 файлов для урока RU/2018-01-AY/10 - почему-то подцеплялись к 149 коммитам предыдущих, которых не было. Я что-то сделал не так(и эти 149 влезли в стэйдж). Печальная ситуация. Вот и получается снова двойная работа. Видимо эти преграды неспроста. Пока что нажму на паузу. Своих лагерных и клубных проектов хватит.

vovs03 commented 5 years ago

Повторно обращаюсь к статье:

SEARCH:: разработкана github с форком

https://medium.com/@shanhaichik/синхронизация-fork-a-на-github-с-основным-репозиторием-47565bd37385

То, что проделал

➜  sabbath-school-lessons git:(stage) git remote -v
origin  git@github.com:KeyJoo/sabbath-school-lessons.git (fetch)
origin  git@github.com:KeyJoo/sabbath-school-lessons.git (push)
➜  sabbath-school-lessons git:(stage) git remote add upstream https://github.com/Adventech/sabbath-school-lessons.git

Результат

➜  sabbath-school-lessons git:(stage) git remote -v
origin  git@github.com:KeyJoo/sabbath-school-lessons.git (fetch)
origin  git@github.com:KeyJoo/sabbath-school-lessons.git (push)
upstream    https://github.com/Adventech/sabbath-school-lessons.git (fetch)
upstream    https://github.com/Adventech/sabbath-school-lessons.git (push)

Fetch & Merge

➜  sabbath-school-lessons git:(stage) git pull upstream 
remote: Enumerating objects: 582, done.
remote: Counting objects: 100% (582/582), done.
remote: Compressing objects: 100% (235/235), done.
remote: Total 3062 (delta 350), reused 562 (delta 347), pack-reused 2480
Receiving objects: 100% (3062/3062), 11.91 MiB | 1.06 MiB/s, done.
Resolving deltas: 100% (780/780), completed with 36 local objects.
From https://github.com/Adventech/sabbath-school-lessons
 * [new branch]          master     -> upstream/master
 * [new branch]          stage      -> upstream/stage
You asked to pull from the remote 'upstream', but did not specify
a branch. Because this is not the default configured remote
for your current branch, you must specify a branch on the command line.
➜  sabbath-school-lessons git:(stage) subl .
➜  sabbath-school-lessons git:(stage) git fetch upstream
➜  sabbath-school-lessons git:(stage) git branch
➜  sabbath-school-lessons git:(stage) git merge upstream/stage 

screenshot from 2019-01-01 11-17-15

vovs03 commented 5 years ago

sincronizing-fork- branch-with-origin-repository.txt