youngmon/atlassian-qna huggingface dataset:
Can't log in with git and sourcetree
Asked by VCap:

I'm trying to login from sourcetree and command line git, i have the right password and from browser everything works fine.

LOG:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks push -v --tags origin master:master  
fatal: HttpRequestException encountered.  
Si ? verificato un errore durante l'invio della richiesta.

remote: Empty password  
fatal: Authentication failed for '\[...my repo...\]'


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

Are you still experiencing this issue?

It looks like there is a problem with the Bitbucket authentication, can you try deleting your Bitbucket account in Sourcetree? You can, do this by navigating to C:\\Users\\PedroMota\\AppData\\Local\\Atlassian\\SourceTree and deleting the passwd file.

If this doesn't fix your issue, please try logging into your Bitbucket account directly via your browser and let us know how it goes.

Best regards,

Ana
SourceTree unable to track my .lib files
Asked by nxa08002:

Hello, I contact you because I face to an issue with my (installation/settings ? of) SourceTree that I can't fix myself. In fact, my SourceTree does not recognize my library files, ie files with the extension .lib. I have tried to add a dummy file (excel one) inside my repository, SourceTree sees the change (then I would have to Stage/Commit/Push to upload this dummy file onto my Bitbucket server). When I do the same with a .lib file, SourceTree does not see the change in such a way that when I do a Stage/Commit/Push, nothing happens of course, meaning that this .lib file is not uploaded onto my Bitbucket location. There is nothing related to the lib files into my .gitignore. Could you help me with this please ?


Answers:
author: EEAA
body: Hello,

I know this is an old issue and it was already solved, but I found the same problem with several git GUIs.

Finally, making use of git bash and *git check-ignore* command, I found a *gitignore_global.txt* file in "*C:\\Users\\\<username\>\\Documents\\gitignore_global.txt*", where \*.lib was included. Removing that line solved the problem.

Hope this helps and kind regards.


author: nxa08002
body: Hi Michael, thank you very much for your answer. In fact I fixed that several days ago by doing exactly what you suggest, ie, display the Ignored files within my workspace through SourceTree. And for a reason I still ignore (they were not mentioned in my .gitignore), all these library files were ignored. I just added them from SourceTree and that's it !!

Thanks again for your answer

Stephane


author: minnsey
body: Hi  

Can you see the .lib file in the File Status view? If not can you see it if you do a Search, top right of Sourcetree's File Status view, if so what status does it show.  

I know you say it is **not**your .gitignore, that would suggest the file should show up when you use Git Bash from the Sourcetree Terminal button in the the toolbar. Can you see the file there and does Git show it as modified?
Can't create a local repository.
Asked by Mohammad Arshad Ali:

I just installed Source tree on my windows. I set the name, email fields and chose the default directory for repositories as C:\\Users\\repos![Capture.PNG](/t5/image/serverpage/image-id/30226i6AD092E5798A3AE9/image-size/large?v=v2&px=999 "Capture.PNG")

And then in the new tab, I selected '+ Create'. But upon filling the ![Capture.PNG](/t5/image/serverpage/image-id/30227i532481443B87B350/image-size/large?v=v2&px=999 "Capture.PNG")

When I click Create, nothing happens. ![1.PNG](/t5/image/serverpage/image-id/30228i59E90761005ABEDC/image-size/large?v=v2&px=999 "1.PNG")


Answers:
author: Mike Corsaro
body: Hello! Could you try manually creating the "repoA" folder, and then try again? ST might not be able to automatically create the destination folder.

