9

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?

kostix
  • 51,517
  • 14
  • 93
  • 176
user3621280
  • 123
  • 1
  • 6
  • In your place I used cygwin. – peterh May 15 '14 at 14:56
  • Note that Git bash is nothing more than port of the [`bash`](http://www.gnu.org/software/bash/) shell to Windows. What you run in Git bash are just regular programs shipped with Git for Windows (with `git` being the major top-level one). You can easily run these commands in plain shell (`cmd.exe`) or in any 3rd-party shell emulator (like `Console`) on in PowerShell etc. The only requirement to do so is to tick the correct setting in the GfW installer as explained [here](http://stackoverflow.com/a/20165901/720999). – kostix May 15 '14 at 16:23

2 Answers2

12

Yes. tortoise-git is just a user interface to the command line tools which just interpret the .git subdir in your project's directory. You can use them both on the same project, though running actions concurrently might cause problems, I'm not sure.

Gareth Davidson
  • 4,857
  • 2
  • 26
  • 45
0

Based on this FAQ question I would say it depends on what kind of git implementation you are using.

Logman
  • 4,031
  • 1
  • 23
  • 35