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:
git
is in your $PATH
.rc
file 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 subrepo
commands.
The "shell startup configuration" is the .rc
file which is where you have cloned the repository (in /c/path/to/your/git-subrepo/clone
within a git bash session)
If you clone in C:\Users\Me\git-subrepo, you would need to type in a bash session:
source /c/Users/Me/git-subrepo/.rc' >> ~/.bashrc
The OP wiyosaya did (in the comments):
touch ~/.bashrc
echo source /c/GitHub/git-subrepo/.rc >> ~/.bashrc