Skip to content
  • home
  • portfolio
  • web design journal
  • blog
    • adventure
    • san diego
    • projects
    • website design
Blog Web Dev Git Ignore a Directory

Git Ignore a Directory

By Forrest Smith - Drempd.com

There is a folder within a project that you don’t want to be tracked with git, to do this on a windows computer:

1. In the project folder managed by git, make a new file named ‘.gitignore.’ (no quotes, but with periods at both ends — it will automatically be changed to ‘.gitignore’

2. Add this bit of text ‘/foldertoignore/*’ (again, no quotes)

3. Save the file

All files within that folder should no longer be part of the git project.

Posted on December 12, 2015August 26, 2022 in Web Dev
  • Adventure

    • adventure
    • gravelgrinding
    • hiking
    • running
  • The Built Environment

    • architecture
    • urbanity
  • Locations

    • san diego
    • portland
  • Freelance Life

    • freelancing
    • productivity
  • Web Dev

    • css
    • entrepreneurship
    • git
    • handlebars
    • html
    • inkscape
    • photoshop
    • php
    • sass
    • web design
    • web development
    • saphire

drempd | san diego, ca


home contact

adventures san diego urbanity and architecture projects stream website design

portfolio resume san diego web design freelance web designer

custom web design responsive web design website maintenance