Created
June 16, 2022 17:40
-
-
Save RenatoExpert/325205640a2681a9c5ae3953eae31a37 to your computer and use it in GitHub Desktop.
This is script is an terminal emulator for use git commands faster
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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