youngmon/atlassian-qna huggingface dataset:
A pull from source tree from bitbucket does not show new changes
Asked by matthew simcox:

So i get a notification from bitbucket that someone else has commited a change to my repo. I see in source tree that 1 item is due to be pulled so I pull. It makes all signs that it's working and completes.

I can see that in history there are no new updates applied locally, however I can see the changes in bitbucket.

Eventually I use command line to pull the changes and can see the changes. Still nothing in sourcetree. About 5 minutes later I suddenly see the changes appear in sourcetree. Is there something i'm missing here? It's happened every time and i'm starting to lose faith in what I think is an excellent product. I got this to avoid command line where possible


Answers:
author: KieranA
body: Hi Matthew,

It sounds to me like SourceTree is taking a while to respond to the changes that have been pulled. Once SourceTree does the pull it has issued the same command you would do at the command line. It's no different. There are a few things I can think of here:

* You may be pulling in a different repository to the one you're viewing in SourceTree
* You have many, many untracked files showing which causes Git/Mercurial to take a long time to respond.
* Limited system resources can contribute to Git/Mercurial taking a long time to respond
* If you have many repositories in SourceTree, one of which may meet the criteria above could be causing SourceTree to take a while to respond
* Perhaps using an older system Git/Hg version could be causing the problem, too

Ultimately if the pull completed then the changes were pulled as the task sheet doesn't close until the command (same as what you'd do at the terminal) completes. So the pull must've succeeded, it's just SourceTree isn't showing the changes immediately, but your file system will accurately reflect the pull if you looked at the files.

Either that or you may be pulling in the wrong branch if you're using Git.

Cheers

comments: author: matthew simcox
body: thanks Kieran, I repulled to a new local git repo and it appears to have fixed the issue


author: matthew simcox
body: mac lion 10.7.5


author: KieranA
body: Hi Matthew. Is this for Windows or Mac?
SourceTree resolve merge conflicts after ending feature with git flow
Asked by jamesabolton:

I have SourceTree setup with my git project on [codeplex.com](http://codeplex.com) and am using the git flow model. Every time I finish a feature and ST merges it back into my develop branch I get an error that there are merge conflicts I need to resolve which leaves me stuck in the develop branch with my feature branch waiting for me to fix the conflicts in the develop branch before I can go back and close out the feature. The files showing as conflicts are usually files I modified in the feature and it appears they are pulled back out of the repo to replace my modified files from the feature when I am switched to the develop branch. The files appear to be getting modified with regards to their line endings as nothing is modified if I check "ignore whitespaces."

The only solution I have found is to go back to copy the path to the file currently checked out in develop and compare it via external diff with the same file in my feature and copy the feature changes to the develop file and do this for each "conflict." When I am done I can commit develop and then finish the feature. This seems incorrect and it is very slow at times. What am I doing wrong or is this a problem with ST and git flow?


Answers:
author: KieranA
body: Hi James. Is this for Windows or Mac?
Source Path/URL
Asked by chirag sharma:

Which is the valid Source Path... i have to paste


Answers:
author: Nic Brough -Adaptavist-
body: There isn't enough information here, and there's no way we could answer that anyway.

I am guessing you are talking about Sourcetree, as "source path" is a setting in there. If my guess is right, then the answer is "the path to the repository you are trying to access", which would be the url you'd use if you wanted to look at the top level of your source code repository. We have no way of knowing what that url is, because it's your repo you need to know.

If my guess at sourcetree is wrong, then you'll need to tell us what application you're using


Tags: path

source
Using sourcetree from windows to open a heroku git repository
Asked by Mike Cave:

Hi There

I'm still new to github and heroku and I'm trying to access a heroku git repository from the sourcetree windows client.

I managed to connect to a public github repository just fine, and I have installed heroku toolbelt and authenticated myself successfully, but I can't figure out the format of the url to put in source path/url.

It would come out of this: git@heroku.com:greengrade.git, how do I convert that into a valid url? I have tried many many variants thus far :)


