youngmon/atlassian-qna huggingface dataset:
SourceTree not letting me push changes
Asked by Pooja Mehta:

When I try to push my changes in sourcetree, it gives me a a popup for Bitbucket login. I have changed my password twice and on logging in, it shows me the following error:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master  
Logon failed, use ctrl+c to cancel basic credential prompt.  
remote: Invalid username or password  
fatal: Authentication failed for 'https://pooja1993@bitbucket.org/bbqh/androidtablet.git/'

Pushing to https://pooja1993@bitbucket.org/bbqh/androidtablet.git  
Completed with errors, see above.

Thank you!


Answers:
author: Mike Corsaro
body: Hello! Are you using Windows or Mac? Additionally, which version of Sourcetree are you using?

comments: author: Pooja Mehta
body: Hi! I am using Windows. I am using Sourcetree version 3.1.3.3158.


author: Mike Corsaro
body: Could you try the following?

* Open Tools \> Options
* Go to "Authentication" and remove the Bitbucket accounts you're using (including the entries under "Git")
* Then re-add your Bitbucket account by clicking Add
* When adding the account, make sure the "Authentication" is set to "OAuth" and hit "Refresh OAuth Token"
* Hit "OK"
* Try to push to your repository again


author: Pooja Mehta
body: Hi Mike,

I am getting the following error now:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master  
fatal: HttpRequestException encountered.  
An error occurred while sending the request.

remote: Invalid username or password  
fatal: Authentication failed for 'https://pooja1993@bitbucket.org/bbqh/androidtablet.git/'

Pushing to https://pooja1993@bitbucket.org/bbqh/androidtablet.git  
Completed with errors, see above.
Windows ? SourceTree 1.9.x ????????????????
Asked by yadashu:

????????????????????????ID/PW??????

??????????????windows????????????????????

?????????????????????????????????????????????????????

git???????????????????????????

git config --global http.proxy http://\<userName\>:\<userPw\>@xxx.xx.xxx.xx:8080  
git config --global https.proxy http://\<userName\>:\<userPw\>@xxx.xx.xxx.xx:8080

git config --global http.sslVerify false


Answers:
author: Ai Hirama
body: ?????????????????????????

?????????????????????????????????????????????????????

comments: author: yadashu
body: ?????????????

?SourceTree??????????????????????????????????  
?????????????????????????15??????????????????  
???????Proxy?????User name / password?????

?????SourceTree?????????????????????????????ID/PW????????????????????????

????????????????????????

![error-img.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/55050i658C06DFCC692514/image-size/large?v=v2&px=999 "error-img.jpg")


author: Ai Hirama
body: ??????????????????

?????????Sourcetree????????????????????????

