youngmon/atlassian-qna huggingface dataset:
Cannot stash or use gitflow
Asked by Hooman_Famili:

Running version 3.0.17. Cannot stash - error is cannot save work tree. Cannot use gitflow to create features. Error is repo is not initialized for gitflow.

This was all working in a prior version. Not sure what has changed. I can use the git bash command line and it all works fine.


Answers:
author: minnsey
body: Hi  

Can you check what version of Git your are running, we'd recommend upgrading to 2.20.1

comments: author: Hooman_Famili
body: Was running 2.18. Upgraded to 2.21.0 and now the functionality is working from within SourceTree. Thank you.
Commit with Large File Failing
Asked by Justin Riendeau:

Trying to commit an MSI with an install file that is larger.

Message:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master  
POST git-receive-pack (chunked)  
fatal: The remote end hung up unexpectedly  
fatal: The remote end hung up unexpectedly

error: RPC failed; curl 56 Send failure: Connection was reset  
Pushing to https://jgriendeau@bitbucket.org/scheelsdev/dls-visa.git  
Everything up-to-date

Completed with errors, see above.


Answers:
author: minnsey
body: Hi  

How big is the file? Have you considered switching to Git-LFS ?

comments: author: Justin Riendeau
body: ![Capture.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/49214i2F32008BCB1134D0/image-size/large?v=v2&px=999 "Capture.PNG")

We activated this option hoping it would work based on this link:

<https://www.atlassian.com/git/tutorials/git-lfs>

"Git LFS is seamless: in your working copy you'll only see your actual file content."

Do you know or have a better instructional link of steps to take?

Also, we're using https as our remote, does that impact anything?
Ignore Case in source tree diff
Asked by Yahya Bahite:

How can i ignore case in in source tree diff ?![cs.PNG](/t5/image/serverpage/image-id/49162i2BAF318AB0673C26/image-size/large?v=v2&px=999 "cs.PNG")


Answers:
author: bgannin
body: Hi [@Yahya Bahite](/t5/user/viewprofilepage/user-id/1454225),

There isn't an option to do so currently. Please file a ticket ([Mac](https://jira.atlassian.com/browse/SRCTREE), [Windows](https://jira.atlassian.com/browse/SRCTREEWIN)) or vote on an existing one. This helps us prioritize work for future releases.

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree
SourceTree Git Flow Chart
Asked by Patrick Rahner:

Hi,

I'm looking for a tool, that visualisate the Git graph like [Git Flow Chart](https://marketplace.atlassian.com/apps/1212520/git-flow-chart?hosting=cloud&tab=overview). Is this also possible in SourceTree? I'm not working with BitBucket and have a Windows PC.

Thanks for help.


Answers:
author: minnsey
body: Hi  

Take a look at <https://www.sourcetreeapp.com/> I believe Sourcetree does show what you want.  
Sourcetree works on Windows and although you are required to use a Bitbucket account to register both the app and the account are completely free.

comments: author: Patrick Rahner
body: Sorry, I don't find this visualisation. Could you explain me, what I have to do, to create this chart?
SourceTree can not login with Bitbucket
Asked by eric franchomme:

Out oif the blue, SourceTree keeps asking about my credentials for Bitbucket repo, even though they were already set. It does not seem to remember the password in Keychain?

So, I removed all the accounts from SourceTree, and added them back, maiking sure to create the SSH key from SourceTree (and copying in Bitbucket Settings).

However, this is still not enough: existing repo in SourceTree can not still connect properly. For one repo, I was able to remove the clone in SourceTree, and re-cloned: this worked.

but for other repo, I have work in progress that I do no want to lose.

Very painful.


Answers:
author: Ana Retamal
body: Hi Eric, welcome to the Community!

Have you changed your machines recently? If you're using the same machine, it could be that the SSH key agent "forgot" the key for some reason, in that case you'll need to re-add it. To find out, you can run the following command in the terminal and see if it returns anything:

```
ssh-add -l
```

If the key is not there, you can re-add it doing:

```
ssh-add <path_to_key>
```

Let us know if that worked!

Kind regards,

Ana


Tags: mac
SourceTree 3.0.1 on Mac; company password changes; how to update HTTPS git password in SourceTree?
Asked by Adam Whitney:

SourceTree 3.0.1 on Mac was working great with my company git repo (using HTTPS connection) until my company made me update my password - which happens every 90 days. Then SourceTree just stopped being able to connect to the remote repo because it had stored my old password ... but it didn't give me any way to update to the new password.

After hunting around in Atlassian community posts I found that I could delete a file named:

\~/Library/Application Support/SourceTree/\<username\>@STAuth-\<github.host.name\>

And then SourceTree 3.0.1 on Mac prompted me for the new username.

This seems like a really lame process to change the HTTPS git password within SourceTree 3.0.1 on Mac ... is there a better way? If not, please consider this as a request to add a feature to make it simpler to change HTTPS git passwords within SourceTree on Mac.


Answers:
author: bgannin
body: Hi [@Adam Whitney](/t5/user/viewprofilepage/user-id/2725739),

Were you unable to edit your account's password in Preferences -\> Accounts and have it set properly? Those workarounds are usually only necessary if it doesn't save properly. If this is for a locally hosted server (not from a supported provided) then the workaround is your only option as Sourcetree provides minimal management for them in some respects.

I agree these workflows could be improved, please file a [couple tickets for us](https://jira.atlassian.com/browse/SRCTREE) to review when planning future releases (and so others can vote on it if it's not already there.)

Brian Ganninger  
Principal Developer, Sourcetree


Tags: mac
Create new remote repository using existing local repository
Asked by Valery Ramirez:

Hi all, how are you?. I'm new with sourcetree and I've a doubt, I'm working with a proyect in mplabx then I've created the repository there with no problem so I have my project folder with a .git folder in there. I want to create a remote repository on github to push the local repository that I've previously created but I'm worried about if creating this repository because I don't know if in the Destination Path, when I write the address of the folder where the local repository is, then I don't know if this procedure will erase the content of the local repository folder or it will even recognize the .git folder and others and its content.

Can you help me with that?

![Creaci?n del nuevo repositorio.png](/t5/image/serverpage/image-id/49112iA9DAB68B284BCD5F/image-dimensions/498x319?v=v2 "Creaci?n del nuevo repositorio.png")

Here is the image with the remote repository creation window.


Answers:
author: Igor Piskunov
body: Hi [@Valery Ramirez](/t5/user/viewprofilepage/user-id/2830851). You need to set your destination path and you could be calm about the stability of this process. Adding of the new remote will not affect your code and will not erase your project. It'll be new remote repository URL and that's all. You can decide which remote you want to use any moment.  

<br />

Alternative way to add remote via Terminal:

1. `cd /path/to/your/project`

2. `git remote add origin https://path_to_your_repo`

3. `git push -u origin master`


Tags: git
New remote repository using existing local repository git
Asked by Valery Ramirez:

Hi all, how are you?. I'm new with sourcetree and I've a doubt, I'm working with a proyect in mplabx then I've created the repository there with no problem so I have my project folder with a .git folder in there. I want to create a remote repository on github to push the local repository that I've previously created but I'm worried about if creating this repository because I don't know if in the Destination Path, when I write the address of the folder where the local repository is, then I don't know if this procedure will erase the content of the local repository folder or it will even recognize the .git folder and others and its content.

Can you help me with that?

![Creaci?n del nuevo repositorio.png](/t5/image/serverpage/image-id/49111iD44E7E7C1901D60F/image-dimensions/478x306?v=v2 "Creaci?n del nuevo repositorio.png")

Here is the image with the remote repository creation window.


Answers:
author: minnsey
body: Hi  

That functionality is there to create a new repository from scratch, the local copy and the remote hosted copy.  

I believe what you want to do is create a new repository on the host of your choice, e.g. Bitbucket or GitHub etc, then open your local repository in Sourcetree and click the cog in the upper right of the screen to open the repository settings and add a new remote, using the URL from your remote hosted repository

comments: author: Valery Ramirez
body: Well, I'm a little bit confused here, so what I need to do is like follows?:

1. Open the local repository in sourcetree. \[DONE\]
2. Create the remote repository in the host.
3. Link the remote repository to the local one by adding the remote one through the cog and adding it?.

I'm very new to version control and I don't want to loose my work, thats why I'm asking what to others might seem obvius.


author: Valery Ramirez
body: Thank you Michael, your suggestion worked flawlessly.

Is there an option to create the remote repository and link it with an existing local one from sourcetree instead of having to create the remote directly at github?


author: minnsey
body: Glad you are back up and running.  

If you create a new repository from scratch you can then create the new remote at the same time. But no, there is not currently the ability to create a new remote from an existing repository.  

You can request new features at <https://jira.atlassian.com>


Tags: github

project

remote
Can't login using SourceTree
Asked by Joseph82:

Suddenly I cannot login from SourceTree anymore.  

This is the error I got:  

```
The operation could not be completed. (Error in com.google.HTTPStatus 401.)
```

<br />

However I can login on the bitbucket website directly with the same credentials.  

[@bgannin](/t5/user/viewprofilepage/user-id/744444) I had to edit the question since apparently "Reply" doesn't work.   

1. SourceTree version 3.0.1  

2. Mac  

3. Basic Auth  

4. Doesn't work either way (while I can access through https using git commad-line)


Answers:
author: bgannin
body: Hi [@Joseph82](/t5/user/viewprofilepage/user-id/2893980)

A few questions:

1. What version are you using?

2. What platform are you on? (Mac or Windows)

3. Are you using OAuth or Basic Auth?

4. The repository in question is accessed via HTTPS and not SSH, correct?

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Joseph82
body: Hi [@bgannin](/t5/user/viewprofilepage/user-id/744444)   

1. version 3.0.1  

2. Mac  

3. Basic Auth  

4. Doesn't work either way


author: bgannin
body: Please upgrade to the latest release (3.1.1) and let me know.
Sourcetree Tracking menu difficult to navigate when it is very large
Asked by Blue_Minibike:

Perhaps this is better as a discussion.  

On our enterprise level git installation, there are hundreds of branches to choose from for tracking. It is easy to setup a tracking branch for a local branch at creation, but if it is ever desired to change that tracking, then it becomes a pain using Sourctree.

When using the right click on a local branch name, the "Track Remote Branch \>" option brings up a list of all the possible branches.

Currently, with two remotes, this list is out of control too big to scroll through and that seems to be the only method available to use the list.

Could a search method please be provided that would allow narrowing the list down, while confirming a correct existing name to select?

An alternative, would be to just give at least a way to manually type in the branch name, however, this is not much better than simply opening a Terminal window and entering the git command to make the tracking occur (non-GUI, and fraught with potential for mistakes).

I am a fan of all the improvements to Sourcetree (Windows) that have come in the last year, and am now recommending it to others in our group. This item is one that I always get feedback on.

If someone would like to discuss this further, please email me with a phone number.

Thanks.


Answers:
author: minnsey
body: Hi  

(Sorry I did reply to this yesterday, but must have forgotten to press submit)   

Thanks for the feedback, we only get to understand scenarios such as yours when we get feedback.  

At this stage I'm afraid I can only suggest creating a feature request at [https://jira.atlassian.com](https://jira.atlassian.com?)
Sourcetree Tracking menu difficult to navigate when it is very large
Asked by Blue_Minibike:

Moved this to discussion:  

<https://community.atlassian.com/t5/Discussions/Sourcetree-Tracking-menu-difficult-to-navigate-when-it-is-very/td-p/1036404>


Answers:
author: minnsey
body: See response at <https://community.atlassian.com/t5/Discussions/Sourcetree-Tracking-menu-difficult-to-navigate-when-it-is-very/td-p/1036404>


Tags: menu
Why do my branches always change colour?
Asked by Matt Adams:

My develop branch should be always on the left as far as i'm concerned, and other consistent colours branching off my develop branch.


Answers:
author: minnsey
body: Hi  

Assuming you are on Windows, you're current branch should be the left-most. Colours are currently set dynamically so the colour for a given branch may change after a refresh/restart/redraw etc

comments: author: Matt Adams
body: Yes on Windows. I'm wondering if I can set it so that the develop branch always stays the same colour and on the left and all branch colours are consistent?

Or is what you say above just default and cant be changed?


author: minnsey
body: I'm afraid that is just the default behavior currently. You can raise feature requests at <https://jira.atlassian.com>
how can i connect to github, i'm not seeing an option to connect to github after installing
Asked by Karthik Appana:

i'm not able to connect to github source tree after installing software, i can see only two versions bitbucket cloud and bitbucket server,

but not seeing GITHUB


Answers:
author: minnsey
body: Hi  

You have to register Sourcetree with a Bitbucket account, which is free, but once registered you can add additional accounts for other hosting services such as GitHub, GitLab, DevOps etc
Not able to Push a Folder
Asked by Suraj Gutti:

Hey all,

I'm pretty new to Bitbucket and Source Tree and I am trying to add my project to the repository. Here's the problem. I cloned the remote repo onto my computer and I copied my project into it. I can see it among the staged/unstaged files. But when I try to commit, nothing happens. And when I try to push, nothing shows up.

I'm not sure if I missed something. I tried looking at the documentation but I followed everything as far as I can tell. Can someone shed some light on it?

![cdfsdf.png](/t5/image/serverpage/image-id/48972i6DD48C339125016D/image-size/large?v=v2&px=999 "cdfsdf.png")

Let me know if you need any more details

TIA!


Answers:
author: Suraj Gutti
body: Thanks, Jobin.

It looks like the commit was not working when I try to right click on the folder and try to commit from the drop down. I am not sure why that happened but I was able to push it now.


author: Jobin Kuruvilla [Adaptavist]
body: Are you seeing any errors while committing? From the screenshot, it looks like the staged files are not committed yet. That explains why you have nothing to push.

Make sure you commit the files with a valid commit message.
How to see the corresponding git commands in Sourcetree?
Asked by Bruce Merenbloom:

New to sourcetree :-) ..... When I click Sourcetree buttons, a progress dialog pops up and I can click "Show Full Output" to see the associated command-line git commands. But sometimes the command works so fast, there is no time to click Show Full Output. Where can I look to see a record of the git commands that were issued? Thanks.


