refactor(sapling): run addremove before committing
When running commit, any new file that has been created dose not show up ready to be committed. I am running commit in interactive mode so it dose not get committed automatically. I can then choose if I want to actually commit the file
This commit is contained in:
parent
2b6097dc9e
commit
3f3b98bf1b
1 changed files with 1 additions and 1 deletions
|
|
@ -2,7 +2,7 @@
|
|||
# can mostly replace `g` with `s` and you are using sapling instead of git.
|
||||
alias s="\\sl"
|
||||
alias sl="\\sl log --pager never --remote -r '.::top() or last(::., 40)'"
|
||||
alias sc="\\sl commit -iv"
|
||||
alias sc="sl addremove . && \\sl commit -iv"
|
||||
alias sd="\\sl diff"
|
||||
alias ss="\\sl status"
|
||||
alias sco="\\sl log -r 'heads(draft())' | fzf --ansi | cut -d' ' -f3 | xargs \\sl goto"
|
||||
|
|
|
|||
Loading…
Reference in a new issue