Skip to content

Instantly share code, notes, and snippets.

View catalandres's full-sized avatar

Andrés Catalán catalandres

View GitHub Profile
@lattner
lattner / TaskConcurrencyManifesto.md
Last active November 15, 2024 05:45
Swift Concurrency Manifesto
@jstvz
jstvz / sfdx_maps.vim
Last active June 21, 2022 21:15
*DEPRECATED*: Salesforce DX aliases and shell completions for working with sfdx in zsh and vim
" SFDX mappings
" Requires https://github.com/skywind3000/asyncrun.vim
let mapleader = "\<Space>"
nmap <leader>fst :AsyncRun sfdx force:source:status<CR>
nmap <leader>fsp :AsyncRun sfdx force:source:push<CR>
nmap <leader>wfsp :w<CR> :AsyncRun sfdx force:source:push<CR>
nmap <leader>fsl :AsyncRun sfdx force:source:pull<CR>
nmap <leader>fol :AsyncRun sfdx force:org:list<CR>
@nepsilon
nepsilon / git-change-commit-messages.md
Last active September 7, 2024 11:11
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.