WriteOn / writeon.io

A marketing site without distraction for WriteOn
http://writeon.io
GNU General Public License v3.0
0 stars 0 forks source link

:rocket: crap #10

Closed thinq4yourself closed 9 years ago

thinq4yourself commented 9 years ago

One must be careful not to .gitignore an app directory and thus remove the app from source control. I will be fixing this and correcting the process as to help avoid this in the future.

However, I assigned to beard to make a point to let you know about this. The latest commit has removed your wee lil app due to a pretty substantial error in the gitignore flow.

thinq4yourself commented 9 years ago

Resetting to the last, most proper point in history: fb1d3aa288357d3fffe83c560164290fa0b00a28

Local reset:

$ git reset --hard fb1d3aa

Remote reset:

$ git push -f origin fb1d3aa:master

Local fixes and bring up to date:

$ git add --all $ git commit -m "the change log" $ git push origin master

This is going to rewrite history. You may be disappointed in the future. See you in the past.

thinq4yourself commented 9 years ago

See above comment, which closes this issue

yaboi commented 9 years ago

Ah, yes. The app and test folders were being ignored for a push to heroku. While the dist folder and newrelic.js file were being ignored for a push to github.

Wasn't a mistake, just a lack of documentation up and beyond the #Uncomment to push to heroku and #Uncomment to push to github inline in the .gitignore file.