I just tried to complete the Git Rebase Off-Platform Project which seems to have been added fairly recently by Codecademy (nice have some GitHub content for that matter!).
The exercise refers to 2 branches in the GitHub repo, part_1_Monday and part_2_Monday. However, if I’m not mistaken, there is no part_1_Monday in the repo and therefore it’s not possible to proceed with the rebasing.
What my Terminal says after entering the commands:
I’m inclined to agree with you here, I can’t find any trace of the part_1 branch and the part2 branch has already been merged with main so there’s nothing left to do in this example.
It looks to me that they (Codecademy) did not block the ability to push changes to the GitHub repository for this project. Someone completed the project locally and then pushed their changes to the GitHub repo. I guess the repo was set to automatically accept it, or someone accidentally approved the change. In its current state, it is not possible to complete this project.
I checked the comments of the video walkthrough for the project, and it was only after someone mentioned that the “Copy the main branch only” option needs to be unchecked that it worked for me. Otherwise, it didn’t show the other remotes.
It would definitely help users who are unfamiliar with Git / GitHub to know how to complete the assignment. The video walkthrough doesn’t address it.
So I don’t even see the Monday part 1 or part 2. I just see the README.md and the ‘The little black fish part 1’ and 2. That made the lesson a bit confusing.