Skip to content

Instantly share code, notes, and snippets.

View JuanequeX's full-sized avatar
🪐
Working from home

Juan Aguilar JuanequeX

🪐
Working from home
View GitHub Profile

Quick Info

Migrations? 👎

What does this change?

Why are you changing that?

@JuanequeX
JuanequeX / PULL_REQUEST_TEMPLATE.md
Created June 28, 2023 18:21
Pull request template

Quick Info

Migrations? 👎

What does this change?

Why are you changing that?

@JuanequeX
JuanequeX / database.example.ynml
Created January 12, 2023 01:26
This is a example of postgraseql database.yml
default: &default
adapter: postgresql
user: <%= ENV['DATABASE_USER'] %>
password: <%= ENV['DATABASE_PW'] %>
host: <%= ENV['DATABASE_HOST'] %>
port: <%= ENV['DATABASE_PORT'] %>
encoding: unicode
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
development:

To modify commit bbc643cd, run:

$ git rebase --interactive 'bbc643cd^'

the caret ^ at the end of the command, because you need actually to rebase back to the commit before the one you wish to modify.

In the default editor, modify pick to edit in the line mentioning bbc643cd.