youngmon/atlassian-qna huggingface dataset:
Download problems: the web site asks for a password
Asked by Emanuele Baglini:

Hello,

I'm trying to re-download SourceTree from the website, but i get my browser asking for a password.

Could you please help me?

Thank you.

Best regards,

Emanuele


Answers:
author: stevestreeting
body: This is triggered if your browser forces the use of HTTPS regardless of what the link points to. <httpS://downloads.atlassian.com> prompts for a password, but all the links point to <http://downloads.atlassian.com> - a common cause is using a blanket HTTPS forcer like[HTTPS Everywhere](https://www.eff.org/https-everywhere).

I've raised with our sysadmins whether we could avoid differentiating between HTTP and HTTPS but for operational reasons that distinction must remain for now.


author: Nic Brough -Adaptavist-
body: Not really. There's no password required to download it from Atlassian's site, and you haven't given us any information about the password prompt you are seeing.

In the absence of other information, the best we can tell you is that it's something on your machine or network (a network proxy is the usual culprit of interrupted browsing) and you need to fix it on your side.

comments: author: Nic Brough -Adaptavist-
body: Ah, yes, that one bites me as well ;-)


author: Emanuele Baglini
body: Ok, you are right... my fault.

I'm using the extension HTTPS everywhere in my Chrome and it force to https the atlassian web site. I disabled it for atlassian web site and it works!
How to get sourcetree to ignore branches
Asked by Damo:

So I am finished using the branch "automationtests" for now. I don't want to delete the branch on the git repo. How do I get tell SoureTree that I don't want it to be in its push list anymore?

Thanks,

Damien

![](../../upfiles/Screen_Shot_2012-10-17_at_09.44.38.png)


Answers:
author: stevestreeting
body: The default branch pushing mode is 'Matching' which means if there's a branch named the same thing on the remote, it will be checked by default.

You can change this in Preferences \> Git \> Push branches; the meanings are the same as the gitconfig option:

1. matching (default) - push all branches which have a matching branch name on the selected remote
2. current - push the current branch to a branch of the same name on the remote
3. upstream - push the current branch to its tracking branch on the remote
4. nothing - push nothing by default

comments: author: Damo
body: Thanks Steve


author: stevestreeting
body: Another option is to delete the branch of course (on either end), but I was assuming you didn't want to do that.


