AutoYADM commit: 2025-04-13 15:15:06
This commit is contained in:
parent
996adedf4f
commit
3954427eaf
3 changed files with 25 additions and 0 deletions
22
.config/just/justfile
Normal file
22
.config/just/justfile
Normal file
|
@ -0,0 +1,22 @@
|
|||
default:
|
||||
@just -g --list
|
||||
|
||||
# confirm the recipe pwd
|
||||
pwd:
|
||||
pwd
|
||||
|
||||
# commit all? extra-opts?
|
||||
commit arg="" extra="":
|
||||
#!/bin/fish
|
||||
if test "{{ arg }}" = 'all'
|
||||
git add .
|
||||
git commit {{ extra }}
|
||||
else if test "{{ arg }}" = ""
|
||||
git commit -a $extra
|
||||
else
|
||||
echo '{{ arg }} is not a valid argument!'
|
||||
end
|
||||
|
||||
# commit all? --amend
|
||||
amend arg="":
|
||||
@just -g commit {{ arg }} "--amend"
|
Loading…
Add table
Add a link
Reference in a new issue