youngmon/atlassian-qna huggingface dataset:
SSL/TLS secure channel
Asked by rlanger1:

I have new PC and I have problem with cloning of the repository in sourcetree.

In my previous PC it was working.  
I can login into stash repository but I can't clone the repository in the source tree  
Problem is with authorization - see attachments![sourcetree.png](/t5/image/serverpage/image-id/48891i2D75129442FFD63E/image-size/large?v=v2&px=999 "sourcetree.png")


Answers:
author: minnsey
body: Hi  

From the icons it looks like you are using an older version of Sourcetree, 1.x? That potentially means you are using an old version of Git and its bundled Git Credential Manager, GCM.  

Bitbucket, and GitHub, turned off support for older versions, 1.0 and 1.1, of TLS last year. Newer versions of the GCM support TLS 1.2. You will need to at a minimum upgrade the Git for Windows install you are using to 2.20.1 and/or update Sourcetree to 3.0.17+ and update the embedded Git in the Tools/Options/Git tab.
SourceTree will not Authenticate correctly with BitBucket
Asked by kausten:

When I try to pull or push any repository from SourceTree (v3.1.1) to BitBucket I am getting failure due to "incorrect username or password"

I use "Global Authentication" for my Repositories and when I go into Authentication settings in SourceTree and "Refresh" password I get the green tick and all is good.

Can you please help.


Answers:
author: Ana Retamal
body: Hi Keith,

Are you pushing to the right account? Can you double check that the credentials are correct by trying to log in to Bitbucket via the browser?

Alternatively, you can try pushing the changes from the command line and see if the credentials work or if you get any error message. If it works, that would mean Sourcetree is storing wrong credentials somewhere, in this case you could try [wiping Sourcetree preferences.](https://confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html)

I'd also suggest having a look at the [Sourcetree logs](https://confluence.atlassian.com/sourcetreekb/sourcetree-logfile-location-675384748.html) in case there's any additional information there.

Let us know how it goes!

Ana

comments: author: kausten
body: Ana;

I actually have resolved this now. I was/am pushing to the correct account.

This issue was that I needed to do an update on the GIT Embedded. Once I did this it resolved my issue.

Thanks for your reply.

Keith


author: Ana Retamal
body: Glad you could solve it, Keith.

Have a good day!

Ana
Define Different Pull and Push Remotes for Subtrees
Asked by bariserkus:

Hello,

Sourcetree defines one remote for a subtree. In my case, I have an origin repo, which is forked from an upstream repo. I generated the subtree from the origin and this is the remote address that Sourcetree uses for the subtree -for both push and pull.

However, once in a while I would like to pull from the upstream to update my subtree with changes from other users. This requires the upstream remote address be defined as a second address, which is different than the origin address obviously.

Is there a way to define a second remote address for the subtree with Sourcetree so that I can pull and push from different addresses?

Quick fix ofcourse manually change the address when doing pull and push, which is not very convenient.

Baris


Answers:
author: minnsey
body: Hi  

No I'm afraid Sourcetree doesn't support multiple remotes for Subtrees. Looking at <https://www.atlassian.com/blog/git/alternatives-to-git-submodule-git-subtree> it looks like there is no obvious blocker to supporting it in the future.  

You can raise a feature request at <https://jira.atlassian.com> under the SourcetreeWin or Sourcetree projects.


Tags: origin

remote

subtree
'Diff to local' operation like TortoiseHg
Asked by diverger:

In TortoiseHg, there is a function "diff to local' can view the changes between the history version and the local working repos (no need to commit the current changes). But I can't find how to do this in SourceTree.

Thanks.


Answers:
author: Gonchik Tsymzhitov
body: Hi!

I hope we are speaking about git diff functionality.

If it's , it can be in source tree as well
Show all changes in file when merge branches
Asked by Gabriel Dominguez Cisternes:

How can we see all differences in file when we merge two branches?

e.g: we have 3 branches

-master

-branch1 (from master)

-branch2 (from master)

we start work on repository following the next steps:

1 - we modify, commit and push to branch1 the file "function.sql" at line 1

2 - we modify, commit and push to branch2 the file "function.sql" at line 20

3 - we merge branch1 to master (no conflicts).

4 - we merge branch2 to master (no conflicts).

After 4 steps we have master with the changes made in branch1 and branch2, sourcetree merge automatically with no conflicts the file "function.sql".

Is posible force to SourceTree to advice us that file "function.sql" was modified in branch2 when merge branch2 to master?

Thanks,

Gabriel.


Answers:
author: minnsey
body: Hi  

I'm afraid I don't think you can do what you want to in Sourcetree, there are ways you can do it from the command line, see <https://stackoverflow.com/questions/10935226/git-interactive-merge>
Latest version 3.1.1 continually locks up
Asked by Alan Cordner:

Just updated to version 3.1.1 and SourceTree continually locks up with (Not Responding) in the title bar. Multiple people are reporting this issue in my organization.


Answers:
author: bgannin
body: Hi [@Alan Cordner](/t5/user/viewprofilepage/user-id/580204),

We're not aware of any lockups. Please [file a ticket](https://jira.atlassian.com/browse/SRCTREE) with the exact steps (and/or the environment it's try to restore on launch) and attach additional info from Activity Monitor as shown to help us narrow down the problem.