Answers:
author: Timothy
body: There should be an option called "Always display full console output" under Advanced.

*I'm using the Mac version of Sourcetree.*

comments: author: Bruce Merenbloom
body: Thanks, but I don't have that in my Sourcetree 3.0.17 on Windows.

I found Tools \> Options \> Git \> Enable verbose console output.

That makes the output at "Show Full Output" to be more verbose, but I still can't find the darned "console" so I can look at the git commands that execute in fractions of a second.


author: Guillermo
body: On SourceTree for Windows: Tools -\> Process Viewer...
Sourcetree "Authentication via SSH-Keys failed" for windows 10
Asked by kvstrijland:

So iven been browsing this forum and none of the old posts helped me. This is the current situation.

Im trying to create a work and private place, where ican work on both the same projects. I just setup m pc, with, the same method of setting up source tree.

I generated a SSH Key, added it to my account on bitbucket.org, and, i could clone/fetch/push/pull everything without a problem.

Now here comes the itchy part where im getting actually quiet annoyed about. I did the freaking same thing on my laptop. Using windows 10 on my laptop just like my pc, both acer product (shouldnt matter in any case but you never know). And i've deleted sourcetree over and over, deleted all the temp files and all appdata, but it keeps giving me the popup "Authentication via ssh keys failed, do you want to launch the ssh ke agent (Pageant) and retry.

Im getting quiet annoyed since it works on my pc and my laptop keep bugging me like this.

Can anyone please try to help me solving this?

thanks in advance you beautifull bastards:)

Ps: I dont need cocky responses like you should have searched better or anything. Keep them for yourself!


Answers:
author: minnsey
body: Hi  

Can I just confirm your setup?  

Are you using OpenSSH or Pagaent as the key manager on both workstations?  
Are both Sourcetree instances set to start the key manager at startup?  
Stupid question, sorry, but if you copy the keys back and forth between the 2 workstations the same behavior continues, it works on one but not the other?


Tags: bitbucket
Extract only one column from another table
Asked by MudCo:

Hi there,

I am trying to update the last column of table 1 from table 2. I could easily copy the table directly but page A must not show the document attachment as it's confidential. We can provide a link of page B on selective basis when they request access. So the documents are only available to view in Page B. Page A will only show the link to page B instead of the document attachment and the rest of the table details.

However, I need the dates of the Expiry column from page B extracted into the Expiry column in Table 1 which is in a different page. Is it possible to do so?

Table 1 (Page A)

| Name | Type |        Document link         |    Issue    | Expiry |
|------|------|------------------------------|-------------|--------|
| N1   | pdf  | \*\*restricted page link\*\* | 07 Mar 2024 |        |
| N2   | xlsx | \*\*restricted page link\*\* | 08 Mar 2024 |        |
| N3   | html | \*\*restricted page link\*\* | 09 Mar 2024 |        |

Table 2 (Page B- child page of page A)

| Name | Type | Document attachment |    Issue    |   Expiry    |
|------|------|---------------------|-------------|-------------|
| N1   | pdf  | abc.pdf             | 07 Mar 2024 | 31 Mar 2024 |
| N2   | xlsx | def.pdf             | 08 Mar 2024 | 30 Mar 2024 |
| N3   | html | ghi.pdf             | 09 Mar 2024 | 29 Mar 2024 |


Answers:
author: Stiltsoft support
body: Hi [@MudCo](/t5/user/viewprofilepage/user-id/5326753) ,

Please take a look at [this case](https://stiltsoft.com/blog/how-to-restrict-table-columns-for-viewing-and-editing-in-confluence/) that was implemented with the help of our app - [Table, Filter, Charts \& Spreadsheets for Confluence](https://marketplace.atlassian.com/apps/27447/table-filter-charts-spreadsheets-for-confluence?hosting=cloud&tab=overview&utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111).

Seems that it is smth similar to what you need.


Tags: cloud

confluence-cloud

table

table-excerpt

table-filter

table-filter-and-charts

table-filter-charts-spreadsheets
Embedded Draw.io diagram does not update to the latest version
Asked by David Brien:

I have several draw.io diagrams embedded onto Confluence pages using "embed draw.io diagram". I create the diagrams in their own browser tab separate to Confluence.

The draw.io file is saved on my local HDD, and I pick this file when embedding (I use the 'upload' tab and then select the file).

If I later go into Draw.io (directly in it's own browser tab) and I edit the diagram and save it (to the same original file that I picked when embedding), the confluence page will remain frozen in time on the diagram as it was when I first embedded it (even after refreshing). I expected it to reflect the latest changes, since the draw.io file is saved on my local HDD. **Does it simply not work this way, or is there a way for me to get the confluence page to see the latest version?**

I see now that if I go to the confluence page first, and edit the diagram using the Edit icon on the embedded diagram, then it does work - the confluence page correctly updates afterwards. I can do it this way if needed; just checking that I'm not missing something about my original method.


Answers:
author: David Benson _draw_io_
body: Confluence cannot access your local file system. When you embed the file you upload it to Confluence. Browser cannot do want you're looking for in this case, there are security reasons this isn't permitted.

comments: author: David Brien
body: ok, this explains it, thank you!


author: Nikola Perisic
body: Welcome to the community David!

Here in our Atlassian community, there are folks who are part of the draw.io. I see that you have tagged them on this post, which is great! Let us wait and see what they have to say about this.


Tags: cloud

confluence-cloud

draw.io
Inline comments with format (e.g. WYSIWYG editor)
Asked by Alessio Ragni:

Hi,

I would love to know how to configure Confluence to have comments using the WYSIWYG editor and how to change the size of the comments box.

The size is too small, and not having the option to format them makes them less valuable.  
Thanks


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Alessio Ragni](/t5/user/viewprofilepage/user-id/5327047) ,

unfortunately, you can't do that.

Fabio


Tags: cloud

confluence-cloud