Skip to content

Instantly share code, notes, and snippets.

@RenatoExpert
Created June 16, 2022 17:40
Show Gist options
  • Save RenatoExpert/325205640a2681a9c5ae3953eae31a37 to your computer and use it in GitHub Desktop.
Save RenatoExpert/325205640a2681a9c5ae3953eae31a37 to your computer and use it in GitHub Desktop.
This is script is an terminal emulator for use git commands faster
#!/bin/bash
# This is script is an terminal emulator for use git commands faster.
# I like to use it in a tmux panel, when Im developing software. This way
# I can work a bit faster.
while true
do
read -p "$ git " COMMAND
# If no command is sent, it will consider as status (git status)
COMMAND="git ${COMMAND:-status}"
eval "${COMMAND}"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment