youngmon/atlassian-qna huggingface dataset:
Repository size not updating after deleting conflictive branch
Asked by javierdeazkue:

Hi everyone, after deleting a branch through the web ui we are not seeing our Repository size updating and we are near the 4 gb alert. We've also followed [these steps](https://support.atlassian.com/bitbucket-cloud/docs/reduce-repository-size/#Rewind-history-to-undo-large-commits:~:text=in%20the%20history.-,Rewind%20history%20to%20undo%20large%20commits,-Rewind%20the%20branch) with no luck.

I think we may be missing a **git gc** from the Atlassian side? This is our (private) \<redacted\>.

Thanks!


Answers:
author: Patrik S
body: Hello [@javierdeazkue](/t5/user/viewprofilepage/user-id/5226602) , and welcome to the community!

I went ahead and triggered a GC for the repository you shared, which reduced the size back to **970MB**.

Now that GC is completed, we highly recommend you have everyone on your team remove their old copies of the repository and do a fresh clone of it. Since the old clones have a dirty history, it's better to delete them, so you don't risk pushing the dangling objects back into your cleaned repository, which would inflate its size again.

Also, in order to protect your privacy, I've edited your questions to remove the repository name as this is a public forum.

Thank you, [@javierdeazkue](/t5/user/viewprofilepage/user-id/5226602) !

Patrik S

comments: author: javierdeazkue
body: Thank you so much Patrick!

Cheers!


Tags: bitbucket-cloud

cloud
privacy setting ignored
Asked by Chris:

In my account I set my avatar to "only my team can see it", yet here in the forum it is displayed even to not logged in users. How can this be?


Answers:
author: Andy Heinzer
body: Hi [@Chris](/t5/user/viewprofilepage/user-id/5033432)

We are aware of this problem. While our Identity site will allow you to manage the privacy of your avatar through <https://id.atlassian.com/manage-profile/profile-and-visibility>

At the present time our Community site cannot correctly honor this privacy restriction. We have an internal ticket open on this topic and I will share this report with that team. Please note that our other Atlassian Cloud products, such as Jira, Confluence, Bitbucket, Trello, etc will restrict the visibility of your avatar to your organization if you choose do to so.


author: marc -Collabello--Phase Locked-
body: Hi [@Chris](/t5/user/viewprofilepage/user-id/5033432)

I believe the forum matches the avatar on the email, and the avatar might not be private, as opposed to your full name. In doubt, I'd contact Atlassian directly.

comments: author: Chris
body: Thanks, will do.


Tags: bitbucket-cloud

cloud
After saving conflict with P4Merge, the file cannot be saved.
Asked by mangotamu:

Hi, I'm MInku.

I use Sourcetree 3.1.1 on MacBook Pro (Mojave 10.14.3) and Bitbucket Cloud.

My team were testing merging/conflict solving using P4Merge (

Rev. P4Merge/MACOSX1013X86_64/2018.2/168776).

