Open DKB08 opened 1 year ago
I had the same issue as well
The following steps worked for me:
git clone https://github.com/yourUsername/practice-rebase-off-platform-project.git project_name
git branch -a
git checkout main git checkout part_1_Monday git checkout part_2_Monday git branch
That said, I am not sure if this is the correct approach altogether. Any advice/feedback on this would be much appreciated!
Thanks, @regexrekt !
The following steps worked for me:
From Codecademy's repo page
- Select fork
- Uncheck the option to 'copy the main branch only' before creating the fork
From terminal
- cd into local project path
- create clone from the forked repo
git clone https://github.com/yourUsername/practice-rebase-off-platform-project.git project_name
- cd into your cloned repo (you can then use the -a flag optionally to view all branches)
git branch -a
- checkout the main, part_1_Monday and part_2_Monday branches
git checkout main git checkout part_1_Monday git checkout part_2_Monday git branch
That said, I am not sure if this is the correct approach altogether. Any advice/feedback on this would be much appreciated!
thanks! it work for me! just in the select fork dropdown select the create a new fork option there uncheck the option "copy the main branch only"
Yup. Same issue. Codecademy did not specify to uncheck the 'copy the main branch only' in the tutorial. Uncheck it and your good to go.
When I fork this and clone it locally I am unable to checkout the other branches. When I clone it directly from here without forking, I am able to checkout the other branches.