![Screen Shot 2019-03-15 at 12.28.41 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/48826i25837D4F43E08C0D/image-dimensions/182x126?v=v2 "Screen Shot 2019-03-15 at 12.28.41 PM.png")

Spindump and System Diagnostics are both great options. Our apologies for the hiccup.

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Alan Cordner
body: Today it locked up multiple times when I was trying to pull the latest commits from origin.

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/48955i231B9E91F3FDE793/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/48956i670BCD2B184B3E8D/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/48957i5E295B337A328EBD/image-size/large?v=v2&px=999 "image.png")![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/48958i2514C54BB82CA2D3/image-size/large?v=v2&px=999 "image.png")
Git-Flow button in SourceTree
Asked by joe_hui:

Hi, what does the Git-flow button do in SourceTree?

When do we use it?

What is the function behind the that button?

If someone can enlighten me with example, I would appreciate it.

Thank you.


Answers:
author: bgannin
body: Hi [@joe_hui](/t5/user/viewprofilepage/user-id/2218642),

Git-Flow is a branch management strategy employed by some folks/teams. Sourcetree provides a UI to make it easier for those who choose to go that particular route. Here's a [tutorial from Atlassian](https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow) about the concept, though it describes the CLI usage, not ST.

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: joe_hui
body: Hi [@bgannin](/t5/user/viewprofilepage/user-id/744444) , thank you for the response. Do you have any tutorial/documentation which describes how to use Git-Flow button in Sourcetree?


author: bgannin
body: [@joe_hui](/t5/user/viewprofilepage/user-id/2218642) I did a quick Google search and found this old blog post. It's still relevant.

<https://blog.sourcetreeapp.com/2012/08/01/smart-branching-with-sourcetree-and-git-flow/>
Git pull.rebase vs Sourcetree
Asked by Mathias B?ckstr?m:

Is typing **git config --global pull.rebase true** in Git Bash equivalent to checking the box in Sourcetree: Tools -\> Options -\> Git -\> **Use rebase instead of merge by default for tracked branches**?


Answers:
author: minnsey
body: Hi  

Essentially yes, although Sourcetree doesn't write to the config instead it uses the internal setting to add the --rebase option to each pull command.


Tags: git
Set git submodule display name?
Asked by Sindri J?elsson:

I'm using submodules which are shared between different projects, however in the SourceTree UI there seems to be no easy way of differentiating between a two submodules with the same name that point to same repo but are contained in two different projects.  

I'm aware that submodule can be named anything but I'd rather not have to resort to some kind of prefix/suffix for the submodule folder names just so that I can easily tell them apart...  

I thought about making a stash in each submodule reference with the name of the stash as the means of differentiation but is there any better way of doing it?


Answers:
author: minnsey
body: Hi  

No, unfortunately Sourcetree doesn't offer anything built in for that. You can raise a feature request at <https://jira.atlassian.com>


Tags: git

submodule
My code changes not visible in sourcetree
Asked by Dilyan Dimitrov:

I have an issue where my code changes are not visible in source tree.

For instance in the image below  

![stage hunks.png](/t5/image/serverpage/image-id/48616iB4CE0048EC9BDF4B/image-size/large?v=v2&px=999 "stage hunks.png")

I have disabled 5 items but can only see one in my source tree.

