youngmon/atlassian-qna huggingface dataset:
How do I edit bookmarks?
Asked by Franklin Schmidt:

How do I edit SourceTree bookmarks on a Mac?


Answers:
author: Tim Crall
body: It seems like if you delete the cloned repo from your workstation and then restart SourceTree, they go away. That might not be the answer that you're looking for, though...


author: Tim Crall
body: Oh, those bookmarks. Hmmm. Interesting. I don't see a way.


author: Franklin Schmidt
body: I am on a Mac. I would like to remove items that show in the menu when I right-click the SourceTree icon in the dock.


author: Tim Crall
body: What do you want to edit? You can delete them or rename them by right-clicking. Anything else seems like it would be a change to the repository rather than a change to the bookmark.
is their a way to see the owner name of repository in a bitbucket.
Asked by Pramod Bisht:

is there a way to see the owner name of the repository in a bitbucket?

Our main requirement is to get the owner of the repo through the bitbucket and show the data to the security team. So, that the security team can follow them.

The owner can be the VP or the lead.


Answers:
author: Caroline R
body: Hi, [@Pramod Bisht](/t5/user/viewprofilepage/user-id/4754189), welcome to the community!

Currently, it's not possible for a non-admin user to see who is the admin of a repository/workspace.

To check this information, what I would like to suggest is to search for the invitation email when you got invited to the repository/workspace as the invitation email contains the name of your colleague who invited you.

Please feel free to share any additional questions or concerns regarding this case.

Kind regards,   
Caroline


Tags: bitbucket-cloud

cloud
How do I get an explanation of the source tree menu options?
Asked by Kirsten Greed:

When I right click a branch X (say) in source tree I get menu options such as

"Update to X"

"Merge X into current branch"

"Rebase current changes onto X"

"Diff against current"

"Close X"

"Create Pull Request"

Where can I find help on each of these menu options? It seems to me that I need to learn what each verb "Update, Merge, Rebase, Diff" means. Is there an easier way? I am using Mercurial


Answers:
author: Kirsten Greed
body: Thanks Johannes, I have worked through Mercurial tutorials, but as a newby was hoping for easy reminders. Even a link to a glossary of terms would help.  
I did find <https://blog.sourcetreeapp.com/2012/08/21/merge-or-rebase/>

comments: author: Johannes Kilian
body: Hmmm ... these verbs are describing mostly the most elementary concepts of a SCM. I really don't know neither anything about mercurial nor a good glossary of terms ...A very basic intro into SCM (git): <http://tom.preston-werner.com/2009/05/19/the-git-parable.html> (hope this gives an intro into the concepts of SCM which could be understood by absolute beginners ... As I'm a more advanced user almost everything there is clear for me ...)You might also find hints here: <http://stackoverflow.com/questions/7076164/terminology-used-by-git>But as I said: I'm a git-boy, so no links for mercurial ... ;-/


author: Johannes Kilian
body: These are standard git operations - and there's nothing special from SourceTree within these actions ....

I would recommend to get more familiar with git and get fundamental knowledge of git studying a few git tutorials like

* <https://www.atlassian.com/git/tutorials/>
* <http://www.vogella.com/tutorials/Git/article.html>
* or any tutorial else on the web ...

comments: author: Seth
body: She's using Mercurial, not Git, so those tutorials aren't directly relevant. However, the spirit of the answer is accurate: these are Mercurial terms, and SourceTree assumes that you know enough about Mercurial to understand those terms.


author: Johannes Kilian
body: Oppps - misread the question. - thanks for the hint. Generally said: these are basic terms of almost any modern sourcecode management system (SCM). You should try to broaden your knowledge of your SCM ...
Commit Git subtree metadata?
Asked by Andrew Christensen:

I have the following scenario:

1. I have a Git managed project "Project"
2. I add a Git repo, "Library," as a subtree to "Project" and push it online.
3. My coworker clones "Project"

Problem is my coworker's cloned repo has no reference to Library's remote or that Project contains a subtree. The classes from Library appear to have always been a part of Project's repo. How does my coworker know they may be able to pull changes from Library's remote?

Is it possible to store subtree metadata in the Git repo so that when the project is cloned it is aware of subtrees and their remotes, or do they need to be configured every time a project is cloned?


Answers:
author: Danli Zhang
body: i have the same issue now. @[Andrew Christensen](https://answers.atlassian.com/questions/users?username=andrew.christensen) , do u have solved this issue?


author: Bal?zs Szakm?ry
body: I think what you are looking for is [submodules](http://git-scm.com/docs/git-submodule).


Tags: git

subtree
Can repository browser show the repo path by default?
Asked by Nathan Posey:

I am using SourceTree 2.0.5.2 on OS X and am wondering if there is any way for the Repository Browser to show the full path of the local repository by default? Basically some neat way of showing the Quicklook info in the regular listing. My workflow generally has numerous copies of the same repo so I can collect needed repos for certain issues so I have a structure like:

\~/projects/Bug1234/reponame1

\~/projects/Bug1234/reponame2

\~/projects/Bug1234/reponame3

\~/projects/Bug456/reponame1

\~/projects/Bug456/reponame2

\~/projects/Bug1456/reponame3

If I were to add these repo's to Repository Browser it would just show up like

reponame1

reponame2

reponame3

reponame1

reponame2

reponame3

And to figure out which repo is with which bug I have to quicklook them so generally I am clearing out the RB between working on stuff. I imagine there's a better way to organize this all but this sounds like it would be a cool optional setting to have if it does not exist yet.


Answers:
author: Nathan Posey
body: Created JIRA for new feature: <https://jira.atlassian.com/browse/SRCTREE-3011>


author: Nathan Posey
body: You can right click on one and do a Quicklook and the path pops up in there but it would be nice to not have to do that all the time. Created JIRA: <https://jira.atlassian.com/browse/SRCTREE-3011>


author: Seth
body: @Tim Crall I've heard some users report the bookmarks panel getting mysteriously minimized. If this has happened to you, you should be able to restore it by finding a small area on the left edge of the window that can be dragged to the right. This might be easier to find if your window is maximized.


author: Seth
body: Ok, yeah, I don't see paths in those screenshots. I don't suppose there is a tooltip that comes up if you hover over a local repo that has the path?If not, submit a feature request to jira.atlassian.com and post a link here as an answer.


author: Nathan Posey
body: Sorry I should have mentioned this was OS X. The repository browser is described here:<https://blog.sourcetreeapp.com/2014/09/25/sourcetree-for-mac-2-0-released/>


author: Tim Crall
body: How do you even get to the bookmarks panel in Windows? I can't find it.


author: Seth
body: What do you mean by the repository browser? In Windows, the Bookmaks panel shows both the repo name and the path to the repo.
How to add a single file to a repository
Asked by Dion Oliphant:

Hi,

How do I add a single or a few selected files to a bitbucket repository using SourceTree


Answers:
author: Bal?zs Szakm?ry
body: 1. Clone the repo if you have not already done so
2. Put the files in the folder where you cloned the repo
3. Commit and push the changes


author: Dion Oliphant
body: Thanks for the answers.


author: rahuldanwade
body: Hi Dion

Which SCM do you use for your source code?

If it is GIT

Then add them bit by bit back in using git add.

git add `[file-name-1.ext] [file-name-2.ext].....``[file-name-n.ext]`

git commit -m "X no of files added from Y no of files"

git push origin master

that will do.

regards

Rahul Danwade
Why would reverse hunk button be unselectable?
Asked by Shawn Fox:

Why would the reverse hunk button be unselectable? As I click on various commits within the commit graph, sometimes it is available but most of the time it is grayed out and unselectable. I cannot understand why it is mostly unselectable.

Open Source Components / Libraries  
WPF Converters ? 2007-2012 Kent Boogaart (MsPL)  
ScrollableTabPanel ? 2010 Olaf Rabbachin (public domain)  
Circular Progress Bar ? 2010 Sacha Barber (CPOL)  
WPF Task Dialog Wrapper ? 2011-2012 Sean A. Hanley (CPOL)  
CommandSink ? 2008 Josh Smith (CPOL)  
ListViewLayoutManager ? 2008 Jani Giannoudis (CPOL)  
MultiSelectTreeView ? 2012 Yves Goergen, Goroll (MIT)  
Drag/Drop component ? 2009-2011 Gong Solutions (New BSD)  
RestSharp ? 2009-2012 John Sheehan et al (Apache 2)  
EncodingTools by Carsten Zeumer (public domain)  
Open Source Binaries  
PuTTY ? 1997-2012 Simon Tatham et al (MIT)  
Git (GPL 2) Unmodified binaries downloaded by SourceTree, source code is available.  
Mercurial (GPL 2) Unmodified binaries downloaded by SourceTree, source code is available.  
HgAttic Mercurial extension ? Various (GPL 2) full source code is included.  
MSYS patch tool ? 1988 Larry Wall, 2003-2010 Free Software Foundation ( GPL 2 ) full source code is included .  
7zip ? 1999-2010 Igor Pavlov (license)


Answers:
author: Seth
body: Sometimes a hunk is too large to be displayed in its entirety. When this happens, SourceTree doesn't let you reverse the entire hunk because you can't preview everything you're reversing. You can try reducing the lines of context to break your large hunk into smaller hunks.

You can also adjust the settings in the Diff tab of the Options menu (see the "Internal Diff View" section).

comments: author: Shawn Fox
body: Okay. That makes some sense. However, I am in a situation where I'd like to reverse the deletion of a file. Therefore changing the hunk size will not do any good since the entire file is the hunk. The reverse file option is also grayed out. My diff settings are set very high to 16K and the files in question are certainly not bigger than 16K.

It appears that the files in question are more than 100 lines. The Max Diff Line Count is set to 2500. My size limits for both text and binary are set to 16K. Why would it still not allow me to reverse a file?


author: Seth
body: If you have not committed the deletion, you should be able to right click the file in the list, and choose "Discard", which means "get rid of any uncommitted changes".If you have committed the deletion, it looks like you may need to reverse the entire commit, then amend the reverse commit to restore any changes you want to keep.Either way, you'll have to use parts of the UI outside the diff view.
How do I update files from the repository
Asked by Genny Williams:

A month ago I checked out the files I need from the repository. Someone else has made changes since then. I want to work with the latest files. How do I get them? Your GUI is far from intuitive and your help is not helping. I am using SourceTree with Bitbucket.


Answers:
author: Seth
body: The UI is intuitive enough IF you have a working understanding of Git/Mercurial. It is not intended to be an "it just works" versioning tool.

If you are using Git, the Git book is a great resource. Read sections 1.1 through 1.3, and all of chapters 2 and 3. After doing so once, you should understand what 80% of the interface is supposed to do (since terms like "Fetch", "Push", "Merge", and "remote" will all have been defined).

comments: author: Genny Williams
body: Thank you for the reference to the Git book! I'll look for it. I've been thrown into something with little time to really learn it. As a writer, I appreciate being referred to useful documentation. .


author: Seth
body: git-scm.com/book/en/v2Fully available online for free, or you can buy a print copy.


author: Cal_Harrington
body: Hi Genny,

I am not an expert yet. Still learning but I use the Pull or Fetch buttons to update my local repository. I have found that if the repository is checked out to another machine then I can't check it out again. It seems that way to me.

[from stackoverflow.com on the difference between fetch and pull](https://stackoverflow.com/questions/18017800/difference-between-a-push-pull-and-commit-in-source-tree)

Hope that is helpful,

Cal
Close external diff tool without solving the conflict marks the conflict as resolved
Asked by willemdejong:

I use sourcetree with tortoise merge to solve merging conflicts. This works fine, until you open a conflict with tortoise merge and decide not to resolve it yet and you close tortoise merge. Somehow, if you do this, the conflict gets marked as resolved. The code that is created to indicate the conflict (with the \<\<\<\< parts) is now ready to commit as normal code.

This is probably not normal behaviour. Does anyone know how to solve this?


Answers:
author: Julius Niiniranta
body: This happened to me with Apple's FileMerge as well. I didn't save any changes, but for some reason SourceTree thinks that quitting the external editor means that the file has been resolved.
Sourcetree and Corrupted Loose Objects
Asked by Jack Cheung:

We started using Sourcetree on Mac for our Git repositories at work and ever since then I will frequently get a corrupt loose object (e.g. <http://stackoverflow.com/questions/4254389/git-corrupt-loose-object>). This has occurred 4-5 times in the last month.

I believe this problem occurs when you interrupt a git operation before it finishes. However, when I actively use Sourcetree, I never interrupt any of the operations and I always wait for everything to finish. Has anyone else ever experienced this issue? Is Sourcetree doing git operations in the background that I am accidentally interrupting? I do move around a lot and switch/lose internet a lot.

Also, I know how to fix the issue once it happens by re-cloning the repo. I don't need help with that. What I need is a solution to prevent it from occurring in the first place since it's very disruptive to our work.


Answers:
author: Jack Cheung
body: I disabled the Sourcetree Preference to "Check default remotes for updates every X minutes" and this problem has never occurred after a month of constant development. This is enough to make me think my original hypothesis about interrupting sourcetree git commands in the background was correct.

The downside of this is that you will not automatically see updates to pull. I got into the habit of constantly pressing the hotkey for "Refresh Remote Status" every time I switch to Sourcetree and it gets the job done.


Tags: error

git
What does the up arrow beside the branch mean?
Asked by David Sherwood:

After doing a merge, Source Tree shows an up arrow followed by 4. What does this mean?


Answers:
author: Gili Garibi
body: It means this branch is now 4 changes ahead of the remote branch

comments: author: Mariana Schiff
body: Okay, so what should I do? A push? A commit?
How do you work with Git-Flow Branches?
Asked by wyclef:

I'm confused about branches and new to Git. Do you create a develop, release, hotfix, etc. branch from the Remote Origin Master? Or from your checked out Working Copy? Is the develop branch the default from checking out the master to your local computer?


Answers:
author: Seth
body: It is necessary to understand what Git is and how it works before you can use it successfully. [git-scm.com/book/en/v2](http://git-scm.com/book/en/v2) - check out sections 1.1-1.3 and chapters 2 and 3.

Something that makes Git different from older versioning systems is that your computer is a repository, not just a working copy checked out from a central repository.
keeagent integration with SourceTree
Asked by JakeTheSnake3p0:

I honestly don't know how [keeagent](http://lechnology.com/software/keeagent/) operates, however I can say that it works with applications like FileZilla without any configuration required within FileZilla. The benefit of using a plugin like keeagent inside of an app like keepass is such that I only have to store my SSH key in one place - and that place is an encrypted database.

I do not wish to use plink.exe or sourcetree as yet another application I need to store ssh keys in. I also don't want to store username/passwords in these applications - why would I if my FTP server/Github.com account/Bitbucket account all have public SSH key authentication?


Answers:
author: Bal?zs Szakm?ry
body: This sounds more like a feature request than a question. [This](https://jira.atlassian.com/browse/SRCTREEWIN) is the right place for feature requests.

comments: author: ccenvcvb
body: Created <https://jira.atlassian.com/browse/SRCTREEWIN-3148>
source tree only open in task manager
Asked by Thomas Pendlebury:

Whenever I try to open source tree nothing seems to happen. It appears open in task manager but under background processes. I have tried everything that I can think of to fix it but have had no luck. Any help will be greatly appreciated.


Answers:
author: Thomas Pendlebury
body: SOLVED - Had to delete the local data and the reopen source tree and that seemed to work
Can't launch sourcetree after re-install
Asked by sheam:

In an attemp to get "clone in sourctree using HTTPS" working: I uninstalled SourceTree, deleted the 'Atlassian' folder from my AppData\\Local folder.

I have installed sourcetree again, but after going through the setup it just closes/crashses silently. If I relaunch and click 'skip setup', it just closes/crashses silently. So no I am compeletely unable to run sourcetree.

There doesn't seem to be any log generated in appdata\\local\\atlassian\\sourcetree to examine either.

In the windows application event log two error entries are generated:
> Application: SourceTree.exe  
> Framework Version: v4.0.30319  
> Description: The process was terminated due to an unhandled exception.  
> Exception Info: exception code c0000005, exception address 00007FFD9BB8BA3B

and
> Faulting application name: SourceTree.exe, version: 1.6.14.0, time stamp: 0x54ea9dbe  
> Faulting module name: ntdll.dll, version: 10.0.9926.0, time stamp: 0x54be0015  
> Exception code: 0xc0000005  
> Fault offset: 0x000000000002ba3b  
> Faulting process ID: 0x112c  
> Faulting application start time: 0x01d0625d9fc7198d  
> Faulting application path: C:\\Program Files (x86)\\Atlassian\\SourceTree\\SourceTree.exe  
> Faulting module path: C:\\Windows\\SYSTEM32\\ntdll.dll  
> Report ID: e0694cc7-ce50-11e4-ab41-c82a141ab805  
> Faulting package full name:   
> Faulting package-relative application ID:

What can I do to get SourceTree running again?

Thanks,  
\~Shea M.

Answer

Yes I did try and reboot. What is the proper channel for getting help with SourceTree? I am unable to add comments, as apparently this answer system only lets you post 3 times per 24 hours.


Answers:
author: ex-jedi
body: Had this exact same problem today. Some other users have found it to be a temp files issue, so I ran CCleaner and it started up right after.


author: Seth
body: I know I can't contribute much to this, but in the interest of gathering information: Have you rebooted?
Generate Sourcetree commit message
Asked by Richard Simko [RefinedWiki]:

Is there any way to generate a Sourcetree commit message equivalent of the prepare-commit-msg hook in Git?


Answers:
author: Raistlin Majere
body: No, and they won't do it because "it's soooo difficult":

<https://answers.atlassian.com/questions/169399>

Tip: don't waste time with the commit.template setting. SourceTree doesn't use it at all, although this is supposed to be working. You'll have to live without autocomments ![sad](/html/@C495B4504065515364EB1894F812B34C/images/emoticons/sad.png "sad")


Tags: git

hook
How do I clone in SourceTree using HG/HTTPS from BitBucket?
Asked by sheam:

Hello,

When I click the 'Clone in SourceTree' button on bitbucket, it always tries to clone using SSH. I have stopped using SSH (for performance reasons).

image2015-3-19 9:13:0.png

When I click this button, SourceTree tries to clone in SSH, which fails, as I no longer have .ssh keys, or pageant running.

How can I make sourcetree default to HTTPS?

<br />

\~Shea M.

It works, it is just annoying when I have to do it many times a day, as I setup new machines for developers, etc.

Is this the wrong channel ask for help on SourceTree?  
[](https://community.atlassian.com/t5/Sourcetree-questions/How-do-I-clone-in-SourceTree-using-HG-HTTPS-from-BitBucket/qaq-p/314786?attachment-id=1858){#link_116a7a69955a28}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/9594/1/image2015-3-19%209%3A13%3A0.png){#display_116a7a69955a28_0}


Answers:
author: Seth
body: You can copy the HTTPS link into the Clone Repository dialog.

comments: author: sheam
body: My co-workers who have never used SSH, are able to clone using HTTPS, by just clicking that button. Are you telling me that once you have used SSH with SourceTree you are *never* able to go back to HTTPS?


author: Seth
body: I'm not sure. I've only ever used SSH, and I don't need to clone very often (I work with a few repositories, but they're already all cloned). Is there a specific reason why copying the link doesn't work for you?
Fetched files have "last modified date" of fetch time instead of real last modified date. Is there an option for this?
Asked by Jejeman:

Hi,

When I use SourceTree to fetch a git project, all the files have the last modified date set to the time of the fetch, while it would be way more useful for me to have the real last date modified, the one that can be found on the git repository.

In the past I used a similar software and it was possible to change this settings. Is there a similar option in SourceTree?

if not, could that be a valid new feature request ?

I'm using WIndows 8.1 and SourceTree 1.6.14.0

thanks for your help


Answers:
author: Timothy
body: This should be the thread you are looking for:

* <http://stackoverflow.com/questions/21735435/git-clone-changes-file-modification-time>

comments: author: Jejeman
body: Thanks for your answer Timothy, I guess I will adapt to this reality!
cant see branch in github
Asked by Mike Holdsworth:

I'm trying to access the 4.0 branch in this GitHub project

<https://github.com/spring-projects/spring-data-neo4j/branches>

SourceTree does not list it under Remotes. Is there a trick to this?


Answers:
author: Bal?zs Szakm?ry
body: A Fetch will refresh your list of remote branches in SourceTree

comments: author: Mike Holdsworth
body: Yes; I'd tried the obvious stuff. I deleted the project and re-checked out from GH and all was well. Thanks for the reply anyways

[](https://community.atlassian.com/t5/Sourcetree-questions/cant-see-branch-in-github/qaq-p/42873?attachment-id=12996){#link_116a7ab2220b99}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/1268/1/gh.png){#display_116a7ab2220b99_0}  
[](https://community.atlassian.com/t5/Sourcetree-questions/cant-see-branch-in-github/qaq-p/42873?attachment-id=12997){#link_116a7ab2220b99_0}  
[](/tnckb94959/attachments/tnckb94959/sourcetree-questions/1268/2/st.png){#display_116a7ab2220b99_2}