author: alex351
body: Where is \`Preferences \> Git \> Push branches\`

There is no Preferences menu. Only: Tools \> Options.


Tags: branch
Switching repo users
Asked by R R:

I've connected to a repo while a while ago with an old user account on the git repo since my own one wasnt active yet. Now mine is but the old one is disabled. How can I switch the users without importing the repo again?


Answers:
author: LucasA
body: Hello,

If you cannot edit the OAuth settings of your actual repo, you'll have to import it again.

Lucas Lima

Atlassian Support
HEAD branch is behind master in SourceTree
Asked by sloppysteven:

Somewhat new to source control and Sourcetree.I checked out a previous commit and it created a HEAD branch (that is not acting like a branch at all).

I want to go back to only having one branch (master). Please help!

![](http://edwon.tv/wordpress/wp-content/uploads/2012/09/Screen-Shot-2012-10-15-at-4.15.22-PM.png)


Answers:
author: sloppysteven
body: so what I found is that I needed to create a branch from my "HEAD" branch (which isn't really a branch at all) using the new branch command. At that point head is gone! yay! Then I was able to merge that branch with master and delete the unwanted branch I had created from HEAD.

comments: author: stevestreeting
body: You could also have checked out an existing branch, then used right-click on the latest commit and selected Reset \<branch\> to this commit to move the branch pointer to where you want it to be.

When HEAD is displayed, it means that you're on a detached HEAD, which means you have no branch checked out and any commits won't move any branches when they're made. If you checkout a detached HEAD in SourceTree, it will warn you fairly obviously, so maybe this was done on the command line beforehand and you saw the after effects in SourceTree.


author: Neil R
body: @edwon 's advice worked for me

@steve did not; when I cheked out an existing branch, I lost of my my changes on a detached HEAD (luckily did a backup beforewards).


Tags: branch

git

merge
Assembla not work with Sourcetree
Asked by Emanuel BG:

"This is not a valid source path / URL"

this is the message I get. And the URL is correct: "https://subversion.assembla.com/svn/repo/" and i tried this also "https://username@subversion.assembla.com/svn/repo/" and not work to

How to configure Assembla on Sourcetree?


Answers:
author: Vishwajeet Singh
body: May be just because you are using a Subversion repository and Sourcetree supports GIT and Mercurial.
How do I show the summary of files changed in Log View?
Asked by Cameron Maunder:

I want to be able to see a list of all files changed for any given commit.

Ine the Log section of the help file there is a screen shot that includes a pane in the bottom left of the screen listing files changed for the selected commit. This window does not appear for me - instead the bottom half of the screen is taken up by the 'preview' diff.

I feel like I'm missing something really obvious here...?

Cam


Answers:
author: stevestreeting
body: There's a user-sizeable dividing line running vertically between the file list (and commit details) and the diff pane - it's possible that this has been dragged all the way to the left, displaying only the diff. If you place your pointer on the leeft edge of the diff, you should find it becomes a splitter resizing widget and you can drag the divider back to the right to see the rest. The default position is usually about 1/3 of the way across the area.

comments: author: Cameron Maunder
body: Ahh there it is... nice, thanks a bunch Steve

Cam


Tags: jira-software
Does SourceTree 1.5.4 on a Mac work with System Mercurial version 2.3.1?
Asked by Software Foreint:

I'm using SourceTree 1.5.4 on a Mac PowerBook Pro 10.7.5, and have it set to use System Mercurial which is version 2.3.1. When I try to create a new repository I get the following messages:

hg init -y /Users/sshantz/myrepo

abort: No module named repo!

Completed with errors, see above

If I reset to the embedded Mercurial I can create a new repo without any problem. Does SourceTree support using Mercurial 2.3.1?

Thanks, Steve


Answers:
author: stevestreeting
body: I hadn't tried hg 2.3 yet, but I just did so and it appears they've made another breaking change to the module structure which breaks the hgsubversion extension. Very annoying when they do this!

For the moment, the workaround is to either use the embedded hg 2.2.x, or disable the hgsubversion extension in Preferences \> Mercurial (uncheck the box next to hgsubversion). Either way worked for me, but obviously with the latter approach you won't be able to interact with Subversion servers.

comments: author: stevestreeting
body: Bug being tracked here: <https://jira.atlassian.com/browse/SRCTREE-1220>
Why can't I download SourceTree?
Asked by Shane Aldrich:

I've been trying for the last two days to download SourceTree. Each time I'm presented with a dialogue box that asks for username and password. I enter my Atlassian information and the box appears again. I want to try this out with bitbucket for a small project I'm working on. This is extremely frustrating.


Answers:
author: rverschoor
body: Not sure what's happening here.  
I just verified that downloading from a non-Atlassian employee's machine also works fine, without asking for a username/password.

Can you try downloading with another browser?  
Also try downloading from the direct link <http://downloads.atlassian.com/software/sourcetree/SourceTree_1.5.4.dmg>

If that doesn't help, you can go to <https://transfer.atlassian.com>Login with username=stree154 and password=hB3dIopN.  
For a limited time the download will be available there.

comments: author: Shane Aldrich
body: It worked in Safari. I tried the direct download in Chrome with the same result. Maybe the download expired on the last link, used the login information you provided and it said unable to authenticate user. But, I've got it now. Thanks! (Not sure why it's not working in Chrome though)


author: stevestreeting
body: I've had this reported once before. What I've spotted is that in the screenshot, you're connecting to port 443, ie HTTPS instead of HTTP. [downloads.atlassian.com](http://downloads.atlassian.com) definitely requires a login if you try to use the HTTPS address but all our links from the website, and Rene's direct link above, point to HTTP.

The only explanation is that something your end is forcing your browser to request HTTPS instead of accepting the HTTP link. Maybe you have a proxy setup or some other security set up in Chrome which is causing this?


author: Shane Aldrich
body: OK. Disabling HTTPS everywhere for Atlassian did the trick. I imagine that this would cause problems in other browsers as well. Thanks again for your help!


author: Shane Aldrich
body: That would explain it. I use HTTPS everywhere. I'm going to try to disable it and try again for testing purposes. I'll report back in a few.


author: stevestreeting
body: Great, I've reported this to our sysadmin team as a potential source of confusion to see if we can prevent it in future for people who use these kinds of extensions.


author: Philip Scacchetti
body: I get an error each time I try, the download is looking for a file to extract that is missing


author: Philip Scacchetti
body: There seems to be a problem with SourceTreeSetup-1.10.20.1.exe


author: rverschoor
body: Where are you trying to download SourceTree from?  
I've just downloaded it from [http://sourcetreeapp.com/download/](http://sourcetreeapp.com/download/.).   
It didn't ask for any user details, and downloaded just fine.

comments: author: Shane Aldrich
body: ![](../../upfiles/Google_Chrome_1.jpg)

Just tried it. Still have the same issue. I'm using Google Chrome. Here is a screenshot.


author: Shane Aldrich
body: Is there another way for me to get it? I'd like to use it tonight. I have my day job starting tomorrow.
Branch name in commits view
Asked by Horatiu Graur:

Hi,

In the commits view panel of Source Tree, how can you view exactly on what branch it's a commit? I can see the different color lines from the left but it is not clear at all which is associated with that commit and what is the name of the branch associated with the line.

I really think something as enbling display of the branch name before the commit message would help.

Thanks!

Horatiu Graur


Answers:
author: stevestreeting
body: In git, branches are never an attribute of a commit, they're simply pointers to a single commit which move as you commit to that branch, so the history is built by association via the parent links, and each commit has no branch information associated with it. This means moving branches around is very easy in Git, which is one of its strengths, although it can be confusing not to see an explicit branch in the commit metadata like you're used to in other systems. Technically the graph lines are just ancestry lines, not branch lines (although often the two are aligned).

In contrast, Mercurial does store branch information on every commit, so it's displayed in the commit details pane. This can be somewhat more intuitive than the Git way, but also not as flexible.

comments: author: Horatiu Graur
body: This means it's not doable?

I consider myself a beginner in Git so you are most likely right but what I don't get is the line colors from the left .. if they are associated with branches (as I imagine) I thought it should be possible .. but again maybe I misunderstood the lines role :)

If yes, let me know and I'll accept the answer.

Thanks!


author: stevestreeting
body: No, it's not possible to label a commit with a branch, because every commit could be in the history of more than one branch in git.

The graph lines are associated with 'lines of development', which means each commit has one or more ancestors, the first one of which will normally considered the main ancestor and will have the same colour. In git, a branch is just a pointer to an end point, so you can follow a branch backwards from where it points to see its own history, and call the line which follows the first parent of each commit the 'branch line' if you want, but technically that's not what it is - the branch is just the end point, the rest is just a graph of ancestry for how you got there. Each commit itself is not assigned to a branch, it just happens to be in the parentage of where the branch points.

This is probably one of the trickiest things to grasp in git since it differs from almost every other VCS in not marking commits with a branch when the commit is made, but having branches as pointers (which can be changed of course!) instead.
Sourcetree conflict resolution: Xcode FileMerge or Araxis Merge
Asked by Michael Brian Bentley:

When resolving conflicts, I've set merge to FileMerge and Araxis Merge (under preferences\>diff) to see how they work. When using FileMerge, the conflict resolution involves two files, but Araxis Merge \[2012 pro eval\] displays three. It is a little irritating because the third file, .BASE, doesn't seem necessary and in fact complicates the resolution process. I would like to use Araxis Merge.


Answers:
author: stevestreeting
body: Merging a conflict always involves at least 3 files:

1. The version on your own branch you had before you started merging
2. The version from the other branch that you want to merge together
3. The final merged version

In FileMerge, you see the first two at the top of the screen, and the last one at the bottom.

However, some merge tools also support using the common ancestor of both sides of the merge, which can assist it (and you) in figuring out what to do with a conflict. Araxis is one of those tools, which is why it has an extra BASE file displayed.

comments: author: Michael Brian Bentley
body: AFter some fiddling, I decided that I needed to turn off a rule allowing Araxis Merge to interpret the xib file as xml and applying fancy xml formatting, while at the same time not interpreting the base file the same way because of the conflict markers added to the file. Now they can be compared visually. And your answer clarified the differences between the FileMerge and Araxis Merge display styles. Thanks!
SourceTree crashing on launch
Asked by Paul Collins:

v1.5.3 was running fine for a while (weeks?) and I'd had it open a long time (a few days probably). It crashed, then crashed on relaunch after displaying bookmarks window momentarily. Trashing com.torusknot.\* prefs and installing 1.5.4 didn't change anything. (SourceTree_2012-09-28-162610_ProFish.crash.txt) I had to delete Application Support/SourceTree To recover.

Or so I thought. After getting back into the working copy and repo I was working on, it crashed again. Any suggestions?

(SourceTree_2012-09-28-165909_ProFish.crash.txt)


Answers:
author: BJ Miller
body: Nevermind. I saw in the crash log "Identifier: com.torusknot.SourceTreeNotMAS", and I realized that somehow I must have installed the version right from the site over top of my original MAS installation. Removed app, reinstalled from MAS, right as rain.


author: BJ Miller
body: I found this post as I am also suffering from the same crash on launch. I removed and reinstalled the latest version, and still crashes. I have a crash log from console.app, where could I send it? I am running Mac OS X 10.9.4, SourceTree v 1.9.4.1. Any help is appreciated!


author: stevestreeting
body: Looking at the stack trace, this isn't something we've encountered before and it's not clear what happened - if it happens again, please can you also provide any messages from Console.app associated with SourceTree.app?


author: Paul Collins
body: It's working now: Took a fresh look at it this morning. It had been crashing every time I opened the bookmark for my working copy/repo. I hadn't gotten around to installing the OS X 10.7.5 update, so I did that and now SourceTree seems ok. After trashing prefs, and upgrading to 1.5.4 above, I'm on Embedded Git 1.7.11.1. If it keeps working over the weekend I'll come back and close this question.
Load Sourcetree from current directory location in terminal
Asked by Greg Kerstin:

I'm frequently in the git repo I'm working with inside the terminal. I'd like to open an instance of Sourcetree from the terminal window. Is there a command I can run, either if it's a new repo that hasn't opened inside of Sourcetree as of yet, or opening a project thats already bookmarked?

The start of my troubles lies here

$sourcetree ./

```
bash: sourcetree: command not found
```

-Greg


Answers:
author: David at David Simpson Apps
body: Try here:

![](http://i.minus.com/jbmeUoNzdh2JRi.png)

Then type **stree** at the command line.

comments: author: Greg Kerstin
body: My menu shows differently

![](../../upfiles/not-showing.jpg)


author: Greg Kerstin
body: I found a 1.5.4 download right now. I'm upgrading versions and will mark solved if this helps.


author: David at David Simpson Apps
body: It looks like you we're using a different v1.5.3 to me. Different menus \& different open source libraries included. It's ashame that the exact build number isn't displayed in the "About" dialog.


author: Greg Kerstin
body: I mostly have been using the app store version of Source tree. When I grabbed the web site version, I got the additional menu items.


author: Will Moore
body: Any way to manually install this (i.e. something to add to path our source from our bashrc / bash_profile)? The menu option to "install command line tools" fails for me: <https://answers.atlassian.com/questions/30955938/sourcetree-install-command-line-tools-fails-on-yosemite-version-10.10.5>


author: k06a
body: Just found solution: <https://jira.atlassian.com/browse/SRCTREE-3172>


author: Greg Kerstin
body: I can't find the menu option SourceTree \> Install Command Line Tools I'm using 1.5.3


Tags: terminal
GUI tool for managing Stash on Different Client PC
Asked by Qadeer GHouri:

Hi ,

I have Installed Stash in a Virtual Machine, I have Installed Git- GUI/DOS

but i am not getting how to use them actually,

I want that clinets conenct with the Stash and manage their repositories Graphically rather then Command based,


Answers:
author: Qadeer GHouri
body: done


author: Harry Chan
body: Hi, there is [Tortoise Git](http://code.google.com/p/tortoisegit/) for Windows[.](http://www.queryfoundry.com) Our developers normally use Eclipse and use egit (a plugin)[.](http://www.queryfoundry.com)


author: TimP
body: Hi Qadeer,

While there are some excellent GUI tools for working with Git repositories ([Atlassian SourceTree](http://www.sourcetreeapp.com/) being one of them), I would recommend getting familiar with command line Git if you're intending to use it for any meaningful project.

[Pro Git](http://git-scm.com/book) is an awesome (and free) online book that I would strongly recommend to anyone getting into Git for the first time. It'll teach you all you need to know about the Git command line, plus all of the fundamental concepts you'll need to work with Git repositories.

cheers,

Tim


author: Qadeer GHouri
body: Thanks


Tags: bitbucket-server

git
SourceTree publickey error
Asked by knservis:

Hi,

I am using publickeys and do not keep the in the standard location. git on the command line works fine with it after I add the key to the agent using ssh-add and enter my passphrase, however sourcetree still gets an error. I tried using the system git form the settings but I still get a public key error. Any suggections on how I can configure sourcetree to work with my keys?


Answers:
author: stevestreeting
body: SourceTree picks up your SSH configuration from the standard location (\~/.ssh), so any configuration you use on the command line should work the same way, unless it's dependent on environment variables. Environment variables that are defined in your terminal won't be visible to Mac OS X apps, so if your setup is dependent on that it will cause a problem; you could try defining them explicitly to prove that.

comments: author: knservis
body: The ssh authentication agent (comes with openssh) is dependent on environment variables (SSH_AGENT_PID and SSH_AUTH_SOCK) but these are standard and not specific to my environment. I assume that ssh looks for those in order to communicate with the authentication agent.

My problem was solved by using the following, which may be useful to others on OSX:

Instead of adding your keys to the authentication agent with "ssh-add" use "ssh-add -K" which uses the OSX keychain. That seemed to work with SourceTree too, and it does not break the functionality on the shell.

Thanks, I hope I helped


author: stevestreeting
body: Thanks for the info. I assume you installed openssh from some other generic source though - Mac OS X comes with a version of openssh pre-installed that automatically uses the keychain, which is why this isn't usually an issue.


author: knservis
body: No actually I am just using the one that came with OSX. I have a script that I wrote for adding my keys to the agent. I think the -K switch is an OSX specific thing.


author: stevestreeting
body: Ah, I see. I only use a single key in the standard location (\~/.ssh/id_rsa) and that's picked up by the keychain automatically. Good to know!


Tags: ssh
"This is not a valid source path / URL" when cloning SVN?
Asked by Milan D.:

Hi there!

Ive been using SourceTree for some time and I was satisfied. However, now I receive following warning/error when I try to clone my SVN repository:

"This is not a valid source path / URL"

In details is following info:

user:password:user:password:user:password:abort: 'http://xyz' does not appear to be an hg repository:

---\<--- (text/html; charset=UTF-8)

some html markup is here

---\<---

!

http authorization required

realm: XYZ Subversion Repository

http authorization required

realm: XYZ Subversion Repository

http authorization required

realm: XYZ Subversion Repository

fatal: <http://XYZ/info/refs> not found: did you run git update-server-info on the server?

I am running latest version 1.5.3 on Mac OS X 10.8.2.

I tried to clone the SVN repository with another client (Versions) and it was successful.

Can you provide some solution to this problem?

Thanks!


Answers:
author: stevestreeting
body: Because SourceTree is primarily a Git and Mercurial client, it doesn't include its own copy of Subversion for inter-operating with legacy Subversion servers like Versions does. Unfortunately in Mountain Lion, Apple removed the in-built version of Subversion that used to be included with OS X, only including Git instead.

Here's how you resolve it: <https://confluence.atlassian.com/display/SOURCETREEKB/git-svn+problems+on+Mountain+Lion>

comments: author: Milan D.
body: Thanks!

It works now!


author: jquentin
body: I have the same error, except it does it for some of my SVN repos, but others work just fine. All repos are hosted on Assembla.
SourceTree won't git pull on Mt. Lion
Asked by John Lascurettes:

I'm running 1.5.4 of SourceTree. I have a Git repo for which I know has updates to pull. If I try to pull using SourceTree it won't do it (just hangs on the progress bar and I have to eventually cancel). I need to go to terminal to do git status or git pull. Once I do that, **then** SourceTree will pull from the repository. What gives? I don't even know where to start troubleshooting.


Answers:
author: stevestreeting
body: Probably authentication. Is this a git-svn repo? If not, what protocol are you using for the remote, HTTPS or SSH?


Tags: git

mac