Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to change default Terminal in Source Tree on windows

I am working on Windows 7 with Source Tree. Because I don't like the default cmd.exe I want to change it to Console2 such that Source Tree will open Command2 instead of Cmd as terminal.

like image 742
Alex Avatar asked Aug 12 '14 07:08

Alex


People also ask

How do I change the default terminal in Windows Terminal?

Launch the Windows Terminal app, select the down-arrow menu, and click “Settings.” Or, you can press Ctrl+, (comma) to open “Settings” directly. Click on the drop-down for “Default Terminal application” and choose Windows Terminal from the list.

How do I change my local repository in SourceTree?

If you already have a repository, you can view it in SourceTree. Click New, then Add Existing Local Repository. Select the repository your wish to add, then click Open. Your added repository appears under Local.

Is Git required for SourceTree?

Yes, Sourcetree comes with an embedded version of Git when you install it. Sourcetree 3.4.


1 Answers

It appears you can't do it, at least in any obvious way. There are a couple of solutions/workarounds that you can use here:

  1. Pick a different favorite terminal. ConEmu is a wrapper for CMD.exe that will act as your default terminal if you tell it to [I thought Console2 could do this as well]. Also - forgive the editorial - ConEmu is way, way, better than Console2.

  2. You can add a custom action in the menu. From the global options go to Custom Actions tab and add an action to Open in Terminal using the console you want. This isn't quite as cool as just hitting the terminal icon, but you can easily accomplish the same outcome.

Unfortunately, these are the best there are for now.

Note: Based upon the link that @sendmoreinfo posted, waiting for Atlassian to add this by default may be better way to go for your purposes. Only problem with that may be is that according to some the newest updates to Source tree are terrible, so I haven't updated as of yet.

Note 2: Though this won't do what you want, there is an Option in the settings under the Git Tab that allows you to Set Git Bash as default prompt. That may or may not get you closer to where you want to be.

like image 102
dgo Avatar answered Sep 30 '22 06:09

dgo