youngmon/atlassian-qna huggingface dataset:
Allow app to open current path in terminal - MacOS
Asked by jokumer:

I want to redo a 'cancel or allowed' decision. After I installed MacOS X Mojave I got asked, if Sourcetree is allowed to control anything on my computer. I say'd 'No'.  
Since this action, I can't just open the current GIT path in Terminal.app  
How can I redo/force Sourcetree.app to do so again, like it was before I disallowed this feature?


Answers:
author: bgannin
body: Hi,

It's not Sourcetree that prompted you - it was macOS Mojave. You'll need to visit Security \& Privacy in System Preferences most likely and see what particular category it's been disabled in.

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: jokumer
body: Thx. I think also it is macOS Mojave, I need to tell enable again. But didn't find any solutions since a couple of weeks.


author: jokumer
body: Did found the checkbox under Preferences-\>Security-\>Privacy-\>Automation-\>SourceTree.app-\>Terminal


Tags: terminal
Export change log in Sourcetree
Asked by Yasuyo Kitano:

I would like to export change logs per file that appear on the right bottom pane in the Log / History tab in Source Tree.

I currently copy and paste each husk manually for each file, which is a lot of work when there are many changes.

Is there any way exporting detailed change logs all at once for one commit?


Answers:
author: Mikael Sandberg
body: Hi Yasuyo,

Welcome to Atlassian Community.

You can use git log -p -1 \<path to your file\> to get the diff output for one file, or git log -p -1 \<commit\> to get the diff for a single commit.
Where do Sourcetree repo avatars come from?
Asked by cableraywire:

There is a "Refresh Avatars" option in the bookmarks window. I assume that would pull avatars from somewhere, like perhaps GitLab (which has project avatars). How exactly does Sourcetree determine those avatars, and can I customize them?


Answers:
author: bgannin
body: Hi Garrett,

They are pulled from a remote service if it supports them. In the case of GitLab, we are looking for the "avatar_url" that's returned. If an icon isn't found in the cache, and doesn't return from the server, Sourcetree then looks for an in-repo icon that matches the following:

* name is "icon" or "logo"
* filetype is tiff, png, jpg, gif, or icns

Hope that helps.

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Dominick Sidiropoulos
body: Has this feature been abandoned or does it work only in mac os? I'm placing a logo.png icon in the root folder of a repo (haven't committed it though) and sourcetree doesn't employ it as an avatar. What gives?


author: bgannin
body: It's not currently supported by Windows but we do have it on the list.


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

My profile image from GitLab shows up correctly in the Preferences \| Accounts list, but anywhere else in Sourcetree a generic geometric shape is displayed.

Any idea why?

**macOS 10.14.5**   
**Sourcetree 3.1.2 (216)**


author: bgannin
body: Hi [@Bahman Engheta](/t5/user/viewprofilepage/user-id/2902535),

Commit icons are driven by Gravatar, not hosting service account avatars. Having this as a fallback when that's unavailable for any reason is a great request to file in our public trackers ([Mac](https://jira.atlassian.com/browse/SRCTREE), [Windows](https://jira.atlassian.com/browse/SRCTREEWIN)) for us to get it on the roadmap. Thanks for the feedback.

Brian Ganninger  
Principal Developer, Sourcetree


author: RunesReader
body: Hello, [@bgannin](/t5/user/viewprofilepage/user-id/744444) !

What size of this logo image should be?


author: LucasLarson
body: > What size of this logo image should be?

The two repositories I happened to see this feature on had a 128???128 PNG in their root folder. One was \`Icon.png\`; the other \`icon.png\`.
Wow can I change my username ?
Asked by Opa Meyang:

It looks like I am logged in under a previous email address. Where can I change it in Sourcetree


Answers:
author: bgannin
body: Hi Johannes,

If the username if specified in the remote for a particular repository you can edit those in the Remotes section of the Repository Settings for it. If you want to delete an account entirely you can do so in the Accounts section of Sourcetree's settings/preferences. Hope that helps.

Brian Ganninger  
Senior Mac Developer, Sourcetree
Sourcetree how to delete local branch
Asked by Thi?u t? Ph?m Xu?n B?ch:

As in question.

When delete local branch, it show error

\<code\>

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks branch -d feat/cn/KT3TCT6-6555_import_ma_khach_hang  
warning: not deleting branch 'feat/cn/KT3TCT6-6555_import_ma_khach_hang' that is not yet merged to  
'refs/remotes/origin/feat/cn/KT3TCT6-6555_import_ma_khach_hang', even though it is merged to HEAD.  
error: The branch 'feat/cn/KT3TCT6-6555_import_ma_khach_hang' is not fully merged.  
If you are sure you want to delete it, run 'git branch -D feat/cn/KT3TCT6-6555_import_ma_khach_hang'.

\</code\>

When I run git bash 'git branch -D feat/cn/KT3TCT6-6555_import_ma_khach_hang'

It show error

\<code\>

fatal: not a git repository (or any of the parent directories): .git  

\</code\>

So how to delete a local branch?

Why should someone care about a branch that he want to delete is fully merged or not?


Answers:
author: Ana Retamal
body: Hi!

Seems like the real issue is on the second part:

```
fatal: not a git repository (or any of the parent directories): .git
```

Have you navigated to the directory in a command shell and run "git status" there? It might be that the .git folder has become corrupted.

Let us know!

Ana
Cannot connect to GitHub with 2FA / SSH using SourceTree 3.0
Asked by jsaelhof:

I'm trying to setup sourcetree 3 on a new Mac. I already had my SSH key created and added to GitHub prior to installing SourceTree. When i go into the accounts section in sourcetree and try to add my GitHub account with SSH, I get a message during the "connect" phase that says "There was a problem adding your new SSH key to your GitHub account". GitHub doesn't allow adding the same key twice so i tried removing it on their end but it still didn't help. I get the same message. Obviously source tree won't let me pull because of credentials errors. This was really easy with Personal Access tokens in SourceTree 2...what can I try in SourceTree 3 to get this to connect?

Thanks


Answers:
author: Manju
body: You can login to GitHub on Sourcetree using OAuth and post that use either your own ssh key or a new ssh key generated from Sourcetree. If this key isn't already present on the host, it will be uploaded to GitHub by Sourcetree.

Lastly, Please check if the ssh-agent has your keys loaded. If not, please add them to the agent.

Run below commands in terminal to do so,

To check if keys are loaded:

```
ssh-add -l
```

To add keys to agent:

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

more like,

```
ssh-add ~/.ssh/id_rsa
```

Key in the passphrase used while generating the ssh key and you should be good to go.

comments: author: jsaelhof
body: Thanks Manjunath,

For some reason my ssh key was not added to the agent. I thought this had been done. I added it successfully but it still doesnt fix the issue. I get authentication errors if a try to pull from my remote repo and if i go into the accounts panel and connect with github using my id_rsa.pub I get the same error saying "There was a problem adding your new SSH key to your GitHub account". I assume the error with adding the new key is because the key already exists on GitHub but if i delete the SSH key on GitHub, SourceTree still reports that there is an error adding it. So i do what it says and add it manually but still get nothing.


author: jsaelhof
body: For the record, having SourceTree generate a key gives the same error about being unable to add it to github.


author: Kathy Jacob
body: Hi Jason,

I am also facing same issue as yours.

Did you get any solution to this problem?


author: Russell Warwick
body: Make sure the origin is not using https and its just git@github SSH option. Had the same issue and at some point it made a weird switch.


Tags: github
Win10: Source Tree ist super slow (3-4 fps)
Asked by Marco Sch?r:

Hello

I used Source Tree as my primary git Tool. But since i installed the new 3.x Version it is no longer usable for me. I got just 3-4 FPS when i have source tree open and move the mouse over the source tree window. it's horribly slow! as soon as i bring another window in front, all is fine and i get my normally 144 fps. but the work in source tree is so laggy and slow, that i have to use another git client...

has anyone an idea how i can fix this problem? in the older 2.x versions i had no problems with my fps and it performed really well.

i'm running source tree on a win 10 pro machine with i9 and rtx2080ti


Answers:
author: minnsey
body: Hi  
We've not experienced this, could you attach video?

comments: author: Marco Sch?r
body: I found out why it's so slow...

The reason is: GSYNC. I also used new monitors with 165hz and GSYNC. It seems that electron apps have dramatic frame losses when gsync is enabled.

just disable gsync and it works. but why the hell should i buy a 165hz monitor if i cant use the herz on all new apps :S


author: minnsey
body: Just to clarify. Sourcetree is a WPF/.NET app not electron.


Tags: performance
email, password, nothing works
Asked by Antti Kemppainen:

For some reason settings file in my sourcetree was corrupted. The program told me it would fix itself and removed all my settings. now I cannot sign in, make pulls or find my repo no matter how I try. I try to reset my password but no email is sent from your direction. What do I do? We're on our last week of production and this is a really big inconvenience.


Answers:
author: Antti Kemppainen
body: Email of sending this here arrived instantly though..
How can i add an ignored file back to the repository?
Asked by Jibin Jacob:

Hi,

I am new to Git Methodology. I was trying to ignore some of teh files from Source Tree. Selected particular file (with one extension .CBL) and selected one entire directory by mistakenly. Now both are in ignored status.

Can you please help me to un-ignore the previously ignored files. Its not pushed to BitBucket. Still in my local repository only.

Thanks,

Jibin


Answers:
author: minnsey
body: Hi  

The simplest way is to open and remove the incorrect patterns from the .gitignore file in your repository.

comments: author: Jibin Jacob
body: Thanks... Please refer this link also to get an idea about how can we do teh same for global repositories..

<https://community.atlassian.com/t5/Sourcetree-questions/How-to-track-an-ignored-file/qaq-p/223359>
SourceTree is heavy when it loads to large changed file
Asked by Kamigaki:

Hi. I really love SourceTree and it helps me ;)

I am using SourceTree for Node.js GIT repository, and it has package-lock.json.

![Screen Shot 2018-12-18 at 12.55.40.png](https://community.atlassian.com/t5/image/serverpage/image-id/40532iE0926C00F0378529/image-dimensions/203x74?v=v2 "Screen Shot 2018-12-18 at 12.55.40.png")

package-lock.jsond is changed when a node module is added, removed and updated.

The size of package-lock.json is approximately 500kb but it has many changed lines.

Then SourceTree is really heavy when show the diff.

When I clicked a commit including the file, when I check the staged files including the file..

How can I avoid the situation?

Thanks


Answers:
author: bgannin
body: Hi,

Thanks! You can add the file name pattern (package-lock.json) to the ignored list in Sourcetree's diff settings and it will no longer preview the contents. Hope that helps.

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Kamigaki
body: [@Brian Ganninger](https://community.atlassian.com/t5/user/viewprofilepage/user-id/744444)

Thank you for your reply ;)

Yes, I want to ignore at SuorceTree diff but I cannot find out the settings.

How or where can I add the pettern "package-lock.json"?


author: Kamigaki
body: (moved to replied thread)
Merge to master branch got stuck
Asked by Blackmagelvl100:

Hey everyone! I have been getting this weird problem lately. Whenever I try to merge my branch into the master branch, to pull the new updates it always gets stuck on this window. It seems that merging the branch works for my coworkers as I always ask them to merge my branch for me, but I want to do that by myself to be more productive. I'm not a git expert so I don't know if I am doing something wrong. The process that I'm doing right now to merge my branch is just simply right-clicking the master branch. If you could help me that would be great!![1.PNG](/t5/image/serverpage/image-id/40473i310861725BF86F78/image-size/large?v=v2&px=999 "1.PNG")


Answers:
author: minnsey
body: Hi I believe it is a bug in Git-LFS  
<https://github.com/git-lfs/git-lfs/issues/3358>
Question about window
Asked by Mao Yan:

![image.png](/t5/image/serverpage/image-id/40435i57AF5F5DE1093AC6/image-size/large?v=v2&px=999 "image.png")I am a developer from China. There are very few answers about SourceTree on Chinese websites. My team and I just moved from SVN to Git. In the history submission record of SourceTree, why didn't it show the author? It's very inconvenient.(Mac 3.0.1)


Answers:
author: bgannin
body: Hi,

The "description" column is sized too large. Scroll to the right and you'll see the other columns. Resize the "description" column to be smaller and you should be good to go.

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: Mao Yan
body: Thank you. I seem to have found out how to adjust it, but it's not too obvious. I hope it can be improved. Thank you.


Tags: mac
BUG in Sourcetree for mac
Asked by ahmedabdelkarim_itworx:

If a branch is deleted from Bitbucket or Github websites, the deleted branch still shown in Sourcetree desktop application - under Remotes/origin - even if "Fetch" is clicked and the application restarted.

While if "Fetch" is done using Github desktop application, it works and reflects on Sourcetree app.


Answers:
author: bgannin
body: Hi Ahmed,

Please file a ticket in [our public ticket tracker](http://jira.atlassian.com/browse/SRCTREE/) about how a repository's remotes aren't updating as expected with the notes you listed here. This allows us to triage and prioritize and other users can search and vote on it as well.

Brian Ganninger  
Senior Mac Developer, Sourcetree

comments: author: ahmedabdelkarim_itworx
body: Thanks Brian. I created the bug there and here is the link:

[https://jira.atlassian.com/secure/RapidBoard.jspa?rapidView=486\&projectKey=SRCTREE\&view=detail\&selectedIssue=SRCTREE-6335#](https://jira.atlassian.com/secure/RapidBoard.jspa?rapidView=486&projectKey=SRCTREE&view=detail&selectedIssue=SRCTREE-6335#)

Now, what's next? And how can I track the bug?


Tags: bug

mac
How to add Approval process for a section in a confluence page ( Our version Confluence 8.5.5 )
Asked by Sri Harsha Reddy Kusam:

We are global support team and we have a Support page for each application. We almost have 400 Application Support pages and each page has different sections and of of them is SOP ( Standard Operating Procedure ) section and all our Development teams keep adding SOP's and these SOP's are not getting reviewed by my team.

When my teams come to a situation to run those SOP's most of them dont work.

To avoid such issues, If anyone added any SOP to the section we want it to be reviewed and approved and publish the added/updated SOP's.

Can you pls suggest a solution this really help a lot in solved our big problem which we are facing since many years.

Thanks


Answers:
author: Brant Schroeder
body: [@Sri Harsha Reddy Kusam](/t5/user/viewprofilepage/user-id/5436396) Welcome to the Atlassian community

There are a couple of different ways to do this.

1. You can buy an app that provides workflow and approval process to Confluence to ensure that the document does not get published without a review. This is the easiest and will have the most features.
2. You can create an internal process that everyone has to follow in order to make sure changes are not published to production without review. I have seen this done where they have two spaces. One that everyone can access to update pages but is not available to the customer. The other space is available to the customer but only your team can edit it. They then use Jira to do the process of change control and your team would publish it. This has a lot of overhead and you need to weigh it against the cost of the app.


Tags: confluence-data-center

data-center
Best practice for Space home page creating
Asked by Mariia Perekhodko:

any idea or examples in term of Best practice for Space home page creating using out of the box macroses ? thanks


Answers:
author: Tansu Akdeniz
body: Hi [@Mariia Perekhodko](/t5/user/viewprofilepage/user-id/5436395)

Welcome to the community.

When you create a new space from template, it is automatically created with some macros depending on the template type such as software, marketing, sales, HR..

Important quick links, team members, status, jira issues, roadmap, contact etc are some items which can be used on home page. You can customize it according to the space content. Homepage generally gives a quick overview and navigation.

Please see this KB: [Confluence best practices](https://www.atlassian.com/software/confluence/resources/guides/get-started/best-practices#create-compelling-content)


author: Bal?zs Szak?l _META-INF_
body: Hi [@Mariia Perekhodko](/t5/user/viewprofilepage/user-id/5436395) ,

If you are under 10 users, our app [Advanced Content Navigator for Confluence](https://marketplace.atlassian.com/apps/1218865/advanced-content-navigator-for-confluence?hosting=cloud&tab=overview) might give you a nice macro, to create a dashboard like this:

![1e74fb52-5eeb-401e-8ee8-.png](https://community.atlassian.com/t5/image/serverpage/image-id/312079iFDD0274AE52C8564/image-size/large?v=v2&px=999 "1e74fb52-5eeb-401e-8ee8-.png")

Here you can showcase page tree structures from different spaces while showing unread pages and page statuses!

Best Regards,  
Bal?zs


Tags: cloud

confluence-cloud
The uncompressed file is too large to import. Reduce its size so that it does not exceed 20 MB.
Asked by ??????? ????:

Hi all

Tell me how to import word larger than 20mb?

In the setenv file I set - CATALINA_OPTS="-Dconfluence.word.import.maxsize=40"

<br />

But I also get a limit of 20MB

The uncompressed file is too large to import. Reduce its size so that it does not exceed 20 MB.


Answers:
author: Humashankar VJ
body: Hi - I hope that you are Doing good !!

So basically you are trying to increase it to 40 MB and can you also check - Changes to the setenv file saved and you have closed and opened the confluence ?

Can you also try the file from docx to document saved as .doc and try uploading ?

Happy to help further !!

Hope this helps

Thank you very much and have a fantastic day!  
Warm regards

comments: author: ??????? ????
body: Yes. I wrote the file, restarted the service, but the file still won't load.  

![??????.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/308552i1EAB05ACCF85119B/image-size/large?v=v2&px=999 "??????.PNG")![photo_2024-02-22_14-33-56.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/308553i20E19FEE72ACDFDF/image-size/large?v=v2&px=999 "photo_2024-02-22_14-33-56.jpg")


author: ??????? ????
body: maybe his add to setenv.bat file?

this line is not here

![??????.PNG](https://community.atlassian.com/t5/image/serverpage/image-id/308611iDDEBE99F1E3A4892/image-size/large?v=v2&px=999 "??????.PNG")


Tags: confluence-data-center

data-center
Loss of layout on text shared from Jira to Confluence
Asked by HNK:

Hello,

When i type text in Jira, the CR is correctly identified

But when the same text is published in Confluence, everthing is on the same line

++in Jira++

**Line 1 this is my text**

**Line 2 another text**   

++In Confluence :++ **Line 1 this is my text\<br/\>Line 2 another text**

Could you help me to fix this issue ?


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

how do you publish content in confluence?

Fabio


Tags: confluence-data-center

data-center
Automatic reminder for confluence tasks (if they have a date) on that date?
Asked by Stefan Salzl:

Hi community,

does anyone know if there is a possibility to track/grab/collect tasks that can be created within confluence pages? (NOT jira tasks)

The requirement for that is we would like to send a reminder email to the mentioned person of a task when the due date (if there is some date in that task) is exceeded. So I would need to get all tasks of a space and parse/iterate through them to filter mentioned user and date.

Might there be a CQL or RestAPI or Scriptrunner possibility? Any help is appreciated.

Thanks in advance.  

Best  
Stefan


Answers:
author: Stiltsoft Support
body: Hello,  
You can collect tasks based on your criteria using the Confluence [Task Report](https://confluence.atlassian.com/doc/task-report-macro-590260009.html) macro.  
We suggest looking at adding custom reminders to your tasks with our [Handy Reminder](https://docs.stiltsoft.com/hmfc/server-dc/handy-reminder/how-to-use-handy-reminder) from the [Handy Macros for Confluence](https://marketplace.atlassian.com/apps/1214971/handy-macros-for-confluence-formatting-and-interactive-ui?tab=overview&hosting=datacenter&utm_source=atlassian-community&utm_medium=answer&utm_campaign=handy-macros-traffic-sources&utm_vendorID=1216111&utm_content=automatic_reminder) app. You can send reminders once or select to make them recurring. You can also customize who will be notified if it should be not one person but several users working on the task.

![image-2023-12-20_14-25-24.png](https://community.atlassian.com/t5/image/serverpage/image-id/308160i4B060C487A01F1F9/image-size/large?v=v2&px=999 "image-2023-12-20_14-25-24.png")

comments: author: Stefan Salzl
body: Thanks. Mainly the question was about "how to technically find a solution".

The requirement is to find a solution within the existing environment without adding another app for that.

Best  
Stefan


Tags: api

automation

confluence-data-center

data-center

rest

rest-api

scriptrunner

task

tasklist