Answers:
author: Trevor Dearham
body: Even though I'm using an SSH key, the only way I managed to clone the git repository was to use https://git.heroku.com/*project_name* .git, which in your case is https://git.heroku.com/greengrade[](https://git.heroku.com/).git. I'm not sure if it made a difference, but I gave up trying to use SourceTree and did the clone initially using the [Heroku Toolbelt](https://toolbelt.heroku.com/), but afterward I knew the URL, doing the initial clone through SourceTree also worked.


author: stevestreeting
body: git@heroku.com:greengrade.git should be a valid URL, but since it's an SSH URL then it will be dependent on you having your SSH key configured correctly. I normally use Pageant for this (the SSH agent that holds your keys in PuTTY format) but you can also use OpenSSH too if you want, the settings are in Tools \> Options. You can also launch Pageant from the Tools \> Launch SSH Menu option in SourceTree, and also generate or import keys using the Tools \> Create or Import SSH Keys menu.

FYI when SourceTree says something is an invalid URL you can normally get more information by clicking the 'Details' button. I'm assuming that it's an authentication error right now.


Tags: git

heroku

windows
Is there a SourceTree Installation Package for Enterprises?
Asked by Igor Masen:

Hello,

we are rolling out Atlassian Stash in our Company with around 100 Users. We recommend to our users to use SourceTree as their default Git-Client. But I would not like to force each user to register themselves at Atlassian.

So my question is, is there an Atlassian SourceTree Version for Enterprises without the need to register each copy?

Kind regards


Answers:
author: stevestreeting
body: No, but you can register SourceTree under a corporate email and then distribute the sourcetree.license to as many machines as you need to, it lives in %UserHome%\\AppData\\Local\\Atlassian\\SourceTree\\


author: Rene Pinnow
body: This means that it is ok if i share just one license file with all users in the Company?
SourceTree & Stash remote projects
Asked by David Lee:

I can't get a listing of projects from SourceTree and there isn't any error messages/log to help find out why.

Hosting Service: Stash

URL: <https://FQDN/stash> (removing /stash will take you to a different site)

Username: login (the admins set this up for LDAP usage if that matters)

Set Password appropriately

Select Projects

No error. No Projects. No repositires.

I've tried many different variations of the URL as well with out any luck. Does anyone have any suggestions?


Answers:
author: KieranA
body: Hi David,

This could be for a whole number of reasons. I've just tested my test Stash instance on the current release of SourceTree (I'm assuming you're using the Mac version here) without any problems. If the URL is your root URL then that's the correct one, it'll use the API from there to pick up the projects.

If the username/password were wrong then you'd get prompts to enter the correct ones. Some questions:

1. If you attempt to enter an incorrect username/password then do you get these prompts?
2. What version of Stash are you using?
3. If you enter the same URL into your browser do you get redirected to your projects list?

We have many other users who use Stash with SourceTree so I'm thinking it's some configuration we haven't accounted for perhaps.

Cheers


author: Sebastien Vincent
body: I have the same setup (Stash login with ldap) and i can't add my account to SourceTree.

The url host is http://\[machine\]:7990


Tags: bitbucket-server
Where i have to make a folder for destination?
Asked by chirag sharma:

![](../../../upfiles/7-11-2013_4-16-04_PM.png)

![](../../../upfiles/7-11-2013_4-08-29_PM_1.png)

First i download the source tree, then after i click on the New/Clone

Then i write my Source path but when i write my destination path the clone button will not be click

Plz send me answer


Answers:
author: chirag sharma
body: Is there any complete guid or youtube or any documentation for Source tree

if yes then plz send me link

comments: author: Nic Brough -Adaptavist-
body: A complete guide wouldn't help you here. You need to read the error messages it is giving you to find out what is wrong.

You might also want a look at <https://confluence.atlassian.com/display/SOURCETREEKB>


author: chirag sharma
body: I have done a mistake in DMCA complaint, i send my link in behalf of that third party link.. now i want to resolve plz give me suggestion

plz reply..

comments: author: Nic Brough -Adaptavist-
body: I think you're posting in completely the wrong place. This is an Atlassian customer forum/help system. Nothing to do with DMCA complaints.


author: chirag sharma
body: thank u.. i am bignner to use these source tree


author: Nic Brough -Adaptavist-
body: You need to give it a path on your machine that

* exists
* is fully read/write enabled for the current user
* supports the structure of the repo you're cloning (rare, but if you're using an odd file system, it might have strange restrictions on directory names or something)

