This commit is contained in:
parent
c449dfcb5f
commit
559939e2f4
49 changed files with 729 additions and 252 deletions
13
.local/bin/scripts/grt
Executable file
13
.local/bin/scripts/grt
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
args=()
|
||||
shopt -s extglob
|
||||
while [ "$#" -gt 0 ]; do
|
||||
case "$1" in
|
||||
+(^)) args+=("HEAD$1");;
|
||||
*) args+=("$1");
|
||||
esac
|
||||
shift
|
||||
done
|
||||
|
||||
git reset "${args[@]}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue