youngmon/atlassian-qna huggingface dataset:
'We couldn?t log you in' (inactive account flag?)
Asked by Thiago:

I successfully log in Atlassian, however I get the error when I try to go to Bitbucket:

------------------------------------------

We couldn't log you in  
You may run into this issue when you use specific browsers or add-ons that hide the referer header for id.atlassian.com and other Atlassian sites. Check for these and then try logging in again.

-------------------------------------------

I saw in other posts that the users were flagged as inactive.

Could you please check?


Answers:
author: Theodora Boudale
body: Hi [@Thiago](/t5/user/viewprofilepage/user-id/4721392) ,

I see that you have created a support ticket, your account was indeed flagged as inactive and the engineer working on your ticket reactivated it.

Please feel free to let us know if the issue is resolved now and if you need anything further.

Kind regards,  
Theodora


author: Pramodh M
body: Hi [@Thiago](/t5/user/viewprofilepage/user-id/4721392)

Welcome to the community ?

Did you try logging in via incognito and let me know it works?

Do you have add-ons that installed in chrome, try disabling add-ons and logging in from normal broswer

Thanks,

Pramodh

comments: author: Thiago
body: Yes I tried via incognito but got the same error.

And I have no adblockers, also disabled my add-ons and got the same error.

Also tried in Firefox and Chrome and got the same error.


Tags: bitbucket-cloud
SourceTree setup dialogue every reboot
Asked by Richard Cross:

I installed SourceTree recently, but every time I reboot Windows, the setup dialog launches, prompting me to "Modify", "Repair" or "Remove" the software.

How can I stop this?


Answers:
author: Seth
body: <http://www.pcworld.com/article/241049/how_to_disable_windows_startup_programs.html>
Browse a specific revision of repository in SourceTree
Asked by David Muir:

Is there a way to browse a specific revision in SourceTree? As a workaround, I could update to that revision then browse around in finder, but it would be nice if there was a quicker way like TortoiseHG's "Browse at Revision" feature. Sometimes I need to see the layout of a repository (eg, what files were in a specific folder) rather than log the history of a particular file.


Answers:
author: Bhushan Nagaraj
body: Hey David,

There is an existing feature request for this.

<https://jira.atlassian.com/browse/SRCTREEWIN-1428>

comments: author: David Muir
body: Thanks, I've added my vote for the feature.
Is support for (dark) templates coming?
Asked by Hielke Kramer:

While developing I use a lot of programs in which I have a dark template set: Pycharm, Sublime, the terminal, and Brackets. This is easy on the eyes and makes life in general better.

Whenever I want to review some code however, I always use Sourcetree, which is all of a sudden a pain to my eyes.

Will Sourcetree support the usage of (darker) themes in the future?


Answers:
author: Bhushan Nagaraj
body: Hey Peter,

There is a feature request you might want to vote on.

<https://jira.atlassian.com/browse/SRCTREEWIN-2351>


Tags: template
SourceTree not responding many times on windows 8.1
Asked by Simon Karberg:

Hi.

I am a proud user of Atlassian products, professionally and privately.

On windows 8.1 do i use SourceTree that i find this software really neat UI wise, no one else on Windows can beat that UI.  
But i have this huge problem, what ever i do in SourceTree do i get "Not Responding".

Image 2014-11-27 at 9.48.49 PM.png

This is a picture of my SourceTree, just in idle, i don't think it's many repos or changes to them.

My hardware is:

i7-4790k (devil's canyon)  
16GB ram.  
250GB SSD as OS.

I am lost in what it could be other than a bug in the Windows version.  
[](https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-not-responding-many-times-on-windows-8-1/qaq-p/193296?attachment-id=8912){#link_116ad403e18a84}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/5565/1/Image%202014-11-27%20at%209.48.49%20PM.png){#display_116ad403e18a84_0}


Answers:
author: Bhushan Nagaraj
body: Hey Simon

You might want to vote up on this issue. A user has reported the same on Windows 7. You might want to add a comment to report the same behavior on 8.1

<https://jira.atlassian.com/browse/SRCTREEWIN-2093>

comments: author: Simon Karberg
body: Thanks, i have up vote it and comment on the case.


author: ralphs
body: I have the same issue


author: VINAY KUMAR
body: Yes! I do have the same issue whenever i click on Working Copy inside sourcetree..

I have to find solution soon...


author: Simon Karberg
body: Hi Kristian.Go to the ticket (listed below from Bhushan) and comment on it, and click "vote" in the right hand side.


author: Kristian Morales
body: same here.. any one know how to solve it?
In SourceTree, is it possible to do: git clone --depth 1?
Asked by Celia Oakley:


Answers:
author: Bal?zs Szakm?ry
body: No, but there are three (identical) open feature requests for it. You can vote for them [here](https://jira.atlassian.com/browse/SRCTREE-2745?jql=project%20in%20%28SRCTREEWIN%2C%20SRCTREE%29%20AND%20text%20~%20%22shallow%20clone%22).
After local "move tag", can't push with tags to remote
Asked by Aleksandar Vacic:

Source Tree offers an option to move a tag if I try to tag current commit using existing tag. I did that locally, but now when I try to push to bitbucket, I get the error that tag already exists.

```
hint: Updates were rejected because the tag already exists in the remote.
```

Here's the complete log of the push attempt

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v --tags origin master:master?Pushing to git@bitbucket.org:*****To git@bitbucket.org:****?= [up to date]? ? ? master -&gt; master?= [up to date]? ? ? v4.0 -&gt; v4.0?! [rejected]? ? ? ? 4.0.1 -&gt; 4.0.1 (already exists)updating local tracking ref 'refs/remotes/origin/master'error: failed to push some refs to 'git@bitbucket.org:****'hint: Updates were rejected because the tag already exists in the remote.Completed with errors, see above
```

**How to reconcile this problem?**


Answers:
author: Martin Widmer
body: I experience the same problem still with v2.3.5.0

The workaround of Serguei Mokhov is possible but very tedious. There should really be an option to move tags on remotes as well.

comments: author: Martin Widmer
body: As mentioned in another forum (<https://jira.atlassian.com/browse/SRCTREE-3018>), there is another workaround using the git command line to force push the tags:

git push origin --tags -f

If you're often moving tags around, I suggest creating a custom action for this:

Script to run: git

Parameters: push origin --tags -f

Since this only affects tags, there is not as much danger involved as in other forced commands.


author: fcgamedesign
body: For me, this works when done in the command line, but it doesn't when I make it a custom action. It says it failed with errors, but no errors are shown (and it doesn't do what it should).

Any ideas what could cause this?


author: Tushar Raut
body: This method worked for me.

<https://stackoverflow.com/questions/31929667/updates-were-rejected-because-the-tag-already-exists-when-attempting-to-push-i>

Hope it helps you too.

Have a good day!


author: s_mokhov
body: The only way I've found to move a remote tag is to delete it (from all remotes) and then recreate it again. SourceTree (as of 1.7.0.32509) on Windows is not capable of doing it. [This documentation is incomplete](https://confluence.atlassian.com/display/SOURCETREEKB/Adding,+Moving,+and+Removing+Tags+in+SourceTree#Adding,Moving,andRemovingTagsinSourceTree-Movingatag), which simply covers a local case where it does work, but does not work for the remote updates with "Tag already exists".


author: Steve Dodd
body: Anyone...?


Tags: git

remote

tag
issue with a Push to Stash using Source tree
Asked by Sullivan, Kevin:

When I try to push my changes to the Stash Repo I get the following error

remote: REJECTED: you can only push commits you have authored.

I am the only who has authored these changes so not sure why it is getting rejected


Answers:
author: TimP
body: Hi Kevin,

It sounds like you have the [Stash Enforce Author Hook](https://marketplace.atlassian.com/plugins/com.risingoak.stash.plugins.stash-enforce-author-hook) enabled for the repository that you're pushing to. I'd check the email address and username you've specified using `git config` match the email and display name in Stash.

cheers,

Tim


Tags: jira-service-desk
'git status' failed with code 129: Unknown option: -c
Asked by bobmehta:

My SourceTree shows 1.7.0.4 but command prompt (WIN7) shows git version 1.9.4.msysgit.2

I see below errors when cloning or adding repositories.

Please help!!!

--------------------------- Error encountered ---------------------------

'git status' failed with code 129: Unknown option: -c

usage: git \[--version\] \[--exec-path\[=GIT_EXEC_PATH\]\] \[--html-path\] \[-p\|--paginate\|--no-pager\] \[--no-replace-objects\] \[--bare\] \[--git-dir=GIT_DIR\] \[--work-tree=GIT_WORK_TREE\] \[--help\] COMMAND \[ARGS\] (C:\\BondWorks\\webclients) --------------------------- OK ---------------------------


Answers:
author: Bal?zs Szakm?ry
body: Try switching SourceTree to use the System Git or update the embedded Git (both in Tools\\Options\\Git). (It is probably using the embedded 1.7.0.4, which is pretty old.)

comments: author: Raoul de Vries
body: Updating embedded Git from 2.20.x -\> 2.24.1 fixed it for me
Sourcetree is lagging and works very slow on my ws
Asked by Aleksandr Vydrenkov:

colleagues dont have this kind of problem. as developers do sth about it.


Answers:
author: Seth
body: You're going to have to be more specific in terms of OS and SourceTree version.

If you are on Windows 7 x64 running Sourcetree 1.6.x, vote up and watch [this thread](https://answers.atlassian.com/questions/10413451/sourcetree-slow-in-windows-7-x64...) and [this thread](https://answers.atlassian.com/questions/252979/sourcetree-is-very-slow-on-windows-7), and post on them only if you have any new information. It's much more helpful to have one thread with lots of information, then 20 "its slow plz fix" questions.
How to move tag to the another commit at remote repo? Possible bug?
Asked by Valiantsin Luchko:

SourceTree Version 2.0.3 (2.0.3), OSX

Tag is created locally and pushed to remote.

```
$git ls-remote --tags7232f4d05d4cb0a5d58da6e8b6f8ad5091b76510	refs/tags/MY_TAG
```

Then try to add the same tag with options Push to \[remote\] and Move existing tag I get error

I try to move MY_TAG from 7232f4d to c633bae.

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree tag -f MY_TAG c633baec0e902b757ca1e6c11e03d582c8eac43b Updated tag 'MY_TAG' (was 7232f4d)git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree push -v dropbox refs/tags/MY_TAG Pushing to some.gitTo some.git ! [rejected]        MY_TAG -&gt; MY_TAG (already exists)error: failed to push some refs to 'some.git'hint: Updates were rejected because the tag already exists in the remote.Completed with errors, see above
```

Check tags:

```
$git show-ref --tagsc633baec0e902b757ca1e6c11e03d582c8eac43b refs/tags/MY_TAG$git ls-remote --tags7232f4d05d4cb0a5d58da6e8b6f8ad5091b76510	refs/tags/MY_TAG
```


Answers:
author: Valiantsin Luchko
body: Yes, it's obvious how to track deployed version at the server, tag or just hash, but is there a way to track it by git too. So one open SourceTree and see the commit deployed. Also we can write some script to download and show version.txt from every server, it's really simple, but the question is about git. Thank you, Seth, for the answer


author: Seth
body: Our company has a deployment script that takes a selected tag, exports the files at that tag, then writes the tag name to a web-accessible version.txt file. So our tags are version-numbers (not moveable), and you can find what code is deployed on a server by visiting the version.txt file on that server.Note that version.txt is NOT a file that is tracked by Git.


author: Valiantsin Luchko
body: Ok, let's say we use tags to mark deployed commit to particular server, how to mark it not using tags?


author: Seth
body: Be hesitant to move tags. Even if pushing the moved tag had worked as desired, doing so will cause problems for anyone else who has pulled that tag down to their machine. When moving a tag is necessary, make sure to inform other team members so they can delete their local copy of the tag.
How to force Sourcetree to read svn instead of git
Asked by Hoang Pham:

Hi,

I have to use svn for a repository in my company, but I also maintain a git version in parallel. I don't use git-svn because the project is very large, it takes days to convert and I interrupted the process.

My question is, how to let Sourcetree manage this directory using svn instead of git, because I already have a different client for git called gitx. and I want sourcetree to manage the project using svn instead of git.

anyone has an idea?

Thanks,


Answers:
author: Seth
body: SourceTree only directly supports Git and Mercurial (Hg). If you want to support an SVN repository, you can either:

1) Complete the git-svn conversion process

2) Use an SVN client instead of SourceTree: <http://stackoverflow.com/questions/899/best-subversion-client-for-mac-os>

comments: author: Seth
body: Disclaimer: You said you use gitx, which based on 15 seconds of research makes it look like you are using Mac. If that is wrong, then your software options are completely different.
Can branch names link to Jira?
Asked by Keith Ealanta:

I have got the linking from SourceTree to Jira working, but it seems to only work for commit comments.

Is there any way to make it work for branch names and Labels? We (generally) branch per ticket, and it'd be great to carry the JIRA Ticket link with the branch right through the process.


Answers:
author: JamieA
body: You cannot, but you certainly should be able to given that when Stash creates a branch it contains the issue key. Having to mention the issue in every commit is completely redundant.

I think Atlassian are aware this is a problem, last I heard (a long time ago) they were investigating better methods of associating the issue with its commits. It might be in one of these and its links: <https://jira.atlassian.com/browse/STASH-2491> - couldn't find anything better from a quick google.
sourcetree repository sorting / searching
Asked by Lighthouse Atlassian Admin:

i have cloned around 110 repositories using sourcetree.

I'm trying to find a single repository but i'm lost in a list that is not searchable!

Also it would be nice to be able to sort repositories alphabetically for a selected folder.

Thanks in advance!


Answers:
author: Seth
body: You can create "folders" for your repository bookmarks. If you take the time to organize all 110 into 5-10 folders, it should make it much easier to find what you're looking for.


author: Bal?zs Szakm?ry
body: If you want to create a feature request for sorting the list, you can do it [here](https://jira.atlassian.com/browse/SRCTREEWIN).
POST git-receive-pack (chunked)
Asked by Sean Bergin:

Using SourceTree on iMac 27" Yosemite. Trying to Push to an existing repo and get this error. I recently changed macs and haven't used SourceTree until now. Please help? Thanks, Sean Bergin


Answers:
author: Sean Bergin
body: Sorry Seth - it was just taking a long time to upload and there was no feedback showing the upload was happening. I was just used to more or less immediate uploads previously. All fine now and apologies for wasting your time!

comments: author: Sean Bergin
body: Just to note that I forgot about this error and now 13 feb 2015 have it again. Turns out it is just a matter of waiting again. It would be handy if there were some message to suggest a delay as all the commits I have made between these two dates have happened more or less immediately... and this was a tiny commit so that was not the issue.


author: Seth
body: That doesn't sound like an error. Is there anything else to the message?
Source tree multiple push
Asked by mark:

Untitled1.png

When I go into source tree I always have to push each of my sources to the git repo individually. I use a database source control and just want to automatically push all versions to the repo or just push all is this possible in source tree? There will be never be any conflicts or merging to do.


Answers:
author: Seth
body: I don't think so. Sourcetree will allow you to push all branches in a single repository at the same time (to the same remote), but I don't think Sourcetree has ANY operations that work on multiple repositories simultaneously.
'git apply' failed with code 128:'fatal: Unable to create '/Users/.../.git/index.lock': Permission denied '
Asked by Jedidiah Rex:

Running Sourcetree 2.0.3 on Mac OSX 10.10.1 and attempting to commit a change. When I click the Stage hunk button I receive the error:

'git apply' failed with code 128:'fatal: Unable to create '/Users/.../.git/index.lock': Permission denied'

I cannot commit changes.

I am able to do this through Terminal if a add sudo. My guess it is a permissions thing somewher, but I cannot figure it out.

Any help will be greatly appreciated.


Answers:
author: Seth
body: Check the ownership of the .git folder. It should be writable by your user. If that is not the problem, check whether the index.lock file exists, and you may need to delete the lock file manually, but only if you're sure git isn't performing any operations (shut down sourcetree to avoid colliding with automatic fetches).

comments: author: Jedidiah Rex
body: Thank you, Seth.  
That allowed me to attempt the commit. When I did I received a message regarding permissions being denied to COMMIT_EDITMSG.  
I changed that in Terminal and then received this error:
> git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree commit -q -F /var/folders/13/7_nt5m7x6zv4v0f5cftwvry40000gp/T/SourceTreeTemp.epR05C  
> error: insufficient permission for adding an object to repository database .git/objects  
> fatal: failed to write commit object  
Completed with errors, see above  
When I look at these items in terminal they are all owned by root, but not my user. Why is this? Can I change all he ownership under .git to my user with 'chown -R'?


author: Seth
body: I think that should work, but my knowledge is based on linux, not Mac, so you may want to get a second opinion before attempting that.If everything is owned by root, it's likely that the command you used to create them (git clone?) was executed as root (probably via sudo, based on reference to that in your question).In practice, I would avoid using the "sudo" command in your user's directory for any operation other than changing ownership to your user.


author: Jedidiah Rex
body: Thanks Seth.

I did try this and it worked. Thanks for the warning about sudo.

Jedidiah


author: Seth
body: Glad to help. If you hit the checkbox by my answer, that will highlight it as the "correct" answer.


Tags: git

github
Load multiple password-protected OpenSSH keys
Asked by FrancescoP:

I have 2 SSH keys I need to load when starting SourceTree, which are password-protected.

Since I am on Windows and can't use Pageant (due to its lack of support to OpenSSH keys) I have to use OpenSSH, but it doesn't properly work:

* if there is just one key added into SourceTree, a command line pops up asking me for the password (and it works)
* if I add a second key through SourceTree (Tools -\> Add SSH key), it asks me for the password (and it works)
* if I close SourceTree and open it up again, a command line pops up and then immediately closes itself, thus failing to load both of my SSH keys

Is there a way to solve this? The only workaround is to re-add the SSH key I need just before fetching/pushing, if I remember I previously closed SourceTree or rebooted my PC.


Answers:
author: Seth
body: You can use the putty key generator to convert OpenSSH private keys to the format pageant prefers. They should still work fine with the openssh public keys.

comments: author: FrancescoP
body: I really don't want to keep multiple copies of my keys, isn't there another solution?


author: Seth
body: Do you use the private keys for something that requires the openssh format? The conversion can work both ways, so you could merely keep the ppk format for your private keys, and convert your public keys to openssh or putty's public keys as necessary. I generate all my keys with puttygen, and invariably have to convert my public keys to openssh for installation on linux servers.


Tags: ssh

ssh-key
No submodule mapping found in .gitmodules for path 'server/simple_server'
Asked by Joe Johnson:

Every time I do a \`git pull\` from SourceTree, I receive the following message:

```
git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree submodule update --init --recursive?
```

```
No submodule mapping found in .gitmodules for path 'server/simple_server'
```

```
Completed with errors, see above
```

However, preceding the above message, the pull works as expected and everything is fine (code pulls, auto-merge, etc works as expected). This happens for every repo I've cloned using SourceTree. If I use the CLI to do a \`git pull\`, no submodule checks are performed and so I never see the above ('error') message. Why is SourceTree performing this extra step in the git pull (which does not happen from the CLI). I've gone through every possible option in SourceTree preferences.

I'm running SourceTree on a Mac now, but I had a (Windows) PC last week (and prior) running SourceTree and received the same errors -- this appears to be a (default) feature of \`git pull\` in SourceTree, regardless of platform. And, once again, only happens via the GUI, not CLI -- on all of my cloned repos.

Any advice would be appreciated. I hate seeing a false negative in my git pulls while using SourceTree.


Answers:
author: tracyk_zillow
body: I am getting this too, but only for certain git repositories.