Sometimes information regarding git are more detailed and easier accessible when using git-bash than using TortoiseGit. Therefore, I would want to use git-bash for very specific issues (e.g. creating a branch/checkout at the same time and commit uncomitted changes).
git checkout -b my_new_branch
git commit
Could I work with TortoiseGit without any problems afterwards? And vice versa?
bash
shell to Windows. What you run in Git bash are just regular programs shipped with Git for Windows (withgit
being the major top-level one). You can easily run these commands in plain shell (cmd.exe
) or in any 3rd-party shell emulator (likeConsole
) on in PowerShell etc. The only requirement to do so is to tick the correct setting in the GfW installer as explained here.