Note that you've got an error on the source path and creation screen - you might want to look at the details that source tree is offering you when the errors occur.


Tags: git
Sourctree reports modified files after clone
Asked by Matthew Grasse:

I'm having a problem where after I do a clone sourcetree is telling me that I have modified files even though I haven't yet edited any code. When diffing the code, the differences seem to be whitespace only. I'm pretty sure that the difference is related to line endings.

The files in questions are all of a type that have 'eol=crlf' set in .gitattributes.

What's confusing to me is that doing a 'git status' in the git bash does not report any modified files. Generally I'd believe that we might have some line ending issues in the repo, but I can't understand why sourcetree and the command line tools are treating the working area differently.

Any advice on how to resolve this issue? I've seen similar questions in here, but they seem to be regarding hg and not git.


Answers:
author: KieranA
body: Hi Matthew,

There's probably another property set in your git config which is affecting what happens on checkout. For example the 'text' attribute has an effect on checkout and will normalise line-endings automatically. Have you got any 'text' or 'autocrlf' settings in your config?

Cheers

comments: author: Matthew Grasse
body: autocrfl is true. But I still don't understand why the command line git and Sourcetree don't agree on the files status. Aren't they using the same config?


author: Matthew Grasse
body: I cleaned out my area and redid my checkout. Now I can't reproduce my disagreement between the command line tools and sourcetree. I did do an upgrade when this showed up, could there have been some issue around a repo that was checked out with the old version?

Anyway, CRLF issues are definitely one of my problems, so I'm marking an answer regarding those issues.


author: stevestreeting
body: It means these files were committed to the repo in a way which didn't perform the line ending conversion that your client setup would now do. They show as modified because you're being prompted to re-commit them, which will perform the line ending conversion as \*currently\* configured and resolve the issue.

comments: author: Matthew Grasse
body: see the comment to Kieran. What you say may be true, but command line git and sourcetree dont' agree on the file status.


author: stevestreeting
body: What git command are you issuing? SourceTree just issues 'git status', with these options with the default filter:

```
git status --porcelain --ignore-submodules=dirty --untracked-files=all
```

As you say, it picks up all the same config as git on the command line because that's exactly what it's calling.
Why does SourceTree phone home
Asked by mattneub:

When I launch SourceTree, it connects to [www.sourcetreeapp.com](http://www.sourcetreeapp.com.). Why does it do that? I have "Automatically check for updates" *unchecked* in my preferences.

As with my previous question, this unwanted connection is a source of slowness during launch. I just want to get stuff done locally; I don't need any network activity. Thx!


Answers:
author: stevestreeting
body: SourceTree does this only once a day rather than every launch. It's for 2 reasons: to check for urgent news (we've only had to use that once) and secondly it lets Atlassian know anonymously that SourceTree is being used. As you know Atlassian gives SourceTree away for free and knowing that people are using it regularly is what keeps resources assigned to the project to make it better.

comments: author: stevestreeting
body: FWIW it's not really taking any resources, nothing in the UI waits for it and it would only do something if there was urgent news to display.
Incorrect dates in commit log
Asked by Osman Ullah:

I cherry picked a bunch of commits from another remote and Sourcetree is showing the incorrect date for those commits. If I do a git log from the command line the dates are correct, but Sourcetree is showing them all as today's date. Is there any way I can get it to refresh the dates?


Answers:
author: stevestreeting
body: There are 2 kinds of date in git, commit date and author date. Both are displayed in the commit details pane if you select a commit and they're different, but to choose which one is displayed in the log table, go to Tools \> Options \> Git \> Display author date instead of commit date in log.

comments: author: stevestreeting
body: Or Preferences \> Git in the Mac version.


