php - How can I not upload sqlite db to heroku through git? -


i creating facebook app migrating on heroku due lack of ssl security on site hosting before. using sqlite db php in app. new git , don't know it. basics of how push local repo heroku's servers. have question not uploading file. in future may need make changes app, when re-push repo heroku, database gets wiped out , refreshed data have stored locally in db. have looked both ".gitignore" file , "git update-index --assume-unchanged filename.ext". neither of these methods work. i'd appreciate suggestions guys experienced git , how go uploading sqlite database.

thank you, bryce

git update-index --assume-unchanged filename.ext 

really should work long don't explicitly re-add file (like using git add .). use git status make sure file isn't marked modified before commit.

another option deploy different database file in production; way changes dev database isn't important.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -