git-subrepo
git-subrepo copied to clipboard
Install on windows instructions
On Windows one does generally use git bash but just git as a global command in path. I see there's a method to install subrepo as a sub command of git via Makefile but Make is generally not installed on Windows. A set of instructions on how to install it manually on Windows would be really useful.
Related to Issue https://github.com/ingydotnet/git-subrepo/issues/209
I can comment on this. Mostly this is in the installation instructions.
- Clone git-subrepo. Checkout the release branch (currently release/0.4.0)
- In control panel --> system --> advanced --> environment variables, create a new environment variable GIT_SUBREPO_ROOT and set it to the location where you cloned git-subrepo
- While you are adding environment variables, also update your PATH to include the location of git-subrepo and the location of git-subrepo/lib
- Close any open shell windows and reopen them, or to be really sure that you get the updated path, reboot.
- Open a fresh shell window (cmd.exe) and try "git subrepo".
do we need/have a PR to ammend the docs as per @skelliam suggestion?
@skelliam's instructions work and should make it to the main README. One caveat is that you got to be working with /
instead of \
when adding a subrepo.