Also the lines in the entire file I want to commit are shown in the different order not corresponding to the original.  

Is there a way how to solve this issue?


Answers:
author: minnsey
body: If you open the terminal and run  
\>git diff  
Does the output match your expectation or what Sourcetree is showing?
Can't add Bitbucket Account to Sourcetree due to GUI
Asked by lordgeyik:

SourceTree won't allow me to add an account on Mac. This seems to be a GUI issue.

I add my account, successsfully login to my user, but then, it won't give me an option to confirm or press OK so I can close the dialog window. Only option is to cancel.

It's mentioned here as well:

<https://community.atlassian.com/t5/Sourcetree-questions/Cannot-add-Bitbucket-Account-to-Sourcetree/qaq-p/953322>


Answers:
author: bgannin
body: Hi [@lordgeyik](/t5/user/viewprofilepage/user-id/1778330),

What version are you using?

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Boris Almonacid
body: ![Screenshot 2019-03-23 20.16.08.png](https://community.atlassian.com/t5/image/serverpage/image-id/49388iAE4BE3A46BFC7E14/image-dimensions/412x235?v=v2 "Screenshot 2019-03-23 20.16.08.png")![Screenshot 2019-03-23 20.16.01.png](https://community.atlassian.com/t5/image/serverpage/image-id/49386i978890B83C77BF21/image-dimensions/408x212?v=v2 "Screenshot 2019-03-23 20.16.01.png")![Screenshot 2019-03-23 20.16.23.png](https://community.atlassian.com/t5/image/serverpage/image-id/49387i1851218560EEC48F/image-dimensions/400x189?v=v2 "Screenshot 2019-03-23 20.16.23.png")


author: Boris Almonacid
body: Hi [@bgannin](/t5/user/viewprofilepage/user-id/744444) I can't added my gitlab account using the sourcetree, because the GUI the private token is blocked (GUI blocked), I attached the screenshot GUI in OSx


author: bgannin
body: [@Boris Almonacid](/t5/user/viewprofilepage/user-id/864424) - you need to enter your private token at as the password.


author: Boris Almonacid
body: thanks, works for me :)


author: lordgeyik
body: [@bgannin](/t5/user/viewprofilepage/user-id/744444) I use v 2.7.6 (177) on Mac (Sierra).
How do I get source-tree to ask my password again for when I push, after putting in a wrong one?
Asked by Lee August:

I have authenticated, and signed in, and yet still every time I try to push get "master  
remote: Invalid username or password." I would love for another prompt for password when I try to push, but it seems no matter where I put in the right password, I can't undo the crime


Answers:
author: minnsey
body: Hi  

Assuming you are on Windows, open the Windows Credential Manager and delete all entries prefixed by 'git:'


Tags: password

push
SourceTree 3.0.17 doesn't work on Windows7?
Asked by Remote Developer:

1. Install SourceTreeSetup-3.0.17.exe

2. Run SourceTree

3. SourceTree showing splash screen