* [SourceTree?????????????????](https://www.ricksoft.jp/qa/questions/23364188/sourcetree%E3%81%AE%E8%AA%8D%E8%A8%BC%E6%83%85%E5%A0%B1%E3%82%92%E5%89%8A%E9%99%A4%E3%81%99%E3%82%8B%E3%81%93%E3%81%A8%E3%81%8C%E3%81%A7%E3%81%8D%E3%81%AA%E3%81%84)
* [How to update HTTP(S) credentials in sourcetree](https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564)

????????????????


Tags: language-ja

windows
Can't push repository
Asked by David Breznik:

Deaer Atlassian-Team,

it's not possible to push the repository. Can you help me, please? ![SourceTree_Issue.png](/t5/image/serverpage/image-id/54424i5E2A3004E4660C5D/image-size/large?v=v2&px=999 "SourceTree_Issue.png")

Thank you very much!

Regards,

David


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

Have you followed the recommendation that you got at the bottom of the error message?:
> Updates were rejected because a pushed branch tip is behind its remote counterpart. Check out this branch and integrate the remote changes (e.g. 'git pull ...') before pushing again. See the 'Note about fast-forwards' in 'git push --help' for details.

Can you try that and let us know if it worked for you?

If you're still having issues, and for troubleshooting purposes, can you let us know if pushing from the command line gives you any error?

Best regards,

Ana


Tags: mac
SourceTree not using Github account for commits, instead using author and email
Asked by Hamish Maritz:

Hi there,

I'm currently dealing with an issue that when i commit and push through Sourcetree it seems to use the default author and email address rather than my Github account. When i go into the commits of the repo it shows it as the full name listed on the Source Tree Account without an avatar and unclickable rather than my github username with the avatar that i use. I've tried to uncheck the 'Allow Sourcetree to modify your global git configs' as well as setting my Github account as the default in the accounts tab with no prevail. Any suggestions how i can get it working? cheers.


Answers:
author: Mike Corsaro
body: Hello! You can change the username + email used for commits by clicking on the picture on the commit screen. It should open a popup that will allow you to change it:

![help_user.jpg](https://community.atlassian.com/t5/image/serverpage/image-id/54693i3CDD4DF1D979CC0A/image-dimensions/262x182?v=v2 "help_user.jpg")

comments: author: Tim Morris
body: This doesn't answer the OP's question of how to change it to their **GitHub** account :/


author: Mike Corsaro
body: Ah, that's because it's not possible to automatically use your Github or Bitbucket account as the default author info for commits. You need to manually override it per-repo, or use one common name and email.


author: Tim Morris
body: Thanks for this, I think my issue might have stemmed from accidentally syncing a SourceTree config file from another computer with this computer, so a problem of my own making! When I checked the commit details, the email address being used wasn't what I'd entered in the repo settings, nor what was displayed in the File Status interface; it was something like the Windows user.  

In the end I uninstalled, deleted all traces of SourceTree files I could find and re-installed, which sorted it.


author: Tim Morris
body: These articles might help:  

* This explains the conditions required for GitHub to link a commit to your account, and some things that might be wrong if it's not working: <https://help.github.com/en/articles/why-are-my-contributions-not-showing-up-on-my-profile>
* This also has some troubleshooting tips if it's not working: <https://help.github.com/en/articles/why-are-my-commits-linked-to-the-wrong-user>
* This has specific steps for diagnosing/solving the problem using git in the command line (if you're comfortable with that): <https://stackoverflow.com/questions/26004587/git-commits-are-not-getting-linked-with-my-github-account>

What was particularly helpful for me in diagnosing the problem was [this tip](https://help.github.com/en/articles/why-are-my-contributions-not-showing-up-on-my-profile#you-havent-added-your-local-git-commit-email-to-your-profile) from the first link above: add **.patch** to the end of a commit URL on GitHub to view details of the commit, including the email address the commit used. The email address is what GitHub uses to link it to your account, so this is the key bit of information.
Sourcetree is not launching external difftool
Asked by gbertrand_m:

All,

Been working on this for a few hours now, and I'm stuck.

I'm trying to get LVCompare to launch as a external diff-tool from sourcetree. I've seen people on here successfully getting up and running, but none of their solutions seem to work for me.

I've configured my .gitconfig to be the following:

\[diff\]  
tool = "sourcetree"  
\[difftool "sourcetree"\]  
cmd = 'C:/Program Files/National Instruments/Shared/LabVIEW Compare/LVCompare.exe' \\"$LOCAL\\" \\"$REMOTE\\"

I can run the tool from the git bash command line successfully, and I can see the temp file from the remote path being created when attempting to launch external diff from sourcetree.

My process view shows the following output when attempting to launch the diff:

![ST_processlog.PNG](/t5/image/serverpage/image-id/54409iF1B188A1A03DE8AC/image-size/large?v=v2&px=999 "ST_processlog.PNG")

As far as I understand it's missing the SHA part after the tool argument. I have no idea how to track down the problem.

Hopefully it's something small I missed, but any help to try and sort it out is much appreciated!


Answers:
author: Mike Corsaro
body: Hello! It appears that the labview diff tool expects the absolute path for the files. [Could you try the script here and see if it helps?](https://lavag.org/topic/17934-configuring-git-to-work-with-lvcompare-and-lvmerge/?do=findComment&comment=115861)

Thanks!

comments: author: gbertrand_m
body: Thanks for replying!

I used the script during my initial exploration to see if it could breathe any life into it, and I just now tried it again. I still see Sourcetree creating the diff file in my Temp folder, but still the same output on the process viewer as above and no tool launched.

I tried launching the script and passing file paths myself from the git bash command line and it started up with no issues.

Is there any way to see the command that Sourcetree is trying to invoke?

Thanks for your help!


author: Mike Corsaro
body: Could you give me the script + the settings in Sourcetree for the diff provider (I assume you're using the 'Custom' option)?


author: gbertrand_m
body: I have actually solved it after working on it again for a few hours.

My company uses Beyond Trust to control all the permissions on our machines, and the version of Git that comes with sourcetree gets blocked from invoking commands like "git mergetool". Installing git 2.7 from the github source somehow fixes this problem and lets everything run as needed.

To get to the source of it I tried running the exact same command as in the process viewer and the terminal gave me tons of errors about dll's being unavailable which clued me into a new set of google searches that eventually led to someone having a similar problem with other programs originating from Beyond Trust.

Hopefully this is helpful for anyone else running into similar problems.

And thanks Mike for your time to help me out!


Tags: labview
The bitbucket source tree desnt work giving source not valid
Asked by Ashish Agarwal:

The bitbucket source tree desnt work giving source not valid


Answers:
author: Ashish Agarwal
body: Can check and confirm


author: Ashish Agarwal
body: ![proxy.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/55285i8C058A5C9D97CB4A/image-size/large?v=v2&px=999 "proxy.JPG")


author: Ashish Agarwal
body: Below is the output from details:

Command: git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks ls-remote https://ashishagarwal1@bitbucket.org/bitbucket_dmo/otap_playbook.git  
Output:  
Error: fatal: unable to access 'https://ashishagarwal1@bitbucket.org/bitbucket_dmo/otap_playbook.git/': Could not resolve proxy: http

No I haven't tried removing te account. How to do that? Can u share the steps.

Also do note that we are using the the Proxy settings in network tab. Please assist

comments: author: Mike Corsaro
body: Looks like it's not the account, but rather something wrong with the proxy configuration. Could you provide your current proxy configuration?


author: Mike Corsaro
body: Hello! Which version of Sourcetree are you using, and which OS are you using (Windows, or Mac)?

comments: author: Ashish Agarwal
body: The source tree vrsion is 3.1.3 and OS is wndows. Can u reply soon.


author: Mike Corsaro
body: What's the URL you're trying to clone? Could you provide a screenshot or the error message you're seeing?


author: Ashish Agarwal
body: ![Capture1.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/54538iC1B982BA6414637D/image-size/large?v=v2&px=999 "Capture1.JPG")![Capture2.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/54537i07EBEB5727195D19/image-size/large?v=v2&px=999 "Capture2.JPG")![Capture3.JPG](https://community.atlassian.com/t5/image/serverpage/image-id/54539iFFD6A7FBC62B70DE/image-size/large?v=v2&px=999 "Capture3.JPG")

URL:

git clone https://ashishagarwal1@bitbucket.org/bitbucket_dmo/otap_playbook.git. PFA the screenshot for this URL: as Capture 3.

Remaining if I try to checkout in source tree I get same error. Source not valid.


author: Mike Corsaro
body: What's the error when you click "Details..." on the clone page?

Have you tried removing and then re-adding the account "ashishagarwal1" in Sourcetree and then try cloning again?
why is Commit not working on SourceTree?
Asked by pierreborg:

I am testing SourceTree, but when I click on Commit to commit a text file, nothing happens. Can you explain what is the cause of this issue please?


Answers:
author: Ren? de Vries
body: Also I had this problem, and we were not the only one, several communities discussed this behavior.  

My colleague found a funny work around. It works on Windows 7 using two screens:  

Drag your SourceTree window upwards or away from the 1st screen towards the 2nd screen. This way, the commit button is out of the right-bottom area of your screen.

In my opinion a Windows related issue. For example, at this moment, also my scrollbars in IntelliJ aren't accessible in this area of the screen.

comments: author: Satish Dabilpur
body: Superb, worked for me. By decreasing the screen size, **Commit**button is actually enabled and worked as usual


author: Hamid
body: Great. Decreasing the screen size works for me also. I can commit now.  
Thanks.


author: psinka
body: 2024 and this actually worked lmao.

i unchecked "Set global author details for Git and Mercurial" and reduced the window size and it went through xd

thanks!


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

I'm not quite clear on what you mean by "click on Commit".

- Are you clicking the Commit toolbar item, or the Commit button in the File Status view?

- Is the file marked as changed?

- Does committing the text file via CLI work and this is specific to ST?

Hopefully we can get to the bottom of this ASAP.

Brian Ganninger  
Principal Developer, Sourcetree
Page Layouts, Columns and Sections . Filter, sorting .Is this available for cloud?
Asked by Ritika Ojha:

I was using confluence sever based which had these options , that made creating boxed data information in a structured way on the page. Also filtering \& sorting options were available on tables which made it easier for me to club data for presentation.

I recently moved to using confluence cloud and i don't see these options available . Are there plugins or alternatives i can use?


Answers:
author: Ritika Ojha
body: I would like to also check something. Page that were migrated from old version to new, still retained below with multiple sub-features like below

![confluence page panel.png](https://community.atlassian.com/t5/image/serverpage/image-id/312278i6535C7CC7BDD97BF/image-size/large?v=v2&px=999 "confluence page panel.png")

New confluence cloud only has very limited fucntions.

![new page layout.png](https://community.atlassian.com/t5/image/serverpage/image-id/312279iE5763EE7DB531FF8/image-size/large?v=v2&px=999 "new page layout.png")

is there a way to add the old page layout features to new confluence version?


Tags: cloud

confluence-cloud
I am using confluence to create often used pages. The page has an IFTTT for emailing
Asked by Butch_Richards:

when it creates the page it drops the fields I want to use in the created page   

the below section is in the code on create   

Thanks for your decision of \[entry.decision.label\]. Here are the details:

* **Position**: \[entry.position.label\]
* **Environment** \[entry.environment.label\]
* **Decision**: \[entry.decision.label\]
* #if(${riskFactors}) **Risk Factors** \[entry.riskFactors\] #end

If there are any conditional approval factors they will be below

I need fields like "\[entry.position.label\]" need to remain when the page is generated. is there a wrapper I can put on this to not have them remove on the created page?


Answers:
author: Alex Medved _ConfiForms_
body: So, you want expressions on the page to remain as expressions when you create a Confluence page using ConfiForms?

Try using asEntryRef wrapping function

<https://wiki.vertuna.com/display/CONFIFORMS/Virtual+functions>

For example

* **Position**: \[entry.id.asEntryRef(entry.position.label)\]

Alex


author: Butch_Richards
body: Ok what I had to do is make read only fields for what i wanted enterd for the email and make tham have the value I will want on the created page it carries over


Tags: cloud

confiforms

confluence-cloud
The watch icon seems to have disappeared from all space pages except the home page.
Asked by Margaux LeBlanc:

Hello Product Experts!

We think our minds are playing tricks on us. We could swear there used to be an eyeball "watch" icon on each page in our space to "watch" a page. Just today we noticed the eyeball icon had disappeared on every page in the space except the welcome page. We see there is a button to "follow" on each page, but all the confluence help articles specifically mention to use the eyeball icon. Do you know what changed here? Is "Follow" the new eyeball icon?


Answers:
author: Shawn Doyle - ReleaseTEAM
body: I see the same behavior. I do believe that follow replaces the eyeball on the pages.


author: Margaux LeBlanc
body: Thank you all for your confirmation!


author: Laurel Ingle
body: I found the eye!!!! It is found under the all content view, but not seen on the page itself.![Screenshot 2024-04-15 at 1.26.22 PM.png](https://community.atlassian.com/t5/image/serverpage/image-id/318437i3B1E8D6B194A95A6/image-size/large?v=v2&px=999 "Screenshot 2024-04-15 at 1.26.22 PM.png")

comments: author: Margaux LeBlanc
body: Hi Laurel, thank you! So I think clicking that sets up notifications to watch all content in the space. Still a good function, but to watch an individual page I think it is now listed as "Follow." At least that's what I've found so far!


author: Laurel Ingle
body: The eyeball is only on that specific page for me. So for me, this is working the same as previously.


author: Laurel Ingle
body: The eyeball is also back on all my pages and I cannot even find Follow today. So maybe things have been changed?


author: Margaux LeBlanc
body: Gosh darn it, they eyeball is back! Seems so, time to update instruction manuals.


author: Barbara Szczesniak
body: I don't see this in my Confluence or Jira (yet), but I guess I'll keep my eye out for an article announcing this, an item in next week's release notes, or both.


Tags: cloud

confluence-cloud

follow

watch
Documents in Tables
Asked by SAlevy:

Is there any way to make the thumbnail of a document in a table smaller? I have quite a few docs to add and it is making the table unwieldy. Or is there a better way to link documents to a table? Thanks!


Answers:
author: Humashankar VJ
body: Hi [@SAlevy](/t5/user/viewprofilepage/user-id/4943060)

Can you try the below blog it will help you to fix the issue.

[Display files and images \| Confluence Cloud \| Atlassian Support](https://support.atlassian.com/confluence-cloud/docs/display-files-and-images/)

* [New editor](https://support.atlassian.com/confluence-cloud/docs/display-files-and-images/#New-editor)

* [Legacy editor](https://support.atlassian.com/confluence-cloud/docs/display-files-and-images/#Legacy-editor)

Hope this helps - Happy to help further!!  
Thank you very much and have a great one!

Warm regards

comments: author: SAlevy
body: Hi, is there supposed to be a link? If so, it didn't come through on my end.


author: Humashankar VJ
body: Yes - it a miss from my end - updated the link for your reference.


author: SAlevy
body: Thanks soooo much! This worked!


Tags: cloud

confluence-cloud
Blog verses pages
Asked by Cecilia McGall:

Can anyone explain how you are using the Blog functionality in Confluence and why the blog instead of a page. Thank you, just deciding how to use the function properly or efficiently.


Answers:
author: Laurie Sciutti
body: Hello [@Cecilia McGall](/t5/user/viewprofilepage/user-id/4705658) \~ there is a good article [here](https://support.atlassian.com/confluence-cloud/docs/create-and-edit-content/) about the differences. There is also some Community content that might help as well:

[What-is-the-difference-between-a-page-and-a-blog-in-confluence](https://community.atlassian.com/t5/Confluence-questions/What-is-the-difference-between-a-page-and-a-blog-in-confluence/qaq-p/1189604)

[What-is-the-different-between-pages-and-blog-posts](https://community.atlassian.com/t5/Confluence-Cloud-questions/What-is-the-different-between-pages-and-blog-posts-Why-doesn-t/qaq-p/1271196)

comments: author: Cecilia McGall
body: Thank you, this was what I was looking for.


Tags: cloud

confluence-cloud
how to Expand per Tap.
Asked by Sisay Kidane:

I use Visual Code in regular base. VSC allow me to use tap to expand and shrink all indent file (nested within a tap). For Example:

172.16.0.0/16

172.16.1.0/24

172.16.2.0/24

172.16.3.0/24

192.168.0.0/16

192.168.1.0/24

192.168.2.0/24

192.168.3.0/24

When I hit the line with 172.16.0.0/16, I would like to hide all nested taps under that.

Can someone please guide me on how I can accomplish this in Confluence?


Answers:
author: Humashankar VJ
body: Hi [@Sisay Kidane](/t5/user/viewprofilepage/user-id/5452867)

Great observation and your thought process seems solid - this can be a feature for enhancement.

Automatically collapsing nested content by clicking on a parent item is not possible at this time.

Hope this helps - Happy to help further!!  
Thank you very much and have a great one!

Warm regards


Tags: cloud

confluence-cloud
Creating a link to a shared drive
Asked by Henry Canizales:

How do I create a link to a shared drive/folder, in Confluence?


Answers:
author: Barbara Szczesniak
body: [@Henry Canizales](/t5/user/viewprofilepage/user-id/5451105) If your solution does end up being dependent on the browser, I would recommend adding a note of some sort near the link advising readers what browser(s) they need to use (and any other conditions they need to meet) for the link to work.

comments: author: Nic Brough -Adaptavist-
body: I'd very strongly recommend not building a browser-dependent solution. Not only are browsers constantly evolving in ways that might break it, but it's a poor user experience to be told "this only works in a browser you don't want to use".

The web has evolved way past "this site only works in Internet exploder", that stopped a decade ago. People should be free to use any www standard compliant browser they want.

But if you must, then yes, absolutely tell people that your stuff only works in limited places.


author: Nic Brough -Adaptavist-
body: Welcome to the Atlassian Community!

It depends on how you are sharing the files, and in many cases, the browser in use as well.

When most people say "shared drive / directory", they're referring to a file share that is being done by mounting it into their client machine's file system. Confluence can not give you links to those types of share, because their location is not absolute (Your Z: drive might be my T: drive)

To answer the question, we need to know what type of file share you are using? How do you get to it when you open it manually?


author: Shawn Doyle - ReleaseTEAM
body: It's not as straightforward as it should be and we have been wrestling with this for years.

Take a look at this thread, lot of possible solutions that you can try and some may actually work, however, it heavily depends on what browser your end users have.

<https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790>


Tags: cloud

confluence-cloud