pcottle / learnGitBranching

An interactive git visualization and tutorial. Aspiring students of git can use this app to educate and challenge themselves towards mastery of git!
https://pcottle.github.io/learnGitBranching/
MIT License
30.34k stars 5.73k forks source link

fakeTeamwork command for creating a branch and adding commits is not working! #1091

Closed TonyStark-47 closed 1 year ago

TonyStark-47 commented 1 year ago

In Level : Remote : Faking Teamwork -

The command shown in animation git fakeTeamwork foo 3 works well in animation but not in terminal.

Screenshot from 2023-07-28 23-20-00 Screenshot from 2023-07-28 23-20-11

In terminal, it shows the error:

Screenshot from 2023-07-28 23-22-58

By the way, git fakeTeamwork and git fakeTeamwork main 3 are working!

pcottle commented 1 year ago

That's because the "foo" branch has to exist on the origin. Try the same command with "main" instead, or make the foo branch on origin :)

TonyStark-47 commented 1 year ago

Yeah! Now it's working. Thank you for helping! And sorry for the inconvenience.