Skip to content

Instantly share code, notes, and snippets.

View RicardoBritoBrens's full-sized avatar
🏠
Working from home

Ricardo Brito Brens RicardoBritoBrens

🏠
Working from home
  • Dominican Republic, Santo Domingo
  • 19:32 (UTC -04:00)
View GitHub Profile
@shcyiza
shcyiza / car_brands.json
Created September 2, 2019 21:30
list of car brands name and logo in JSON format
[
{
"logo": "https://www.car-logos.org/wp-content/uploads/2011/09/abarth1.png",
"name": "Abarth"
},
{
"logo": "https://www.car-logos.org/wp-content/uploads/2011/09/ac-cars.png",
"name": "AC"
},
{
@nepsilon
nepsilon / git-change-commit-messages.md
Last active June 2, 2024 23:31
How to change your commit messages in Git? — First published in fullweb.io issue #55

How to change your commit messages in Git?

At some point you’ll find yourself in a situation where you need edit a commit message. That commit might already be pushed or not, be the most recent or burried below 10 other commits, but fear not, git has your back 🙂.

Not pushed + most recent commit:

git commit --amend

This will open your $EDITOR and let you change the message. Continue with your usual git push origin master.

@JamesMGreene
JamesMGreene / gitflow-breakdown.md
Last active July 19, 2024 01:24
`git flow` vs. `git`: A comparison of using `git flow` commands versus raw `git` commands.

Initialize

gitflow git
git flow init git init
  git commit --allow-empty -m "Initial commit"
  git checkout -b develop master

Connect to the remote repository

@mobilemind
mobilemind / git-tag-delete-local-and-remote.sh
Last active July 2, 2024 00:02
how to delete a git tag locally and remote
# delete local tag '12345'
git tag -d 12345
# delete remote tag '12345' (eg, GitHub version too)
git push origin :refs/tags/12345
# alternative approach
git push --delete origin tagName
git tag -d tagName