Skip to content

Instantly share code, notes, and snippets.

View jonatasjsonar's full-sized avatar

Jônatas Melo jonatasjsonar

View GitHub Profile
@jonatasjsonar
jonatasjsonar / markdown-details-collapsible.md
Created March 26, 2021 17:40 — forked from pierrejoubert73/markdown-details-collapsible.md
How to add a collapsible section in markdown.

A collapsible section containing markdown

Click to expand!

Heading

  1. A numbered
  2. list
    • With some
    • Sub bullets
@jonatasjsonar
jonatasjsonar / git_commit_wrong_email.txt
Last active March 26, 2021 17:40 — forked from carlosmcevilly/gist:2221249
fix git commit with wrong email address in git config, before pushing
If:
- you add and commit with the wrong email address in git, and
- your remote has a hook set up to prevent you from pushing with the bad address
Then you need to amend the author of your commit before push can succeed:
1. fix your email address in git config:
$ git config user.name "Your Name"