Skip to content

Instantly share code, notes, and snippets.

@lamby
Forked from hmarr/gitsh
Created February 11, 2014 18:51
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 lamby/8941457 to your computer and use it in GitHub Desktop.
Save lamby/8941457 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo -n "gitsh% "
while read line; do
if [ "$line" = ":exit" ]; then
exit
fi
sh -c "git $line"
echo -n "gitsh% "
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment