close
Drempd Web Design
home portfolio blog resume adventures contact
home portfolio

Git Ignore a Directory

December 12, 2015 Filed in: web development, git

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.

Related Posts


Importing Large MySQL Files into PHPMyAdmin

The default file size for uploading mysql dump files into PHPmyadmin is around 2mb. I needed to upload a 160mb file...
Read Post

Flatten a Wordpress Website to HTML and CSS

I recently inherited a whole bunch of wordpress websites for one of my clients -- in fact I think one of the first times it dawned on me that I would have to start working with these sites is when one of them got hacked...
Read Post

Designers Should Just Learn to Code

Of course all of the time spent learning a new piece of software could just be spent learning how to code...
Read Post

  • adventure

    • adventure
    • adventure thoughts
    • backpacking
    • biking
    • gravelgrinding
    • hiking
    • running
    • trips
  • Web Dev

    • android app dev
    • css
    • entrepreneurship
    • git
    • handlebars
    • html
    • inkscape
    • js & jquery
    • marketing
    • photoshop
    • php
    • projects
    • quickbits
    • sass
    • ux
    • web design
    • web development
  • The Built Environment

    • architecture
    • urbanity
  • Society

    • atheism
    • politics
    • society
  • Projects

    • ctitch
    • strymr
    • web projects
    • zindrop
  • Other

    • elements
    • favorites
  • Lifestyle

    • freelancelife
    • freelancing
    • ideallife
    • productivity

drempd | san diego, ca


home portfolio blog web elements resume adventures


Contact

Submitting...

Thank you for contacting me, we'll be in touch!

Thanks,
Forrest


Close this window

There was an error submitting your request. I aplogize for the inconvenience.


Close this window
Cancel