initial commit: git wrappers

This commit is contained in:
Levi Neely 2026-04-09 15:02:58 +02:00
commit 333924da32
6 changed files with 27 additions and 0 deletions

6
git/G+ Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env rc
if(~ $#samfile 0) {
echo 'G+ must be run inside acme' >[2=1]
exit 'no samfile'
}
git add $samfile

2
git/G++ Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env rc
git add .

6
git/G- Executable file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env rc
if(~ $#samfile 0) {
echo 'G- must be run inside acme' >[2=1]
exit 'no samfile'
}
git reset HEAD -- $samfile

2
git/G-- Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env rc
git reset HEAD

2
git/Gc Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env rc
git commit -m $"*

9
mkfile Normal file
View File

@ -0,0 +1,9 @@
install:V:
cp git/G+ $HOME/bin/G+
cp git/G++ $HOME/bin/G++
cp git/G- $HOME/bin/G-
cp git/G-- $HOME/bin/G--
cp git/Gc $HOME/bin/Gc
clean:V:
rm -f $HOME/bin/G+ $HOME/bin/G++ $HOME/bin/G- $HOME/bin/G-- $HOME/bin/Gc