tags:

views:

79

answers:

3

I backed up my database to GIT just so I could get the db at my home computer.

I don't want this file to be versioned, it was just a 1 time thing really.

Can I delete it for good so GIT doesn't keep track of it going forward or historically?

A: 

Create a copy of it, delete the original one with 'git rm original.db', commit the change and move the copied file back to the original location.

Tomas Markauskas
-1, doesn't remove db from history.
jamessan
+2  A: 

You can with git filter-branch's --index-filter.

jamessan
+1  A: 

I always find Guides: Completely remove a file from all revisions feed helpful.

Alan Haggai Alavi