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.16k stars 5.72k forks source link

Add switch options #1104

Closed kazzna closed 9 months ago

kazzna commented 10 months ago

Added '--create', '-C', and '--force-create' options.

Please let me know if this is wrong or I'm missing something to do.

netlify[bot] commented 10 months ago

Deploy Preview for xenodochial-hugle-b9ec84 ready!

Name Link
Latest commit 199f0219c4c70cbd5ad2ce6bd08aa14f15e07dce
Latest deploy log https://app.netlify.com/sites/xenodochial-hugle-b9ec84/deploys/6509280a33cbf3000964dea4
Deploy Preview https://deploy-preview-1104--xenodochial-hugle-b9ec84.netlify.app/
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

pcottle commented 9 months ago

This is great, so much for expanding the functionality and even adding tests!!

I just had a quick question on some of the syntax. Also for my own understanding, what is a case where you would want to use force create over just create?

ah Bard answered for me:

Screenshot 2023-09-21 at 9 14 21 AM
pcottle commented 9 months ago

pushed the site now! And removed the indenting / bracketing if thats ok. let me know if there was a reason for that :)