Skip to content

Instantly share code, notes, and snippets.

View SoyDiego's full-sized avatar

Diego Franchina SoyDiego

View GitHub Profile
@0guzhan
0guzhan / git_tips.txt
Last active July 3, 2020 11:34
Undo git push and git commit
# undo last push
git push -f origin ab123c4:master
# undo last commit
git reset --hard HEAD~2
# undo last push (7cdab32)
git push origin +7cdab32^:master
# show last commit changed files
@joshbuchea
joshbuchea / semantic-commit-messages.md
Last active November 16, 2024 16:15
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

@bradtraversy
bradtraversy / eslint_prettier_airbnb.md
Created July 19, 2019 17:54
ESLint, Prettier & Airbnb Setup

VSCode - ESLint, Prettier & Airbnb Setup

1. Install ESLint & Prettier extensions for VSCode

Optional - Set format on save and any global prettier options

2. Install Packages

npm i -D eslint prettier eslint-plugin-prettier eslint-config-prettier eslint-plugin-node eslint-config-node