comments: author: Mike Corsaro
body: Not sure if this is still an issue, but could you try this with the [newly released 3.0 update](http://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.0.6.exe)? Thanks!


Tags: windows
Source Tree freezes when merging
Asked by Cameron Donley:

Every time I try to merge from another branch to my branch, source tree will have a progress bar forever. I've waited over an hour for anything to happen but nothing does.

If I do it through the terminal it works fine, it's only in the gui. This happens on more than one machine as well. I believe it's getting stuck after downloading the branch but it does not get to the filtering step.

Any ideas?


Answers:
author: Mike Corsaro
body: Hello! I suspect file refreshing is stuck in a loop, could you try disabling auto-file refresh and try again (go to Tools \> Options \> General \> Uncheck 'Refresh automatically when files change'). This has been fixed in the upcoming 3.0 release.

If it doesn't work after trying that, could you do the following for me?

* Open the Process Viewer by going to "Tools \> Process Viewer"
* Try the merge again, and observe what happens in the viewer (I suspect you'll see a ton of processes running)
* If there's a single process that seems to be running forever then save the log or screenshot it so that I can see the details of the 'Caller Context' and 'Command" columns

Thanks!

comments: author: Cameron Donley
body: Tried the above and thought it worked but again ran into a merge that did not end. Here's the log I got <https://drive.google.com/file/d/1XikXO8SGKsAVBZy-HAv2ncTvt9jRKiJL/view?usp=sharing>


author: Cameron Donley
body: I should note that using the terminal, this merge took under 5 seconds


author: Manju
body: What version of Sourcetree is this happening with? Is this on Windows or on the macOS?

comments: author: Cameron Donley
body: Version 2.6.10.0. Some machines might be on a higher version than this but this would be the lowest.

Windows


Tags: windows
Not able to install Sorcetree
Asked by Daniele_Cancelli:

Dear Atlassian,

I'm not able to install any version of SourceTree on a new laptop.

After run the .exe the software requested a new version of .NET Framework. (version=v4.7.1)

Can you please help me into the installation?


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

Have you already successfully installed the new .NET version? Are you still having issues after that?

If so, can you have a look at the logs and show us what you find? You can find them at C:\\Users\\\<username\>\\AppData\\Local\\Atlassian\\SourceTree\\sourcetree.log.

Also, please let us know which version of Windows are you using.

Cheers!

Ana


Tags: .net

install
SourceTree 2.6.10 using IE for authentication
Asked by Ronnie Thompson:

Hi, I have downloaded the SourceTree 2.6.10 and ran the installer on MS Windows Server 2012 R2.

Due to security restrictions javascript has been disabled on IE, when I run the installer and try to register my account I just get the pop up stating that I have to enable javascript.

I am unable to do this, I get an error when trying to login to id.atlassian.com using IE but not when I use Firefox.

I have set Firefox as my default browser but the javascript issue still happens.

Is there anyway to bypass entering my login details during the installation or is there any way to get the installer to use Firefox during the authentication process.


Answers:
author: minnsey
body: Hi  

The short answer is no not at the moment.  

The longer is answer is yes there will be shortly. We are currently beta testing a revised registration step that removes the reliance on IE.

comments: author: Ronnie Thompson
body: Hi Michael thanks for the update, glad to know this is being looked at. Is there an ETA for the completion of the beta testing and a release date?


author: minnsey
body: No fixed release date yet, I'm afraid.


Tags: enterprise

javascript

sourcetree-enterprise
Google?????????????????????
Asked by ???:

??Google???????????????????

Bitbucket?????Google?????????????????????????SourceTree????????????????????

??Bitbucket??????????????????????????????????

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

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

----------??

Atlassian???????????????????????????????????????

?<https://ja.confluence.atlassian.com/sourcetreekb/how-to-wipe-sourcetree-preferences-412484640.html>


Answers:
author: K. Yamamoto
body: ??? ?

????????????Bitbucket??????????????????????????

**(1) ??????**

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

* (1-1) ??? Bitbucket ??????????????????? *"Log in with Google"* ???????
  * ![Screenshot 2018-08-22 14.18.25.png](https://community.atlassian.com/t5/image/serverpage/image-id/30151iB80F38B0E0183481/image-dimensions/299x190?v=v2 "Screenshot 2018-08-22 14.18.25.png")
* (1-2) ?????? Google ????????????
* (1-3) ????SourceTree??????????Bitbucket???????????????????????????????????????????????????

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

**(2) ???????**

??????????? Google ??????? Bitbucket ???????????????????????? (1-2) ??????????? (1-3) ??????????????????????????

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

* **Bitbucket?????????????????** : ?????????? <https://id.atlassian.com/login/resetpassword> ????
* **Bitbucket?????????????????** : API????? <https://id.atlassian.com/manage/api-tokens> ?????????????????????????????????
* **??????????????** : ???????????SSH??????????
  * ?????????????? [SSH ???????????](https://ja.confluence.atlassian.com/bitbucket/set-up-ssh-for-git-728138079.html) ????????

????????????????????????????????????????????????????? [?????????](https://www.jpcert.or.jp/pr/2018/stop-password2018.html) ???????????????????????

comments: author: ???
body: Kenta Yamamoto?

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

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

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

???????????????????SSH?????????????????????????????????????

???????Bitbucket??????????????????????????

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

![????????? 2018-08-22 16.12.42.png](https://community.atlassian.com/t5/image/serverpage/image-id/30159i67EEB545A2969F70/image-size/large?v=v2&px=999 "????????? 2018-08-22 16.12.42.png")


author: K. Yamamoto
body: ??? ?

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


author: ???
body: SSH?????SSH???????SourceTree????????????

Google???????OAuth??????????????

Bitbucket??HTTPS?????????????***++????????????????++***????????????


Tags: language-ja
SourceTree Performance on MacOS is Very Poor
Asked by Jonathan:

I have been using SourceTree as a git client for numerous years at this point. For some reason, the performance of the software on one of my computers has gotten frustratingly bad. I'm on the latest version, have tried reinstalling, switching between using system/sourcetree git, etc. with no improvements. I have SourceTree installed on another computer of mine and it works perfectly fine. Adding files to be committed, pushing changes to remote, etc. all take at minimum 10+ seconds. Every other computer I've used it on executes those commands in maybe a couple seconds at most.

Is there some way that I can 100% reset SourceTree on my computer so that I can regain performance?


Answers:
author: Manju
body: We are aware of some performance issues and are working in a fix that will ship in the next release. Should you see the issues after the upgrade, please file a ticket on our [public issue tracker](http://jira.atlassian.com/browse/SRCTREE).


Tags: mac
Creating git repo and clone on an existing grunt folder
Asked by Sheyi Owo:

Git newbie here. I have a folder with all my project files that I use Grunt on. I have another developer I'm working with now and would like to create a git repo on a network drive that we can both push to. I have a repo set up on the network drive but not sure how to create a clone.

1. Do I create a clone in my grunt project folder or make the grunt project folder itself a clone of the shared network drive repo?
2. Where would my project files reside after doing a clone?

Thank you for your help.


Answers:
author: Mikael Sandberg
body: Hi Sheyi,

Welcome to the Atlassian Community.

Since you have an existing project that you want to add to Git, just cd into it and run the git init command. That will initiate the setup and create a .git folder. The next step would be to point it to your network drive by changing the URL for the remote repository. Take a look at this blog post, [Using Git at Work on a Windows Network Drive](http://tony.halcyonlane.com/blog/2011/09/22/Using-git-at-work-on-a-Windows-network-drive/), for more information on how to setup a repository on a network drive.

I would also recommend taking a look at <https://www.atlassian.com/git>, it has a lot of useful tutorials.

comments: author: Sheyi Owo
body: Thank you so much.


Tags: git
Enterprise edition - Where the software is installed?
Asked by Francisco Rivera:

Hi, I've asked to my IT team help for installing the SourceTree enterprise edition, but they are asking for whether the registry settings are correct (see image attached).

Can anyone help me with this?

Thanks in advance!

![2018-08-21.png](/t5/image/serverpage/image-id/30080iB0D6C9EFC278CA9A/image-size/large?v=v2&px=999 "2018-08-21.png")


Answers:
author: minnsey
body: Hi  

The Enterprise install puts the application into C:\\Program Files (x86)\\Atlassian\\Sourcetree and the files/data go in %localappdata%\\Atlassian\\Sourcetree and %localappdata%\\Atlassian\\Sourcetree.exe_url_{install_hash}  

Hope that helps.

comments: author: Francisco Rivera
body: Hi

It works, thanks!


Tags: enterprise
Source Tree suddenly stopped fetching and pulling from my remote server
Asked by Rodrigo Correa dos Santos Costa:

Source Tree suddenly stopped fetching and pulling from my remote server, but I can successfully push my feature to remote and commit locally. My SourceTree.log in C:\\Users\\\[windows user\]\\AppData\\Local\\Atlassian\\SourceTree shows ERROR \[2018-08-20 18:07:07,309\] \[1\] \[Sourcetree.Installer.Squirrel.Utils.UpdateHelper\] \[GetSquirrelStagedUserId\] - Couldn't read staging user ID. After clicking on FETCH or PULL source tree starts the task but never finishes the action. I really don't know what can I do to solve this problem.


Answers:
author: minnsey
body: Hi  
It sounds like an authentication issue? Are you using a private repository, requiring username/password to access? If so where is it hosted?  

If you it is hosted in Bitbucket there has been a bug in the Git Credential Manager for Windows which manages the authentication, it might be worth you updating <https://github.com/Microsoft/Git-Credential-Manager-for-Windows/releases/tag/v1.17.1>  

The log message you posted is, unfortunately, not the cause of your problem.


Tags: windows
Linking Bitbucket account impossible
Asked by Thomas Rickenbach:

Whenever I try to link a Bitbucket account I sign in but then only see the start page (same as if I had just logged in at bitbucket.org) in the browser frame.

The only button I have is "cancel".

This comes after months of not being able to use SourceTree with Bitbucket because of a sudden permission problem. I actually just wanted to see if that is fixed...


Answers:
author: Ana Retamal
body: Hi Thomas, we'll need more info to troubleshoot this issue for you:

1. Could you send us a screenshot so we can see the problem you're facing?
2. Are you using Sourcetree for Mac or for Windows? If you're on Windows, can you confirm Internet Explorer is updated to the latest version (Sourcetree relies on it for authentication)?
3. Are you usingBitbucket Server or Cloud?
4. Can you log in to Bitbucket directly through the browser?

Let us know!

Ana


Tags: bitbucket

bitbucket-cloud

cloud
Can't Install Mac App
Asked by bradmurray:

I can't install the app on my new mac. When I do it's not even asking for my credentials and is logging me in, but the installation wizard just sits on the registration complete page saying that I am logged in. The continue button does nothing. All I can do is quit the app.

I have tried removing and reinstalling the app and it still doesn't work.


Answers:
author: bradmurray
body: I was finally able to solve this by trial and error. The wizard was pre-launching on the confirmation screen with the "I accept terms" pre-checked, but the continue button not enabled so I would have to uncheck and recheck the box to be able to hit the continue button. Then I would hit continue and it would hang after finding my account. I found that if I unchecked the acceptance and exited and then came back in and unchecked and rechecked the acceptance it finally worked. There's a bad bug in this process somewhere and there is no apparent way to wipe previous settings.


author: Mohamed Adel
body: Hi Brad,

Did you try to search for SoruceTree's saved credential inside "Mac keychain access" and remove them if exist?

Thanks

Adel

comments: author: bradmurray
body: There is nothing stored in my keychain under either "sourcetree" or "atlassian"
Push from sourcetree does not reach the website
Asked by ElRafaVaz:

Hi everybody,

I'm having a odd error with my git and I wonder if someone can help me solve it. In short, the commits and pushes I have on my computer's Sourcetree do not match those on the online repo and can't be accessed by other computers.

It started when, trying to make a large commit + push through Sourcetree, the loading bar seemed to have gotten stuck, even after I left it for several hours. The output log didn't show advances either. I decided to cancel and see what was happening. However, when I canceled, sourcetree showed that the push had been successful and was in the repo. I left it at that but, in trying to clone the repo to another computer, I noticed that, online, that commit does not appear at all. I have not received an error message of any kind.

I've tried making more pushes from the computer, but they have the same result. When trying to use the command line, I get a message stating the repo is up to date.

I've updated sourcetree to the latest version, and am still finding this issue. Has anyone encountered it before? If so what can I do to solve it?


Answers:
author: ElRafaVaz
body: Hey everybody, it seems it was all due to an authentification error. The solution here found by Brian was the one that worked for me:

<https://community.atlassian.com/t5/Sourcetree-questions/Getting-quot-fatal-Authentication-failed-for-quot-error/qaq-p/624663>

Just remember to delete the passwd file from the altassian folder while sourcetree is closed.

I'm leaving it here in case anyone encounters the same error.

Cheers!


author: ElRafaVaz
body: Just more information: I tried again through the command line and, although it seems it is being slowly pushed, it keeps getting interrupted by password requests for the repo. Despite me placing the correct password over and over again, they just keep popping up. I'm not sure if this is related, but I thought I'd share anyway.


Tags: push
SourceTree blocks whenever I try to commit
Asked by bewoke2:

Hello community !

I have a problem regarding the commit process in SourceTree, the software completely blocks (as seen in the picture).

It is just a commit test, nothing heavy just a file of one or 2 words ... Besides, I have quite a powerful machine so I don't know what I have done wrong.

Thanks ! ![sourcetree.png](/t5/image/serverpage/image-id/29900i5B50B5F323D97F27/image-size/large?v=v2&px=999 "sourcetree.png")


Answers:
author: Manju
body: Can you please confirm what version of Sourcetree you are using and the OS version?

Is there any other information that you can provide? This seems to be a very odd issue and never heard of in the past.


Tags: commit

error
Cannot push (only push) to Bitbucket repositories with SourceTree
Asked by alexsegal:

I can access all repos in the browser without any issue. But not in SourceTree.

I tried enabling and disabling two-step verification and nothing worked.

With two-step enabled I tried using app password and that did not work either.

The SourceTree client says that the account is authenticated, but when I try to push it fails.

The error I get when pushing among other info tells me:
> "remote: Invalid username or password. If your organization manages your account or you've enabled two-step verification, create an app password to log in: <https://confluence.atlassian.com/x/9DJmMQ>"

In Tools/Options/Authentication for my Bitbucket account I tried HTTPS and SSH protocols, and both types of authentication with regular and the app password as instructed in error message. The checkbox Authentication OK is checked.

This, SourceTree failing to push to Bitbucket started about a month ago without any changes on my part to configuration or account settings. It worked fine before.

Another, and probably related issue is the SourceTree keeps popping Bitbucket login incessantly. Sometimes prepopulated with my user name, sometimes both, user name and password fields blank. Super annoying. It keeps popping event after I provide my credentials.

Additionally, as odd as it is, if I updated repository outside of SourceTree it is reflected in the client!

Any help is appreciated.


Answers:
author: minnsey
body: Hi  

There has been a bug in the Git Credential Manager for Windows GCMW that effected Bitbucket logins, it is worth updating to v 1.17.1 or higher.  

<https://github.com/Microsoft/Git-Credential-Manager-for-Windows>  

Additionally it is possible to lock access to Git and/or REST functionality due to excessive failed logins., It is worth logging out/in again to bitbucket.org to reset those locks.

comments: author: alexsegal
body: That was it! Thank you Michael!


Tags: bitbucket
"Connect Account" not working
Asked by Mischawake:

When trying to connect my account in SourceTree, after logging in, I just see the mobile version of the website, with no way to continue. Has anyone else run into this problem? I'm running the latest version of ST.

![Screen Shot 2018-08-17 at 11.47.12 AM.png](/t5/image/serverpage/image-id/29880i2772E216EC80E312/image-dimensions/330x335?v=v2 "Screen Shot 2018-08-17 at 11.47.12 AM.png")


Answers:
author: Austin Andrews
body: I realize this is a bit old, but I am settings up a new work environment and ran into this issue.

I was able to fix it by deleting SourceTree from my Applications folder, then deleting the "\~/Library/Application Support/SourceTree" folder and also deleting "\~/Library/Preferences/com.torusknot.SourceTree". Then redownloading it and trying again.


author: Manju
body: Please use Basic Authentication and provide an [App Passwords generated in Bitbucket](https://confluence.atlassian.com/bitbucket/app-passwords-828781300.html) for the time being. We have a fix for this coming in the next release.
How can I use SourseTree?
Asked by Alexander Natochiev:

I need a client for Git, ?an I use SourseTree for commercial purposes?


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

Sourcetree is free to use, regardless of the use you intend to give it. You can download it [here](https://www.sourcetreeapp.com/). Besides, you might be interested in our [Enterprise version](https://confluence.atlassian.com/sourcetreekb/sourcetree-enterprise-and-msi-installation-947848769.html), which is also free.

Hope that helps!

Ana