I know there are instructions to install gitsubrepo in Git for windows here.
I understand what I have to do, however, I do not know where to find the shell startup script. I have installed the Git Bash shell, and I am at a loss for where its shell startup script is located.
Does anyone know where the startup script is?
As long as:
gitis in your$PATH.rcfile has been added to your.bashrc(source /path/to/git-subrepo/.rc' >> ~/.bashrc, done from a git bash session)You can use a regular git-bash shell, and start typing
git subrepocommands.The "shell startup configuration" is the
.rcfile which is where you have cloned the repository (in/c/path/to/your/git-subrepo/clonewithin a git bash session)If you clone in C:\Users\Me\git-subrepo, you would need to type in a bash session:
The OP wiyosaya did (in the comments):
touch ~/.bashrcecho source /c/GitHub/git-subrepo/.rc >> ~/.bashrc