Check this [video link.](https://youtu.be/kcs6SilfclU)

I have saved the change but SourceTree doesn't check my latest file.

Can we solve this together?

-Kind Regards, Minku


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

Please file a ticket in [our public tracker](https://jira.atlassian.com/browse/SRCTREE) with the excellent info you provided above and we'll be sure to review and triage for a future update. Thank you for your patience.

Brian Ganninger  
Principal Developer, Sourcetree
Verification email not received
Asked by Info 3reetech:

I have tried many times verification email is not being received, I have check inbox, junk folder. Can you please help me out? Following is the email address \<email_removed\>. This will be my main account and I will add my team later on.

Please assist.

Thanks.


Answers:
author: Theodora Boudale
body: Hi [@Info 3reetech](/t5/user/viewprofilepage/user-id/5226055),

I checked our email logs and I can see that we attempted to send some emails but your mail server responded with a hard bounce event.

However, the email address is not in any of our suppression lists.

Based on the error message of the bounced events, it looks like your SMTP server is doing [callback verification](https://en.wikipedia.org/wiki/Callback_verification) that is failing.

The bounced events were for emails sent from noreply+XXXXX@am.atlassian.com (where XXXXX is some string).

You will need to ask the admin of your mail server to look into this and adjust the configuration so that these emails are not bounced.

Just a heads up, I removed the email address from your post to protect your privacy.

Kind regards,  
Theodora

comments: author: Info 3reetech
body: I was on A2 hosting, now I have upgraded to GSuite and then I got the email from your server. Finally registered successfully.

Thanks


author: Theodora Boudale
body: That's good to hear, thank you for the update [@Info 3reetech](/t5/user/viewprofilepage/user-id/5226055).

Please feel free to reach out if you ever need anything else!


author: Marcel Du Toit
body: Hi I have the same issue can you please investigate [@Theodora Boudale](/t5/user/viewprofilepage/user-id/818086)


author: Marcel Du Toit
body: on a different account that the one I'm replying from


author: Sebastian Krzewi?ski
body: Hi [@Info 3reetech](/t5/user/viewprofilepage/user-id/5226055)

Check spam folder or blocked messages folder. Sometimes you need to wait little bit longer. If this not work please contact with Atlassian Support - support.atlassian.com

Regards,

Seba

comments: author: Info 3reetech
body: I have already checked my spam, Inbox, junk folders.. and it has been approx 5 days I have been waiting. While I created an account using my personal Gmail account and I got verification email in a minute.


author: Info 3reetech
body: Contacted support@atlassian.com and the following response.

It looks like you attempted to create a support request by sending email to support@atlassian.com. We no longer create tickets this way because we need more details to provide the best service. Please raise a ticket at <https://support.atlassian.com> and we'll get to work!

So please can anyone respected stockholder help us?


Tags: bitbucket-cloud

cloud
Where is Show in Finder button?
Asked by mbhakta1:

Is there a new button or git-flow is same as "show in finder".

I am following the tutorial and I'm not able to see this button


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

Are you using Mac or Windows? There is a toolbar item on each that is called either "Show in Finder" or "Show in Explorer" which opens a file browser for the repository. Git-Flow is a feature and particular type of workflow many choose to use with source control.

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: mbhakta1
body: Thank you for responding I found that after posting the question but didn't know how to delete the thread so...
Why can't I install sourcetree on a new computer to access my project?
Asked by Toby Hefflin:

I have sourcetree on an old computer. I access my project to do my job everyday. I need to install sourcetree on a new computer. I don't know what bitbucket is.

Sourcetree on my old computer shows no drop-down for 'hosts' in the accounts setting. Installing on the new computer shows a drop-down with 'bitbucket' and 'github' and such. My project is hosted on github, why do I need bitbucket?

I need to do my job.


Answers:
author: Toby Hefflin
body: It took 2 engineers 10min to setup after I had installed the software. Not including the time to clone.

This is the worst software I've ever used.


author: Mike Corsaro
body: Hello! Sourcetree is made by Atlassian, who is also the provider of Bitbucket (just like how Microsoft is the owner of GitHub).

As Sourcetree is a free product, we require a one-time login with a Bitbucket account. After logging into Sourcetree you'll be able to add remote accounts for many different providers, which will allow you to use those projects with Sourcetree.
Sourcetree won't let me register with my github account
Asked by Gibran Shah:

Hello,

I just installed Sourcetree on my mac. It's taking me through the registration process. The screen looks like this:

![Screen Shot 2019-03-01 at 9.28.53 AM.png](/t5/image/serverpage/image-id/47434iFD5B93857F5C4B24/image-size/large?v=v2&px=999 "Screen Shot 2019-03-01 at 9.28.53 AM.png")

It says: "You can also connect Sourcetree to other services like Github, Gitlab, and Azure DevOps later."

But I don't see any option to do so on this page and the continue button is disabled.

Do I HAVE to pick/create a Bitbucket account in order to continue? What's the point of doing that if I'm just going to use my github account afterwards?

Thanks.


Answers:
author: minnsey
body: Hi  

Yes you do need to have a Bitbucket account to use Sourcetree. We simply ask for this as a way to gauge usage of Sourcetree in return for the free product.


Tags: bitbucket

github

registration
override dev branch with master
Asked by Kirsty McGill:

I have tried to search but I'm not really sure how to make the dev branch (local and remote) a complete copy of master. There are some discrepancies where I cherry picked certain commits to the master branch and now the master is the correct version.

I'd really appreciate learning how to do this. Also syncs with beanstalk if that is relevant.

<br />

Thanks!


Answers:
author: minnsey
body: The following might help  

<https://www.nickang.com/replace-git-branch-code/>

comments: author: Kirsty McGill
body: Thank you I'll see if I can translate this across to SourceTree as that is sometimes what throws me when I see instructions using commands :)
How to clear Sourcetree push status
Asked by B-R-Mesters:

I have (since I am new to GIT) some files ready to be pushed on the master branch. I however don't want to ever push to the master, does anyone know how I can see what files I have committed but not yet pushed and how to possibly un-commit them, if something like that is possible.


Answers:
author: minnsey
body: Hi  

If you look in the History view you will see a log of your commits. You can then select any given commit and using the context menu (if you are on Windows) you can choose to either revert commits or reset your repository to a state before your commit.  

Reverts will essentially create a new commit reverting the effects of the selected commit.  

e.g. If you had 2 commits you didn't want, 3 and 4 in the list below

* commit 4
* commit 3
* commit 2
* commit 1
*   
  you would revert them in reverse order, e.g. revert 4 then revert 3. This would put you back in the state you had at 2 but your history would look like this  

* commit 6 (reverting 3)
* commit 5 (reverting 4)
* commit 4
* commit 3
* commit 2
* commit 1

If you choose to reset to commit 2 you are effectively un-doing commits 3 and 4, it is like they never happened.


Tags: windows
created Atlassian account, tried to login to Source Tree with same credentials, but unable to login
Asked by Subhasmita Patro:

I have created Atlassian account, tried to login to Source Tree with same credentials, but unable to login. It is throwing error as something went wrong.


Answers:
author: Ana Retamal
body: Hi [@Subhasmita Patro](/t5/user/viewprofilepage/user-id/2796801) , welcome to the Community :)

We'll need more information from you so we're able to pinpoint this issue:

1. Are you using Sourcetree for Windows or for Mac?
2. Which browser are you using? Can you try a different one?
3. Do you have a Bitbucket account? Have you tried accessing it through the browser? Do those credentials work?

Let us know!  
Ana
If you right click on a branch in source tree and click create pull request it is broken?
Asked by Jonatan:

When I right click on a branch in source tree and select the option create pull requests, it adds an extra slash to the URL <https://bitbucket.org//> , this gives my browser an error page not found?

It is intended that user needs to manually remove the slash, and press enter so that it'll be harder to create a pull request by mistake ? Because it has been like this for a long time.


Answers:
author: Mike Corsaro
body: Hello! This is a bug on our side, but has been fixed in our next release.

You can manually fix the problem by editing the "sourcetreeconfig.json" file under the "Your Project/.git/" directory. Look for the "RemoteProjectLinks" section, and remove the trailing slash under "BaseUrl".

Sorry about that!


author: minnsey
body: Hi  

There is a fix in the upcoming 3.1 release
why Moving 'files changed' count from sidebar to the Commit toolbar item after Sourcetree 3.0
Asked by Jing Fang:

As follows?![1551423206047.jpg](/t5/image/serverpage/image-id/47379iDE5AD70D8E3DB1D1/image-size/large?v=v2&px=999 "1551423206047.jpg")

After upgrading to Sourcetree 3.0,I always feel uncertain when I check the file changes, and it's easy to ignore the changed files. I believe many people are just as unaccustomed to it as I am.

So,I have a suggestion that I hope to adopt. Both in sidebar and Commit toolbar item have "files changed" count.


Answers:
author: bgannin
body: Hi [@Jing Fang](/t5/user/viewprofilepage/user-id/2795281),

This was an intentional design change for consistency with our other status indicators (push, pull) in a repository. Please vote or comment on an existing ticket or file a new one for others to do the same in [our public tracker](https://jira.atlassian.com/browse/SRCTREE). This helps us prioritize work for future updates.

Thanks,

Brian Ganninger  
Principal Developer, Sourcetree

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

Thank you for your reply. I'll do what you said in public tracker, but I'll still go back to version 2.7.4. I like this version better, and I hope SourceTree can add back the 'files changed' of sidebar in a later version.


author: bgannin
body: I respect your desire to have the appearance you are most comfortable with. With that said, you should try to adjust because otherwise you are avoiding security, reliability, and general quality of life improvements in the app otherwise.

We moved the count to the toolbar not only for consistency but also to increase accessibility and visibility. A repository's sidebar can be hidden and thus a user can work with Sourcetree without ever seeing the count change there.


author: Jing Fang
body: Okay, I see. I'll start trying to use the latest version.


author: Mark.Andrews
body: Brian,

I understand your desire for consistency, but making an argument for moving it because the sidebar can be hidden ignores the fact that the commit icon can also be removed from the toolbar. If you truly want to make sure people see it I would have an indicator in both locations.

Regards,

\]V\[ a r \]{


Tags: mac
why doesn't source tree see the new .png files?
Asked by Jvin Mahmoud:

When I add new png files, I can't commit them, because the source tree doesn't see them at all!


Answers:
author: bgannin
body: Hi [@Jvin Mahmoud](/t5/user/viewprofilepage/user-id/1926890),

A few questions to help triage:

1. Do they show up if you manually refresh (Repository -\> Refresh menu item) with the repository open?

2. Do they show up if you quit and relaunch the app?

3. Does your repository ignore file or global ignore file contain png file exclusions?

4. What version of Sourcetree are you using, on what platform, and is it Git or Mercurial?

Cheers,

Brian Ganninger  
Principal Developer, Sourcetree

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

Thanks for your answer..

The problem is solved, The png file exclusions was in the global ignore file.

Cheers
Why do I have a big number on my commit button while I have nothing to commit
Asked by ccr-claudechausse:

![Screen Shot 2019-02-27 at 1.27.02 PM.png](/t5/image/serverpage/image-id/47187iC484E92E3172BA2A/image-size/large?v=v2&px=999 "Screen Shot 2019-02-27 at 1.27.02 PM.png")


Answers:
author: CARLISLE
body: Close the browser and re-open. WEIRD.

comments: author: ccr-claudechausse
body: Sorry but it does not solve the problem.
I downloaded the recent upgrade for source tree. I have a Mac I use Mercurial
Asked by patrickgallagher:

I downloaded the recent upgrade for source tree. I have a Mac I use Mercurial, my pushes do not seem to go through on multiple repositories. I keep getting :

searching for changes

no changes found

Completed with errors, see above


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

Are you using SSH or HTTPS for these repositories? Is there any additional output? Sorry about the hiccup.

Brian Ganninger  
Principal Developer, Sourcetree
SourceTree - Diff on file over multiple commits
Asked by slaughton:

Hi there,

I see you can view a diff on a single file over multiple commits in the Log/History tab.

However I am not able to do this in the Search tab. This functionality really needs to be extended to the Search tab, as we put the ticket number in our commit message and when looking up code from an old ticket you want to search for all commits with the ticket number in the message. You can do this on the search tab, but not get the consolidated diff that you can on the Log/History tab.

Another thing is that the consolidated diff that you can get through the Log/History tab is only from one commit to another. Eg; it includes all the commits in between. You can't just say show me this one and that one together.

All these things are an essential part of our workflow and could be done in SVN. Now we have moved to git/SourceTree, how do we do these things?

Regards,

Scotty


Answers:
author: minnsey
body: Hi  

You are correct that you can't currently do either of those things in Sourcetree currently.  

They seem sensible suggestions I can only suggest raising a feature request at <https://jira.atlassian.com> for now.

comments: author: slaughton
body: Thanks for the response. Where is the actual page to raise the feature request?


author: minnsey
body: <https://jira.atlassian.com/projects/SRCTREEWIN/summary> then use the *Create* button
Issue with cursor lag on high refresh monitor
Asked by alex-bane:

Hey, I have the latest version of sourcetree and on my main monitor (120hz), the cursor lags noticeably, while it doesn't do that on my second monitor (75hz). I tried running it as an administrator or with compatibility settings (for win 7/8) but no luck. CPU usage is not an issue, and the repository I have is a brand new one (even with the repo closed I still have cursor lag).   

Any idea what could fix this? Is there any hardware acceleration available or something?


Answers:
author: alex-bane
body: Think I found the solution. Go to nvidia control panel, manage 3D Settings, add the program to the list of programs (In Program Settings), then select "Fixed refresh" for Monitor Technology.

comments: author: alex-bane
body: Sadly this actually bring in another issue, that shadowplay latches onto the program now and messes up the window with frame rate display limiting my ability to record the main screen.   

I'll have to switch to kraken sadly, that one is more stable


author: minnsey
body: We have seen odd issues to do with graphics cards drivers that have been fixed after updating those drivers, could that be applicable here?

comments: author: alex-bane
body: I have a fairly recent Nvidia driver. Could be.   

Last night I also tried adding sourceTreee in the list of programs that have their 3d settings managed in the Nvidia Control pannel. It fixed the issue, but it was only temporary. I will play around with that today again to see if I can get it stable


author: alex-bane
body: found the solution, see answer
I cant install the sourcetree
Asked by Ryan Rodolfo:

When i'm trying to install the source tree this message pops out "Unable to write to C:\\Program Data\\Ryan-IT policies may be restricting access to this folder"


Answers:
author: minnsey
body: It sounds like you would need to talk to your system administrators about that.

comments: author: Ryan Rodolfo
body: No I can't.I'm working at home


author: minnsey
body: If it is a personal laptop etc then you can just install the standard Squirrel.Windows based installer, which installs into your personal user folders
Smudge error from git LFS when pulling in Sourcetree
Asked by Alex Darby:

Hi

We're currently unable to pull from our bitbucket repo because we're getting an error when Sourcetree calls git-lfs filter-process.

The file OID it claims it can't download is clearly visible in the LFS files section of the repo's settings and if I manually download it by clicking on the arrow next to its OID then rename it the file seems to be fine.

Running the git commands which are shown when choosing the "find local references" causes the following output:

```
$ git log -p --all -S fd365de7ea55b95a3fc9f0e23939fa3fc4779fb33b5b64edac75b93878 f06325
commit b3fe4c9c3fab772610b97b29346219365a2ae8b9
Author: XXXXX
Date: Sun Feb 17 23:23:51 2019 +0000
added dirt parameters to player car windows
diff --git a/RoadTrip/Assets/RoadTrip/Meshes/Vehicles/vehi_PlayerCar01.fbx b/RoadTrip/Assets/RoadTrip/Meshes/Vehicles/vehi_PlayerCar01.fbx
index 9a115bb..587c111 100644

--- a/RoadTrip/Assets/RoadTrip/Meshes/Vehicles/vehi_PlayerCar01.fbx
+++ b/RoadTrip/Assets/RoadTrip/Meshes/Vehicles/vehi_PlayerCar01.fbx
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:372221a0e53ca8fec7b000ac61c254b5dd50cd49bfe9c4ead57ce93093d77dc3
-size 3839200
+oid sha256:fd365de7ea55b95a3fc9f0e23939fa3fc4779fb33b5b64edac75b93878f06325
+size 3839360
```

I tried updating to the latest version of Sourcetree, and the latest embedded git / git LFS and it still gives the same error. I have also tried it both with and without "Enable the Bitbucket LFS MEdia Adapter" checked and I get the same result.

I use SSH but most other people on the project use HTTPS.

Here's the latest log [log with smudge error](https://drive.google.com/open?id=1t4tN2uEg1b5MoJT6yMLXWD4I1moanA9s)

What workarounds are there for this situation?

e.g. is it possible to:  
roll back the LFS link on the server's repo?  
find out why it's not downloading?  
pull everything except the problem problem file then replace it in a merge so I can keep working?


Answers:
author: minnsey
body: Please take a look here <https://confluence.atlassian.com/bitbucket/troubleshoot-git-lfs-in-bitbucket-831652519.html>


Tags: bitbucket

bitbucket-cloud

cloud
Unable to finish features or releases
Asked by Michael Gambold:

Latest Sourcetree on mac 10.14.3.

Cannot finish features/releases and has been like this since v3. Symptoms the same as gitlab vs bitbucket. Also the same using password vs OAuth.

EDIT: removed pic.


Answers:
author: bgannin
body: Hi [@Michael Gambold](/t5/user/viewprofilepage/user-id/1210581),

Can you try it with the older git-flow implementation and let us know if it works properly?

1. download and install per [their documentation](https://github.com/nvie/gitflow/wiki/Mac-OS-X)  
2. in Preferences -\> Git, click "Use System git-flow"

Our apologies for the hiccup.

Brian Ganninger  
Principal Developer, Sourcetree

comments: author: Michael Gambold
body: Hi this allowed me to finish releases and features. However I was unable to perform the following options as I got a "getOpt" error message:

1) Delete feature branch on remote branch when finishing feature

2) Delete Local or remote release branch when finishing a feature.

So although I can continue with my workflow (with extra manual overhead) I would not say this issue is resolved or that using the "system git flow" should be an acceptable answer.


author: Michael Gambold
body: [@bgannin](/t5/user/viewprofilepage/user-id/744444) Any updates on this?


author: bgannin
body: There are no code changes to report, the best bet is to vote/watch a ticket for git-flow to know when there's movement.


author: Michael Gambold
body: Hi [@bgannin](/t5/user/viewprofilepage/user-id/744444). I have just updated to the latest version of sourcetree and this is still an issue.

How can I raise this higher as this is not acceptable for this to still be an issue.

Mike.


Tags: mac