author: Osman Ullah
body: This took care of it, thanks.
Does Atlassian offer on-site training for SourceTree?
Asked by Eddie Borjas:

My team would like to get on-site training for your SourceTree tool. Does Atlassian offer this?


Answers:
author: David at David Simpson Apps
body: Atlassian doesn't do on-site training. It's all [online](http://www.atlassian.com/resources/training) but not targetted at SourceTree. They have a separate [git tutorial here](http://www.atlassian.com/git).

If you can get to [Guernsey](http://en.wikipedia.org/wiki/Guernsey), perhap you could ask @Steve Streeting directly :) or ask a local training company for help.
Commit hunks/staged files with sourcetree?
Asked by Oliver Smith:

Scenario: While working on a task/feature, you fixed a small bug in an unrelated area of one of the files you changed. At commit, you'd like to commit that separately.

Tried staging the hunk I wanted to commit,  
- There is no option to commit what is staged,

Tried staging what I didn't want to commit,  
- Everything I'd staged also appeared in the commit anyway,

Tried discarding what I didn't want to commit,  
- Actually removed/reverted the change from the source file.

So what is the intended workflow for cherry picking a subset of changes and commiting just them? Am I missing something obvious?


Answers:
author: Oliver Smith
body: Had already done that :) <https://jira.atlassian.com/browse/SRCTREEWIN-807>


author: Oliver Smith
body: Hi, Kieran, Sorry for the delayed reply - it was for Windows but the pathalogical behavior went away and the workflow is now actually pretty nice -- one simply selects "Commit" from the button bar or on the "Uncomitted changes" view and then "stage hunk" or "stage selected lines", which automatically takes you into "Staged changes" view mode, and in that mode you can cherry pick hunks or individual lines to commit.

The only disadvantage to this right now is that when you "stage file" the view refreshes and resets the selected file to the top file in the list.  

Lets say you just removed a #include from include/pch.h and you want to commit adding the include to the src/\*.cpp files. This gets annoying, fast, because every time you "stage file" from a src file, it resets the current file to h/pch.h.

comments: author: KieranA
body: Hi Oliver,

Thanks very much for the insight. This sounds to me like you'd like it to behave in a different manner. If so, could you possible file a new issue on [jira.atlassian.com](http://jira.atlassian.com) (project SRCTREEWIN) with as much detail as possible? Feature requests go there usually and they're reviewed periodically with feedback given and hopefully assigned to an issue.

Thanks very much


author: KieranA
body: Hi Oliver. Is this for Windows or Mac?
SourceTree: Running with multiple usernames on HTTPS, passwords not persited?
Asked by Daniel K?mpf:

I have configured 5 repositories that belong to 2 different users (some of them are my private ones, others are related to the company I work for)

Starting up SourceTree it keeps asking for the passwords for both users frequently.

How can this be solved?

BTW: The boxes "Saved passwords" and "Default user names" on panel Athentication in the Options menu remain emtpy. Am I doning something wrong?

HTTPS login is prefered


Answers:
author: Daniel K?mpf
body: Problem solved: I just removed a Git Extensions installation from my machine.

After that I got prompted for the password once more. Typing it in resulted into an entry on menu Tools/OptionsAuthentication. Looks as there was some kind of interference between SourceTree and Git Extensions, so never run them both on a single machine.

comments: author: stevestreeting
body: How odd, I still have Git Extensions installed on my machine (it's what I used before SourceTree was complete enough for me to move to it for developing itself) and I don't have that problem - but if it's installed an authentication hook then it's possible that was the issue, maybe if you were sharing the git install between them.


author: stevestreeting
body: If you have multiple users on the same host, then make sure you include the username in the URL, ie something like:

[https://myuser@hostname.com/path/to/repo](https://myuser%40hostname.com/path/to/repo)

and not:

<https://hostname.com/path/to/repo>

The problem is that in order to look up a saved password, SourceTree needs both the username and the host name. If you don't specify the username in the URL, then SourceTree tries to help by using a default, which is the last one you used for that host. However if you have multiple usernames on one host then some of the time this default username is going to be wrong, and then you'll get prompted for the login details again. By being specific about the username in your URL you can eliminate that ambiguity.

comments: author: Daniel K?mpf
body: I already found this advice in Q\&A and followed this for all of my repositories. But I still get prompted for the passwords frequently :-(

Is it ok that there is no saved password / default user names entry under menu Options / Authentication?

Talking about using the last user name as a default: I get always prompted for the passwords of both of my users and I get prompted in the same order always, even if I try to skip the second user. Doing this I'd expect that SourceTree knows the first user as lbeing the last user next time ...

More over my colleague having just on user but 2 repositories get's also prompted for his password frequently.
Insert Link function (cmd+k) not letting me link to pages suddenly
Asked by Bonnie Martin:

Since yesterday afternoon, when I try to insert a link, I can no longer choose a page to link to. Instead, it only lets me manually enter a URL and text.

This is something I use frequently, so this bug is causing a lot of disruption to my workflow. I tried it in both Chrome and Firefox, and the same issue happened.

This is what I get when trying to insert a link (the option to search for a page within the space and the most recently-opened pages are missing):

![Screenshot 2023-06-10 at 12.00.27 PM.png](/t5/image/serverpage/image-id/262560i4FD23FE1A950BA89/image-size/large?v=v2&px=999 "Screenshot 2023-06-10 at 12.00.27 PM.png")


Answers:
author: Laura Campbell _Seibert Media_
body: Hello, the bug has been raised on JAC and you can vote for and watch the issue here: <https://jira.atlassian.com/browse/CONFCLOUD-75982>


author: HoumanB
body: OK, I'm glad I'm not alone. I noticed it yesterday.

[Insert-Link-Suggestion-Box-No-Longer-Available](https://community.atlassian.com/t5/Confluence-questions/Insert-Link-Suggestion-Box-No-Longer-Available/qaq-p/2385761)

comments: author: Bonnie Martin
body: Looks like it's back to normal now. Hopefully it was a small bug that they caught and fixed already.


author: Bonnie Martin
body: Nevermind, it's broken again.


Tags: cloud

confluence-cloud
how to migrate jira 5.x to latest version in inhouse server (ubuntu instance)
Asked by sudhakarlinux27:

hi team,

how to migrate jira 5.x to latest version in inhouse server (ubuntu instance)

tried to upgrade from 5.x to 6.x and 5.x to 5.10 and 5.x to 7.x

after upgrade page not opening/working as expected

please let me know the proper guide/link to upgrade it asap.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@sudhakarlinux27](/t5/user/viewprofilepage/user-id/5240168) and welcome,

that is a very old jira version. I remember that you should go to 6.4 jira version first and then go ahead with upgrade to each major version 7.X, 8.X, 9.X.

Hope this helps,

Fabio


Tags: confluence-server

server
Paste text and apply checkboxes
Asked by Shroomy:

I have some text in a TXT file which I would like to copy to a Confluence page and add checkboxes to each line. For example:

```
Red
Blue
Green
Yellow
Orange
Purple
Pink
Brown
Black
White
Gray
Cyan
Magenta
Indigo
Teal
Maroon
Gold
Silver
Turquoise
Lavender
Coral

```

Unfortunately it does not seem like it is possible to do this without manually adding a checkbox to each line.

Since I am using Sublime text, I tried adding a check box in markdown style to each line, but pasting that in Confluence does not trigger a checkbox. For example:

```
- [ ] Red
- [ ] Blue
- [ ] Green
- [ ] Yellow
- [ ] Orange
```

Is there any way to do this for multiple lines?


Answers:
author: Shroomy
body: The answer: You need extra lines

For example:

If you copy text from notepad, and paste it in Confluence:

```
Red
Blue
Green
Yellow
```

select it and then click on the task list icon, only the top line will become a task.

However...

If you add lines to the text:

```
Red

Blue

Green

Yellow
```

it will work.


author: Brant Schroeder
body: [@Shroomy](/t5/user/viewprofilepage/user-id/5199899) I believe that you would have to paste, highlight and then click the checkbox icon in the editor.


Tags: confluence-server

server