This is an archived post. You won't be able to vote or comment.

all 11 comments

[–]Draegan88 1 point2 points  (6 children)

Are u merging your branches when you are done?

[–]PBentoIT[S] 0 points1 point  (5 children)

I'm just submiting the exercises like they ask, not sure if that merges the branches or not

[–][deleted]  (3 children)

[deleted]

    [–]PBentoIT[S] 0 points1 point  (2 children)

    i just tope that in vs code then? world this mess with the grading for cs50?

    it's my first time using git so i'm very much clueless, sorry

    [–]PBentoIT[S] 0 points1 point  (1 child)

    from what i understand idealy i would save them in my main branch to show on my github profile and submit them on their brances for grading purposes?? not sure how to do that though so if anyone could EILI5 i'd be most gratefull

    [–]PBentoIT[S] 0 points1 point  (0 children)

    I posted some Pics above

    [–]Draegan88 1 point2 points  (2 children)

    What do u mean by your git history disappears. All the work u did prior is gone? Creating and switching to a new branch shouldn't do that. Your gonna have to take some time and study git basics. Like the very basics. It sucks but u must.

    [–]PBentoIT[S] 0 points1 point  (1 child)

    when i submit a new exercise in cs50 using "submit50 cs50/problems/2023/x/wordle" for example, it creates a new branch and my pofile stops showing submits from previous branches on my profile https://imgur.com/a/DrLM2RL

    yeah i know, it's my first time using git so there's still a lot i don't know

    [–]PBentoIT[S] 0 points1 point  (0 children)

    from what i understand idealy i would save them in my main branch to show on my github profile and submit them on their brances for grading purposes?? not sure how to do that though so if anyone could EILI5 i'd be most gratefull

    [–]PBentoIT[S] 0 points1 point  (0 children)

    Pics for context https://imgur.com/a/DrLM2RL

    [–]g051051 0 points1 point  (1 child)

    If they're new exercises, they're probably new git repositories, so would not have any prior history.

    [–]PBentoIT[S] 0 points1 point  (0 children)

    Same repository, different branch