Did you know that you can navigate the posts by swiping left and right?

Setup git bash prompt on Mac

05 Feb 2017 . category: devops . Comments
#git #mac

Here is the git repo and readme

Basically you can install it any number of ways however, I find simply using git easy.

cd ~
git clone https://github.com/magicmonty/bash-git-prompt.git .bash-git-prompt --depth=1


Add to the ~/.bashrc:

  GIT_PROMPT_ONLY_IN_REPO=1
  source ~/.bash-git-prompt/gitprompt.sh

This will get you basically setup.

There are many more configs here.


Me

Jeremy Miller is an awesome person. He lives in the Midwest, where he works in Linux Administration. In his spare time, Jeremy likes to develop.