Skip to content

Instantly share code, notes, and snippets.

@Triplemanus
Last active February 26, 2019 22:37
Show Gist options
  • Save Triplemanus/c0a46f8a980fbc72184000e19e51f37c to your computer and use it in GitHub Desktop.
Save Triplemanus/c0a46f8a980fbc72184000e19e51f37c to your computer and use it in GitHub Desktop.
Beginners Guide to Git

In the beginning, God made Git and GitHub

Then he changed his mind, but it was too late!

So then the first existential crises was born. What to do? He was God after all and starting over was a distinct possibility. It was the cleanest and quickest option but certainly not without any consequences. So, deciding it was best to move on, he created a list of steps/commands:

  1. Create a file
  2. Create another file
  3. Repeat
  4. Type git init
  5. Type git add "filename"
  6. Type git commit -m "Initial commit"

A good beginning, God thought, but what to do next. Hmmmmm. How about creating a list of todos?

  • git diff
  • git push
  • git clone
  • git gone
  • Ah, Sunday; break time!
double = 1234567890123456789
string = "Yes, I've made this up"
stringYo = "Ever heard of jonScript?"

Girl on cliff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment