youngmon/atlassian-qna huggingface dataset:
Can't receive email invitation
Asked by Rami Jebara:

I am trying to activate a new user in my team account.

The user's email is a Office/Microsoft 365 email. The user is getting emails from Jira but somehow the bitbucket activation emails are not being receive.

Are you having any email delivery issues?

-Rami


Answers:
author: Theodora Boudale
body: Hi Rami,

If an invitation is sent before the email is operational and we receive a hard bounce response from the recipient's mail server, the email is then placed in a suppression list (as we no longer try to send to non-existing emails).

I checked in our system the workspaces you have access to, I found an invitation that hasn't been accepted yet and the user's email was indeed in a suppression list, so I went ahead and removed it.

Could you please try resending the invitation now? A new invitation needs to be sent, as the previous ones were dropped.

Please feel free to let me know if things are ok now and if you need anything further.

Kind regards,  
Theodora


Tags: bitbucket-cloud

cloud
After upgrade from 5.0.1 to 7.17.0 The database, as currently configured, is not accessible.
Asked by Tim Tvrdik:

After successfully running the installer to upgrade from 5.0.1 to 7.17.0 we see the following message after starting up Bitbucket:

A fatal error has occurred {#toc-hId--1213053183}
-------------------------------------------------

The following problem occurred, which prevents Atlassian Bitbucket from starting:

* The database, as currently configured, is not accessible.


Answers:
author: Nic Brough -Adaptavist-
body: I'm afraid that really does mean what it says - the connection you have configured for the database points to a database that it can't get into.

Check the bitbucket config file (bitbucket.properties under \<bitbucket home\>/shared) contains the right host, user, password and so-on, and that the connection settings can be used to connect something else to it (like a command line tool)

comments: author: Tim Tvrdik
body: I was able to figure out the database connection issue.

The problem is in version 5.0.1 the jdbc driver was to be put in the \<install directory\>/lib.

In version 7.17.0 the jdbc driver needed to go into the \<bitbucket home\>/lib.

Once I copied the jdbc driver to the correct directory, The problem was solved.


Tags: bitbucket-server

server
I want to delete existing content when using Google Cloud Storage Deploy
Asked by marton_tempus:

I want to delete existing content when using [Google Cloud Storage Deploy](https://bitbucket.org/atlassian/google-cloud-storage-deploy/src/master/)

In other words I would like to have an option that removes everything in $BUCKET before uploading then new content.

Something like this (that is not tested!!)

```
if [ "$DELETE_BEFORE_COPY" = "true" ]; then
? ?run gsutil rm -f gs://${BUCKET}/ || true # Allow fail if path does not exist yet
fi

run gsutil ${METADATA_STRING} cp ${ARGS_STRING} ${SOURCE} gs://${BUCKET}/
```


Answers:
author: Igor Stoyanov
body: [@marton_tempus](/t5/user/viewprofilepage/user-id/1867127) Hi. Thanks for your idea. We will investigate about that and notify you if this feature becomes available.  

Regards, Igor.


Tags: bitbucket-pipelines

cloud

google
my account got Stolen and all the repo are deleted and I don't have a local backup!
Asked by Arqami:

hi

my account got Stolen and all the repo are deleted and I don't have a local backup!

what should i do to restore them ?!


Answers:
author: G subramanyam
body: Hi [@Arqami](/t5/user/viewprofilepage/user-id/4601044) welcome to the Atlassian community.

Sorry to hear your current status and I understand how it feels if some one stolen! your bitbucket account.

Please quickly reach out to [Atlassian support](https://support.atlassian.com/contact/) team with all the original BitBucket account details.

comments: author: Arqami
body: thank you opened a ticket ill get back when they replay


author: Nic Brough -Adaptavist-
body: Is this a Bitbucket server you are running yourself, or within your organisation? Or is it a Cloud service?

Who are the administrators of your server/account?

comments: author: Arqami
body: its Cloud for Mobile apps sources and there is only 1 account and the employee use it to push his code
In SourceTree, can I have the rebase checkbox checked by default?
Asked by Patrick O'Hara:

We use fetch and rebase rather than push and pull. Obviously I can do this by checking the rebasecheck box. I would like for this checkbox to be checked by default and I could uncheck it in the event that I do not wish to rebase. Is there someplace I can make this the default?


Answers:
author: Robert Watkins
body: Open the Preferences dialog, go to the Git tab, and tick "Use rebase instead of merge by default for tracked branches"

comments: author: Patrick O'Hara
body: Thanks, that is just what I wanted.


author: Michael Lihs
body: Could you please change the German translation for this feature in the preferences so that one can find it without looking it up on this forum?!?

My suggestion would be to use the Git terminology for the German translation instead of introducing 'unknown' German vocabulary :smile:
SourceTree support for different git-dir and work-tree directories?
Asked by Darren Hall:

Hi,

I've got a 'detached' repo steup where the git-dir is outside of the work-tree. This is because the work-tree is a mounted drive which will only store certain types of files, so I can't put git files there. Is there any way of getting SourceTree to wok with this kind of setup? Thanks!


Answers:
author: mmjurov
body: up.

I have the same problm now. How can I colve it with SourceTree?


author: Sean Roberts
body: Also looking for this functionality.


author: vfonic
body: +1

There's no way to customize (for example) "git add" command.


author: Earl Kameron Arcilla
body: +1

Nothing still after 6 years?

Was this ever in feature request?


Tags: git

repository
How do I commit single hunks in HG
Asked by Jon S Akhtar:

I can delete hunks - how about committing them. I can do this easily in THG. It looks like you are close to being able to do it. Is there a way I am missing?

Example. In the commit view I see this for all the files with changes:

![](http://content.screencast.com/users/sylvanaar/folders/Snagit/media/ee2fe269-9bc1-4513-a2f2-0615620b14da/2013-09-26_13-43-13.png)

I want to be able to **include** or **exclude** this from the commit. Not discard it.


Answers:
author: Alexandre Lorenzatti
body: I'm having the same problem. I tried to stage the file but nothing happens. Do I need some extension to make this work on SourceTree?
How to Change my user ID & pwd in sourcetree.
Asked by Chen Xiong:

hi OP team,

There we meet an issue about how to change our user infor for 1 connection.

For SVN, there have a opption setting-\>save information-\>user information. via this, we can clear our user infor, when we do check out,commit,etc.. There will pop a window need we to input our user id, and pwd. via this we can change our use id and pwd.

Please kindly guide us how to change the user id and pwd on sourcetree tools. we really need this.it's urgent. please relay ASAP.

Regards

Thanks

Chen.


Answers:
author: Jeff Thomas
body: If you're wanting to update the username and/or password for the hosted repositories:

1. Open the **Hosted Repositories** window by clicking View \> Show Hosted Repositories or Command + Shift + H.
2. Click **Edit Accounts**
3. Double-click on the account to update
4. Make the necessary changes

comments: author: Nabaraj saha
body: which version of source tree you are referring as in 2.3.1.0 this option is not showing.

![sourcetree.png](https://community.atlassian.com/t5/image/serverpage/image-id/20089i896DC7928B2AD034/image-size/large?v=v2&px=999 "sourcetree.png")

I need this option. Please let me know ASAP.

Thanks..


author: Jeff Thomas
body: On Windows, you can edit the accounts by going to Tools \> Options and clicking on the Authentication tab. From there, you can add or edit the accounts.


author: chandra575
body: Thanks


author: Vicky Ross
body: Sourcetree/GIT credentials are found in Control Panel/System and Security/User Accounts/Credentials Manager/Window Credentials


author: MB
body: Sourcetree is just a wrapper tool around your actual versioning system (git or mercurial). So, you can always login to your git/mercurial server and change your user options there.
WebStorm as a SourceTree external diff tool
Asked by timneil:

I prefer WebStorm as a diff tool but it doesn't work with SourceTree. I can successfully run a diff from the command line like so:

```
webstorm.exe diff c:\a.txt c:\b.txt
```

But setting up a similar thing in SourceTree just results in WebStorm opening and straight away closing - which seems to be the behaviour when it can't find either file. I have the following in the SourceTree Diff settings:

Diff Command:*C:\\Program Files (x86)\\JetBrains\\WebStorm 131.130\\bin\\WebStorm.exe*

Arguments:*diff $LOCAL $REMOTE*

Will $LOCAL and $REMOTE return absolute paths?

Incidentally merge also fails in the same way.

Thanks for any help.

Tim


Answers:
author: ricardo
body: Diff command:

```
/Applications/WebStorm.app/Contents/MacOS/webstorm
```

Arguments:

```
diff $LOCAL $PWD/$REMOTE
```

```
$PWD/ on the remote path did the trick!
```

```
I tested DIFF on OS X Yosemite & latest versions of WS and ST. It should be analogue on Windows.
```

<br />

Please be careful with extra empty spaces. Full path is needed, even if the parent dir is on $PATH

See also: [intellij-diff-tool-in-sourcetree](http://stackoverflow.com/a/14774639/1159167)


author: mrcybermac
body: same here


author: mstocki
body: I have the same problem.


Tags: diff

webstorm
How do I see remote activity? Refresh Remote Status doesn't seem to do anything.
Asked by thinsoldier:

I'm working on a project from my os x laptop 90% of the time and from a windows desktop the rest of the time. I have the project up on bitbucket.

I've made about 10 commits over the last month from the laptop. Now when I want to work from the desktop I can't see any way to tell, from the desktop, how far ahead the remote on butbucket is.....

:( Update. While trying to figure out my atlassian password the Refresh Remote Status looks like it's finally started working. Took almost 15 minutes since I opened sourcetree. Is there any way to make it happen faster?


Answers:
author: thinsoldier
body: Same problem today. Opened sourcetree on windows and it took 20 minutes before it was aware that it was 9 behind the remote on bitbucket. I hit the Refresh Remote command every 5 minutes.
What is proper method for renaming files or folder in Source Tree - Mercurial - Windows 7?
Asked by Noel Dubey:

Currently I rename all files then in Source Tree, it shows all of the old named files as being removed and shows all the new named files. I know on my Apple computer there is a move option on my right click menu. What is the current best practice for renaming folders and files using Mercurial on Windows 7?


Answers:
author: Noel Dubey
body: If there are any changes internal to the files or folders, Source Tree will assume that you have deleted the previous files and are adding new files (that have a different name or different folder name). This causes these renamed files or the files under the renamed folder to lose the revision history linked to that file.

I discovered that as long as you do not have any content changes in the files or folder for a commit, you can rename them with Source Tree understanding that these are the same file by clicking on Add/Remove. It will then show these files as "moved" and retain the history of this file properly.


author: alecazam
body: Why is this disabled for multiple select. This makes renaming folders with lots of items in them very difficult.


author: mitchell_buckley
body: There is now a MOVE command that will solve this problem. You can right-click on the file, select Move..., and then choose a new name.

comments: author: jwwalker
body: I don't see a Move command on the right-click menu.


author: Timothy
body: Same. Just rename the file in the windows explorer. hg or Git will pick it up as a deleted and an add.

comments: author: Juan
body: but then it will think they are different files and won't track it's changes from earlier versions.
Where is the License agreement?
Asked by Kyle G:

Does anybody know where I can find a copy of the License agreement that says its free for corporate use?


Answers:
author: tobyjunker
body: Hi, unfortunately this does not help. I already know that is free for corporate use. What I need is the EULA. The EULA linked above is a general one for all Atlassian products. Weigh too general for what I need. Is there an EULA specifically for Sourcetree?

comments: author: Jim C.
body: Hi Toby. It took a little investigating but I found the EULA for Sourcetree, please click on the link below.

<br />

(eula.txt)


author: Jim C.
body: Hi Kyle,

The [End User Agreement](https://www.atlassian.com/end-user-agreement/)can be found in our FAQ. Though I'm not sure what you mean when you say "free for corporate use" though.

comments: author: tobyjunker
body: If I understabnd Kyle correctly, I think I asked the same question a while ago. My question pertained to SourceTree App which is free. My company checks all EULAs before any software (free or not) can be installed.


author: Jim C.
body: Hi Toby, I see. I found [this](https://confluence.atlassian.com/display/SOURCETREEKB/SourceTree+License+For+Corporate+Usage) in our documentation.


author: mliebelt
body: This is no longer valid. Is there current information somewhere? I only find old deprecated pages about SourceTree license topics ...


Tags: licence
Sourcetree Cloning Issues
Asked by Richard Brisley:

Hi,

I am trying clone any repository from BitBucket but I get the following error:

fatal: early EOF

fatal: The remote end hung up unexpectedly

fatal: index-pack failed

error: RPC failed; result=18, HTTP code = 200

This has just started to occur as of this week so maybe its due to a software update? Any help or advice would be appreciated.

Thanks


Answers:
author: KieranA
body: Hi Richard,

There's a confluence page for this precise [issue here](https://confluence.atlassian.com/pages/viewpage.action?pageId=301663284). If you step through that it should help you. If not, feel free to ask again.

Cheers!

comments: author: Richard Brisley
body: Hi Kieran,

Thankyou for the advice. This helped resolve the issue.

Regards,

Kartar


author: Michael Greenhut
body: I doubt that method in the link has anything to do with why it's happening on my end, either. This just happened out of the blue with no changes to my machine, Git, SourceTree or otherwise.


author: nTahri
body: I have the same error :

error: RPC failed; result=18, HTTP code = 200

and I flowed the instructions in the link above but i didn't resolve it. any ideas how to fix it please

Thank you
Change git username in sourcetree?
Asked by Ryan Haines:

I installed sourcetree, connected to my git repo, and was able to successfully clone, branch, push, etc. I then changed my git username (it wasn't very professional!) and now I can't use sourcetree at all. It asks me for the password for my old username, and I can't find a way to change that field.

EDIT: I'm using OSX


Answers:
author: James Beamish-White
body: I had the same problem, and it was very difficult to find. As far as I can tell, for Mac Sourcetree, this is the ONLY way to get to these settings:

1. Go to File -\> New/Clone
2. Next to the Filter Repositories box is a cog (see picture below). Click that and choose Settings.
3. In the resulting popup window, you should see your old credentials and be able to update them.

Screen Shot 2015-11-16 at 10.18.05 AM.png

Hope that helps!  
[](https://community.atlassian.com/t5/Sourcetree-questions/Change-git-username-in-sourcetree/qaq-p/241574?attachment-id=593){#link_116c2b8c78b40a}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/7083/1/Screen%20Shot%202015-11-16%20at%2010.18.05%20AM.png){#display_116c2b8c78b40a_0}


author: Andrew Morin
body: if your on Windows try clearing your credentials here..

Control Panel\\All Control Panel Items\\Credential Manager

Clear them for the git server....
Pull notify symbols not working after a fetch
Asked by D K:

On Windows 7 SourceTree 1.2.1.0

The redbox with the number of commits to pull is not appearing over the Pull button.

Likewise the symbol does not appear next to the branch.

The Fetch working because I can see from the log that my local branch is behind the origin branch

Any logs or otherwise we can check to see why this might be happening.


Answers:
author: Chris Buckley
body: Same problem here, on Sourcetree 1.3.3.0 on Windows 7. GIT repositories are hosted on Bitbucket if this makes any difference.
SourceTree fails to clone Git repository through SSH on Windows
Asked by Christoph Schulze:

Hi everyone,

I'm trying to clone a Git repository from our Stash installation onto my Windows computer. I access the repository through SSH on a non-standard port and another username; my repository URL thus looks something like this:

```
ssh://user@our.stash.server:3579/project/repository.git
```

My SSH key appears correctly in Pageant, and in fact, in the Clone Repository dialog, SourceTree confirms the repository to be a Git repository. I thus assume that SourceTree successfully establishes a connection to it.

However, once I try to actually go ahead and clone the repository, SourceTree calls Git but nothing happens.

Does anyone have any idea where the problem might be? If this is of interest, I'm using SourceTree's integrated Git installation.


Answers:
author: timscherer
body: It doesn't seem to support the :port notation. The colon is just where the repository path starts. I wish I knew how to specify the port.

comments: author: Christoph Schulze
body: Yeah, that might have been the problem. Seems to be fixed now.


author: Christoph Schulze
body: Whatever exactly the problem was, it works for me with the most recent release.
Meaningless question when switching branches?
Asked by Peter Lophas:

Mecurial. When switching branches a dialog window always pops up. Which is useless, almost annoying for me. More importantly the message suggests there are local changes even if there are none.

![](http://cl.ly/image/1X2S2E1s0Z0G/Screen%20Shot%202013-09-16%20at%204.58.46%20PM.png)


Answers:
author: Peter Lophas
body: Now I see I can switch this of in settings, cool.


Tags: branch

dialogue

discard
Commit message spelling corrections
Asked by GD:

Hello,

Is there any way to get spelling suggestions for commit messages?


Answers:
author: Timothy
body: Don't think so. It's only a text area.


author: Pawe? Bulwan
body: Just a note if someone else lands here, currently (2017) spell checking is available in SourceTree.

It can be turned on with Tools -\> Options -\> Spell check commit messages option.
how do i get a log on a particular file that's not changed?
Asked by r. brian lindahl:

i'm migrating to sourcetree from tortoisegit. the only thing i've found that i'm missing so far is the ability to right-click on any file in the repo and get a log for it. i can do that for changed files in the 'file status' pane, but i don't see any way to look at files that weren't modified.


Answers:
author: KieranA
body: Hey there,

Some people have requested for an easier way to discover files in this respect, but it is possible. You need to change your filters so 'Show All'. The filter is just above file lists. If you go to the 'File Status' view then you can change this filter and view all files. It will list all the files in your repository folder and from there you can look for the file in question, right click on it, and then 'Log Selected'.

Hope that helps.

comments: author: r. brian lindahl
body: Ah, ok. I'll give that a try. If I think of something that would make it easier, i'll let you know. ;)


Tags: git
SourceTree Can't Commit File Deletions (Mercurial)
Asked by Aunt Jemima:

I'm working in Unity3D using SourceTree with Mercurial and a Bitbucket repository. Each time I delete files and attempt to commit those delitions to push to the Bitbucket repo, I receive the following error:
>
> hg commit -y --logfile C:\\Users\\blah\\AppData\\Local\\Temp\\1avoxdxt.dye  
> nothing changed (6 missing files, see 'hg status')

I can commit file additions/modifications, however any deletions likewise do not occur, as denoted above.

I'm relatively new to VCS; is there some caveat of SourceTree or Mercurial that I'm overlooking?

Thanks


Answers:
author: KieranA
body: Hi Jemima,

Perhaps you're deleting the file from the file system but not from Mercurial? Mercurial keeps an index of files. It can tell a file is 'missing', but as far as it's concerned you haven't deleted the file from your repository. You can right click on the file in SourceTree (it should have a grey icon) and hit 'Remove'. This will mark it for deletion in your index so the next time you commit it will really be removed.

Hope that helps.

comments: author: Aunt Jemima
body: That works, thanks!


Tags: bitbucket-cloud

cloud

delete
Same files shown as different & can't reset
Asked by nikobel:

I am trying to pull the changes from remote repo and have ran into this issue that local files can't be overwritten for some reason. I've tried using Discard option - it executes but does nothing.

As you can see from screenshot I'm attaching files are pretty much identical when I look into direct compare - but for some reason they always remain as "Uncommited changes" - if I try Discard option on file - it also executes but the file still stays in Working Copy Changes.

How to solve this issue?

Screenshot:

![](../../upfiles/difference.png)


Answers:
author: nikobel
body: Answer by Ricardo M \[Atlassian\]:  
-----------------------------------------

Hi,

This looks like a difference in line ending conversion settings - either since this file was committed, or it was committed by someone else who had different settings. The file itself isn't modified (which is why discard won't work), it's just that the line ending conversion would produce a different result with the user's current settings.

So either core.autocrlf has changed (or file was committed by someone else with different settings), or .gitattributes has.

The easiest way to resolve it is make sure those settings are as desired now and commit, 'baking in' the new line ending conversion preference.

Cheers,

Ricardo


author: nikobel
body: This may have something to with Whitespace - as soon as I check "Ignore whitespace" files are the same (although still reported in Working Copy Changes). Any idea on this?


Tags: bug
Git Config file location
Asked by dsmoore1600:

Currently my git config file is located on a network drive, so if I don't have network access, I cannot use sourcetree to make edits on my local repositories. Can someone please tell me how I can change the location the git config file is located at? I don't want to change my HOME environment variable, as other applications are using this. Thank you for your help.


Answers:
author: MB
body: Try reading the [part of the manual for git-config](https://www.kernel.org/pub/software/scm/git/docs/git-config.html#FILES) which deals with config file locations. I believe the best bet in your case is to go with

```
$GIT_DIR/config
```

or you can manually select the file location using "--file \<file_path\>" parameter.

In case none of the above are suitable for you, just set the GIT_CONFIG environment variable (the paragraph just below the FILES in that same manual).