Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 455 Bytes

subrepo.md

File metadata and controls

17 lines (16 loc) · 455 Bytes

Link of git subrepo

  1. Open Git Bash
  2. git clone https://github.com/ingydotnet/git-subrepo /path/to/git-subrepo
  3. nano .bash_profile
  4. Put this inside
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
  1. pwd
  2. nano .bashrc
  3. 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"