Skip to content

Instantly share code, notes, and snippets.

View Camvillard's full-sized avatar

camille villard Camvillard

View GitHub Profile
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active September 16, 2026 07:39
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@zulhfreelancer
zulhfreelancer / heroku_pg_db_reset.md
Last active August 22, 2026 03:28
How to reset PG Database on Heroku (for Rails app)?

It's important to note that running this reset will drop any existing data you have in the application

How to reset PG Database on Heroku?

  • Step 1: heroku restart
  • Step 2: heroku pg:reset DATABASE (no need to change the DATABASE)
  • Step 3: heroku run rake db:migrate
  • Step 4: heroku run rake db:seed (if you have seed)

One liner