4. The window close without any error messages (run as Administrator don't help)


Answers:
author: Remote Developer
body: FIX:

1. Uninstall all SourceTree versions;

2. Remove directory c:\\Users\\xxx\\AppData\\Local\\Atlassian\\ with all files;

3. Reinstall SourceTreeSetup-3.0.17.exe

4. Works!
Dozens of Atlassian login pop-ups appear randomly on my laptop
Asked by megabrian:

I have spent hours and hours researching and trying to fix this on my own, nothing has worked so far. Because the issue is inconsistently I can never tell when I try and resolve it if it's fixed until 8 days later when the pop-ups all pop back up again.

Can you identify any clearly written step by step workflow that will prevent these pop-ups from re-appearing?

If I right-click on the windows task-bar they stack on and select "Close All", they return instantly, one by one. I believe the number of pop-ups I am seeing is representative of the grand total of the repositories I have ever accessed on this computer. On my last computer, this was hundreds, fortunately it's only about 35 on this computer.

When this happens during a presentation meeting it's very, very frustrating. this has happened about four times over the last year.


Answers:
author: Petr Van??ek
body: Hi,

if you want contact Atlassian support directly you should use this link.

<https://support.atlassian.com/contact/#/>


author: megabrian
body: I clicked Contact Support and then Ask A Question looked like the only way to actually contact support - is this going straight to tech support? We are a paid customer I was hoping to reach tech support directly. Very confusing!

comments: author: megabrian
body: The above is not an answer, but I can't seem to delete it. It's just a comment.


Tags: bitbucket
Unable to pass sourcetree Bitbucket login
Asked by m_skvorcovs:

After I launch sourcetree it asks me to login.

After the login, I get following screen asking me to grant permission: <http://prntscr.com/mx7g07>  

After clicking "Grant access" - nothing happens - page is redirected to localhost, sourcetree hides "waiting" line and that's it. See screenshot: <http://prntscr.com/mx7ggh>

I've tried to disable firewall/antivirus software, connect internet using different source (wired, 4G), tried all of my browsers (chrome, IE, Edgne)  

Is there a solution to this problem?

Thanks in advance!


Answers:
author: minnsey
body: Hi  

Are you running Windows 7? We've had a handful of similar reports but only on Windows 7 and we've not reproduced it yet.

comments: author: m_skvorcovs
body: Hello,

No, it's windows 10 pro, updated to latest by the date 22 of March 2019
asking for password eternally even though i already configured an ssh key or oauth(ed) it.
Asked by Filipposan:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false ls-remote https://SanCat@bitbucket.org/USRNAME/bureau-de-credito.git  
Output:  
Error: Logon failed, use ctrl+c to cancel basic credential prompt.  
remote: Invalid username or password  
fatal: Authentication failed for 'https://USRNAME@bitbucket.org/SanCat/bureau-de-credito.git/'

worse thing is i feed it the password and doesnt give a damm it just wants me to spend the rest of my life inputting a password there twice . forever.

it did the same with oauth .


Answers:
author: minnsey
body: Hi  

This may not be the cause but, assuming you are on Windows, can you make sure you are running Git for Windows 2.20.1, this contains the latest Git Credential Manager for Windows, GCM, which contains fixes for some authentication issues in earlier releases.  

I'd then suggest opening Windows Credential Manager and deleting all the 'git:' prefixed entries. This will remove any *old/bad* entries.  

Then try a bit pull/push/fetch you should be prompted by a GUI dialog to enter your credentials. Assuming that works they should then be stored and available for re-use by all Git actions.
Is there a way to reconfigure the window sizes and positions?
Asked by mnelvers:

I was wondering if there is a way to reconfigure the Log/History windows to be more like the File Status windows. By that I mean, I would like the Graph window (on the Log/History tab) have the position and size of the Staged Files window (on the File Status tab). I would also the Diff window of the Log/History tab to take up the entire right side like it does in the File Status tab. The File list (on the Log/History tab) is already similar enough to the Unstaged Files list (on the File Status tab).

Also, how do you get Source Tree to remember the current of windows sizes when you close and re-open the tool or when you change branches?


Answers:
author: minnsey
body: Hi  

Unfortunately the Sourcetree UI doesn't support that level of configuration.

comments: author: smirnovevgenyy
body: Hey guys, it's not hard to do. This feature is VERY necessary!
Installed latest Git LFS but still asking me to install.
Asked by sunk818:

I went here and downloaded the latest 2.71:

<https://git-lfs.github.com/>

SourceTree keeps telling me that a newer version of Git-LFS is available.

Am I misunderstanding something or installed the wrong product?

Is there an embedded Git-LFS that I need to update instead of downloading the latest from git-lfs.github.com?

![190312-03.jpg](/t5/image/serverpage/image-id/48424iAE379BB4C2409161/image-size/large?v=v2&px=999 "190312-03.jpg")


Answers:
author: Mike Corsaro
body: Hello! Could you open Options \> Git and report back with the detected versions of git? Thanks!

comments: author: sunk818
body: It looks it was my mistake?

Do I need to click on **Update Embedde**d ?
> Embedded Git version 2.17.1/LibGit2Sharp 0.24.0 + git-lfs v2.0.2

![190313-00.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/48564i32B9D09B26846DD9/image-size/large?v=v2&px=999 "190313-00.jpg")

I tried to **Update Embedded**, but got this error.

![190313-01.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/48569iD38FA2DE141233FD/image-size/large?v=v2&px=999 "190313-01.jpg")

I tried running SourceTree (run as administrator), but same error message.


author: bgannin
body: Hi [@sunk818](/t5/user/viewprofilepage/user-id/544570),

Git for Windows now bundles the latest version of Git LFS automatically which is why you're being recommended 2.20.1. That said, it sounds like a bug in our LFS version check and I'll ping the Windows folks to confirm.

Brian Ganninger  
Principal Developer, Sourcetree


Tags: git-lfs
Why is SourceTree constantly asking me for my "User Information" during a commit?
Asked by Patrick Morris:

Been using ST for months. However, as of this morning I cannot commit anything. Clicking **Commit** puts me in a loop of dealing with this odd dialog box. Entering any info here and clicking **OK** just puts me back to where I was before I clicked **Commit**. It's a loop I cannot get beyond, as of today.

What's going on here? Anyone know?

![SourceTreeUserInfoMsg.png](/t5/image/serverpage/image-id/48316i94A2FDCB4DBE9AD8/image-size/large?v=v2&px=999 "SourceTreeUserInfoMsg.png")


Answers:
author: minnsey
body: Hi  

I'm not sure exactly why this is happening but if you go into Tools/Options/General tab you can enter the same details there and it should then update git and hg configurations when you click OK.  

If you do this, potentially by explicitly editing those values to something else, clicking OK and then editing them back and clicking OK again, does that then stop the prompt?

comments: author: Patrick Morris
body: Thanks Michael. I tried playing with those settings a little, but it made no improvement. However, on the bright side, the ability to commit a change (no such weird message appearing) returned last week. All on its own. Weird.


author: Dlawrence2060
body: If anyone else comes across this issue, unchecking the global option worked for me


author: Brad Sherman
body: I second unchecking the global option. Worked for me.


author: Todd Liveringhouse
body: This tool is so buggy I wish we used something else. Every so often I lose my ability to commit and use an external difference tool. I have to change atlissan password fool around with authenticate and eventually it starts working again.


author: Bradley Pierskalla
body: I second the second of unchecking the global option. That worked.


author: Joseph Wright
body: I third unchecking the global option. I unchecked and then was able to commit.


author: Thomas Mehlan
body: I had the same issue today. Checking or unchecking the "global" option didn't help. What worked for was to modify the name and address in the "Tools/Options/General" settings, click OK, and then change it back to the old values.

The reason may be that my git installation was updated yesterday to V2.35.3?


author: Steven Leathard
body: Glad this thread was here, this happened to me. Going into 2024 next week and this is still an issue apparently.


Tags: commit
Whiteboard GA and activation
Asked by Patrice Champet:

Hello,

I have a simple question regarding the GA of whiteboard.

For the time being, we have the feature activated on our sandbox but not on our production site.

do we still have to activate the whiteboard on our prod site, or going GA means that it will be available for our users anyway ?

Thanks !


Answers:
author: Marc - Devoteam
body: Hi [@Patrice Champet](/t5/user/viewprofilepage/user-id/3776526)

In my experience the GA will mean that the functionality will be enabled by on any instance an will be available for any user.

There is no need to activate it, unless you want to activate it now, before Atlassian has made it available on your instance


Tags: cloud

confluence-cloud
How can only an assigned person can make any changes
Asked by Dhiraj Kr_ Gupta:

I have SQL table transformer based on Responses from Confiforms. There are many persons in the column and they are assigned different works. I want to ensure that only assign person can update the status like complete, in progress, etc and no other


Answers:
author: Alex Medved _ConfiForms_
body: Hi [@Dhiraj Kr_ Gupta](/t5/user/viewprofilepage/user-id/5375074)

If you are looking to protect the data stored with ConfiForms and want to use ConfiForms to updated it then you will need to do some adjustments

Have a page with the form to be restricted to only (form) administrators - more on this <https://wiki.vertuna.com/display/CONFIFORMS/Confluence+page+permissions+and+ConfiForms>

Have the[IFTTTs implemented](https://wiki.vertuna.com/display/CONFIFORMS/Configuring+ConfiForms+IFTTT+actions+and+rules#ConfiguringConfiFormsIFTTTactionsandrules-Create(Update)ConfiFormsEntry) to set the ownedBy field to be the same as the value in the assignee field

This way you will ensure the record gets updated only by the "owner" (or the form administrator)

Alex


Tags: confiforms

unknown-hosting-type