-
-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tw2 #268
Tw2 #268
Conversation
Good PR, just like a good function or a good commit, does only one job. E.g. adds a new feature OR fixes mistakes. Also I'd assume your fork's main has diverged from My recommendation is to fix this now, for us (I mean you and reviewers) save some time and avoid stepping on the same rake. Check materials under item 2 in Contributions Troubleshooting section. Follow the guidelines and ask specific questions, here or in Students' chat. |
B2. Коли потрібні будь-які зміни B21. Оновіть свою програму (у відповідному app repo): впровадити зміни git checkout B23. Перевірте свій PR і повідомте ментора: перейдіть до свого PR у homeworks main repo що для вас було нового I already figured it out for myself. Before each created project, I ran the command. git checkout main Was it my fault? |
If it was a commercial project this PR would be probably denied altogether. |
This means that your fork's This happens when something is committed to the fork's main branch directly rather than via These "foreign" commits make main branch histories diverge and that's why extra merge commits required/appear on the fork's branch, making history diverge even further with every Follow This history difference will cause more troubles. There are two options as to how to resolve the issue:
Let me know if you want to follow option 1. It is doable and less disruptive. We can complete it making baby steps. The 2nd option seems simpler but will require no less efforts altogether. |
discarded |
Added label to find the PR faster using PR filters. |
I can always crush my fork. First I need to try option #1 I'll read it in the evening, if I figure it out, I'll try. |
That's a proper attitude. When you read the materials, please share your findings on your repo and suggest an action plan. We shall review it, adjust if needed and implement. |
git branch backup-feature git checkout 676172e git remote add upstream https://github.com/kottans/frontend-2022-homeworks.git git branch -f feature-branch git branch -d backup-feature git branch -d backup-master |
General, this repo's main branch is Block 2:
Does 676172e belong to upstream's master? Block 3:
We should have this already set up. Although no harm in re-assigning upstream once again. Block 4:
Is this exactly the commit you want to keep? Why? Also replace |
I accidentally deleted 4 commits ahead via github |
Will this somehow help my problem or am I making it worse? |
Maybe it makes sense to delete this branch and create a new one? |
Probably, it will be easier to re-do this PR from the scratch |
OOP exercise
Demo |
Code base
The code is submitted in a dedicated feature branch.
Only code files are submitted.
Please, review. repeated requested