Skip to content

Instantly share code, notes, and snippets.

View SauloSilva's full-sized avatar

Saulo Santiago SauloSilva

View GitHub Profile
@SauloSilva
SauloSilva / git_pc
Last active October 18, 2015 14:21
git pc
#!/bin/bash
CURRENT_BRANCH=$(git rev-parse --abbrev-ref HEAD)
COMMIT_MESSAGE=$1
echo -e "$(tput setaf 2)** Executing Status command$(tput sgr0)"
git status
echo -e "\n$(tput setaf 2)\n** Executing add command$(tput sgr0)"
git add .