Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@wilhelmtell
Created October 13, 2010 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilhelmtell/624096 to your computer and use it in GitHub Desktop.
Save wilhelmtell/624096 to your computer and use it in GitHub Desktop.
#!/bin/bash
# git read eval print loop
P='git> ';
echo -e -n "$P";
while read L; do
if [ "$L" = "quit" -o "$L" = q ]; then
break;
fi;
git "$L";
echo -e -n "$P";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment