- Open Git Bash
git clone https://github.com/ingydotnet/git-subrepo /path/to/git-subrepo
nano .bash_profile
- Put this inside
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
pwd
nano .bashrc
- Put this inside
export GIT_SUBREPO_ROOT="/path/to/git-subrepo"
export PATH="/path/to/git-subrepo/lib:$PATH"
export MANPATH="/path/to/git-subrepo/man:$MANPATH"