brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
brew install git bash-completion
Configure things:
git config --global user.name "Your Name"
git config --global user.email "you@example.com"
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
Commit type | Emoji |
---|---|
Initial commit | 🎉 :tada: |
Version tag | 🔖 :bookmark: |
New feature | ✨ :sparkles: |
Bugfix | 🐛 :bug: |
#Source and export of git-promt.sh | |
source ~/git/git-prompt.sh | |
#Colors | |
RESET="\[\033[0m\]" | |
RED="\[\033[01;31m\]" | |
GREEN="\[\033[01;32m\]" | |
BLUE="\[\033[01;34m\]" | |
YELLOW="\[\033[01;33m\]" | |
CYAN="\[\033[01;36m\]" |
Notes for some of the common but complicated things I do in git. All in one place so that I can copy and paste them!
When setting up a new local repo follow these steps to create a triangle that makes pull requests and other 'GitHub' specfic tasks easier to handle.
# This is the main repo such as git@github.com:OpenLiberty/open-liberty.git