Skip to content

Instantly share code, notes, and snippets.

@ashx3s
Last active March 6, 2023 20:31
Show Gist options
  • Save ashx3s/d3be09bce08b2eae2a43a7058ce7ba2e to your computer and use it in GitHub Desktop.
Save ashx3s/d3be09bce08b2eae2a43a7058ce7ba2e to your computer and use it in GitHub Desktop.
Global Gitignore Achievement

Global Gitignore Achievement

Instructions

  1. Follow the instructions on the Github Docs Website to create a .gitignore in your home directory
    • you can also review this gist which basically says the same thing
  2. Take a screenshot of your terminal with the commands that you used to set up your global gitignore. also screen shot the contents of your global gitignore file (opened in vscode)
  3. Set up a repo on your desktop don't create from github first
    • add tailwind to it
    • don't add a gitignore to the repo
    • push it and verify that the os level and npm level files aren't being added to the project.
  4. Add the screenshot to your repo and push it
  5. Reflection Questions
    • Having spent some time using the commandline and git, were the documentation instructions easier to understand then when we were first learning git?
    • What is 1 question that you have about git still? (can be related to global gitignore or not)

Rubric

Proof of Concept 2.5

  • Screenshot depicts proper command usage
  • gitignore not in repo, and neither are the unwanted files

Exit Ticket Questions 2.5

Submission

  • Submit a link to your git repo
  • Submit a zipped folder of your git repo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment