You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wanted to share this with my fellow DevOps developers, but they are strictly Windows.
I couldn't find clear, step-by-step instructions (I might have not searched correctly) and so I came up with a short blurb explaining how to access bash-git, and optionally set it up to be part of Windows Terminal.
I hope this helps out others, and maybe even becomes an instruction file in the repo.
Instructions for Windows users:
** The instructions assume you have a directory at the root of your profile named source in which your source code goes. If that is not the case, you will want to change the %USERPROFILE%\source and ~/source values in the commands below.
To run the exercises on Windows, you need to run in git-bash, by either:
Right-clicking a directory and choosing "Open Git Bash here"
Running the following command*:
git-bash --cd="%USERPROFILE%\source"
* This opens a new mintty terminal window, running bash. See Windows Terminal Profile section below for an alternative.
From within git-bash, you will be able to run the commands from the web site and initialize the exercises.
Windows Terminal Profile
If you prefer to use Windows Terminal instead of mintty, follow the steps below to add a git-bash profile:
Awesome project!
I wanted to share this with my fellow DevOps developers, but they are strictly Windows.
I couldn't find clear, step-by-step instructions (I might have not searched correctly) and so I came up with a short blurb explaining how to access bash-git, and optionally set it up to be part of Windows Terminal.
I hope this helps out others, and maybe even becomes an instruction file in the repo.
Instructions for Windows users:
** The instructions assume you have a directory at the root of your profile named
source
in which your source code goes. If that is not the case, you will want to change the%USERPROFILE%\source
and~/source
values in the commands below.To run the exercises on Windows, you need to run in
git-bash
, by either:git-bash --cd="%USERPROFILE%\source"
* This opens a new
mintty
terminal window, running bash. See Windows Terminal Profile section below for an alternative.From within
git-bash
, you will be able to run the commands from the web site and initialize the exercises.Windows Terminal Profile
If you prefer to use Windows Terminal instead of
mintty
, follow the steps below to add agit-bash
profile:bash --noprofile --norc -c 'echo Starting bash...; cd ~/source; exec bash --login -i'
git-bash
inside Windows Terminal.The text was updated successfully, but these errors were encountered: