Author: Chris Lattner
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 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> |
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 🙂.
git commit --amend
This will open your $EDITOR
and let you change the message. Continue with your usual git push origin master
.