youngmon/atlassian-qna huggingface dataset:
How do you send an invite after adding a user?
Asked by bcblair:

Bitbucket is so confusing. I have added a person to a group but they have not received their invite. How do I invite a person I have added to a group?


Answers:
author: Caroline R
body: Hi, [@bcblair](/t5/user/viewprofilepage/user-id/4487101)! Welcome to the community!

In order to invite a user to your workspace, you can either add them to a group or add them to a specific repository. The first time you add them, they should receive an invitation to join your workspace.

In case a user hasn't received the invitation, it could be related to a block on the server on this email. This can occur when the system tries to send an email to the user and the account does not exist yet, is not activated, or it rejects the email for some internal reason. In this case, we can remove the block from the address.

With that said, I checked the users you have invited to your workspace and none of them are blocked, so I would like to ask you to remove the invitation and send them a new one. You can do this by following the next steps:

* Access the workspace;

* If you invited the user to a group:

  * Go to **Settings** \> **User groups**;

  * Access the group they were invited to;

  * Remove the invitation and add the email again to send a new one.

* If you invited the user to a specific repository:

  * Access the repo \> **Repository Settings** \> **User and group access**

  * Remove the invitation and add the email again to send a new one.

In case they still don't receive the invitation, could you ask them to check if the email was not sent to a Spam folder? Or aren't any quarantined emails on the server (spam filter)?

Please let me know how it goes and feel free to share any additional questions regarding this subject.

Kind regards,  
Caroline


Tags: bitbucket-cloud

cloud
Can't clone via SSH or HTTPS, can't download zip
Asked by etodd:

I have a private repo of about 500 MB. Cloning via SSH sometimes stalls out while counting objects, or compressing, or after downloading about 5 MB. Cloning via HTTPS stalls out about 5 MB in. Same with shallow clone. The "download" button gets somewhere between 1 MB and 30 MB in, then stalls out.

Is there a feature like Google Takeout that will help me exfiltrate this repo off of Bitbucket?


Answers:
author: etodd
body: Solved. Here's a guide for anyone else who ran into this problem: <https://etodd.io/2021/07/21/how-to-exfiltrate-code-from-bitbucket/>


Tags: bitbucket-cloud

cloud
I have received no emails related to any repo I am a watcher of
Asked by sam mcmurtrie:

I have been working at my latest company for a month now and have received 0 emails from bitbucket for any notifications related to repos I'm watching or PR's I've submitted. I've checked my notifications settings and have double-checked that I am in fact a watcher of those communities.


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

May I request to check out this [manage email notifications](https://support.atlassian.com/bitbucket-cloud/docs/manage-email-notifications-for-watched-objects/) page for complete details.

Stay safe and stay healthy.

comments: author: sam mcmurtrie
body: Thanks [@G subramanyam](/t5/user/viewprofilepage/user-id/3929184) for the resource. I checked it and compared my current notification settings and can't see anything in there that I have or have not selected that would prevent me from receiving updates on activity on repositories I am watching. Even if I had removed all my notifications the document says:

"While you can unsubscribe from certain notifications, you can't turn off notifications from Bitbucket when:

Another user mentions you in a comment or your access to a repository or workspace changes."

So presumably I would have still gotten some email notifications had I removed all notifications (which I haven't).

Could there be another reason I am not receiving any updates?


Tags: bitbucket-cloud

cloud
Example blue/green CI/CD with Bitbucket Pipelines to AWS EKS
Asked by Monica Gordillo:

I'm looking for an example blue/green deployment pipeline to AWS EKS. I found a link for a basic "Deploy to Kubernetes" setup. <https://support.atlassian.com/bitbucket-cloud/docs/deploy-to-kubernetes/>

I'm looking for either a blue/green deployment or canary deployment example.


Answers:
author: etiennej
body: Similarly looking for an example blue/green deployment pipeline but instead for AWS Elastic Beanstalk... My balanced solution is just have two deploy steps, both **trigger:manual**, and I can manually go through and decide which gets updated. Will have to think through further


Tags: bitbucket-cloud

bitbucket-pipelines

cloud
Please support git notes
Asked by Nathan Gray:

Git notes allow users to attach bits of metadata to git objects without changing them. So, for example, your build system might attach the results of running a build to a commit, or you might attach code review comments to a commit. Right now Sourcetree doesn't offer any way of viewing or editing these notes, which is unfortunate, since there are lots of interesting uses for notes.

I would love it if ST would add support for at least viewing notes that exist on commits, since they are typically used to augment the history of the project. (As a technical detail, I believe all notes should be shown, as though --notes-ref=\* were passed to the git notes command.) It would also be nice to support adding new notes, though I wouldn't consider that critical.

Thanks, and keep up the good work!


Answers:
author: stevestreeting
body: This is the first I've heard of this feature!

Logged here: <https://jira.atlassian.com/browse/SRCTREE-917>

comments: author: Nathan Gray
body: Great, thanks!


author: Chris Nieass
body: Has this suggestion be incorporated into ST yet?


author: Edward J Peguillan III
body: What is the status of adding git notes? Is it added, and how can I use it with BitBucket? Thanks!
Why is the sourcetree support system so fragmented?
Asked by Nathan Gray:

Questions go here. Bug reports go to <http://support.atlassian.com/.> Feature requests go to <http://jira.atlassian.com/.> Each one requires its own account. Can't you consolidate these things into one service under one account?


Answers:
author: stevestreeting
body: I understand - however this is just how Atlassian structures the difference between bugs \& development tasks, support, and community self-assistance. Bugs \& dev tasks are trackable, long term things while this is mostly just for quick questions.

I usually end up answering most things anyway regardless of where they're posted ;) If in doubt, here is fine and I'll promote things to [jira.atlassian.com](http://jira.atlassian.com) if there's something to be done.
Correct way to Set up External Diff Tool
Asked by Xun Cai:

Hi

I am trying to set up the external Diff Tool and merge tool:

I put the path: /Applications/syncroSVNClient7/DiffFiles.app in Diff Command

and I put $LOCAL $REMOTE as Arguments:

And I do the samething for Merge Tool but it doesn't work.

Can someone tell me the correct way to do this?


Answers:
author: stevestreeting
body: The Merge tool will require 3 parameters rather than 2 for a 3-way merge.

Otherwise, it depends if this client app supports external diffing from git/mercurial - I've never tried Synchro SVN before. Certainly the 'Other' option has been proven to work with other tools which aren't officially supported, such as MacVim, using this same setup.


Tags: diff

external
Export a revision in Sourcetree
Asked by Pop Panchapol:

Is there a way to export a specific revision to a zip file locally?


Answers:
author: stevestreeting
body: Not at the moment, but this feature is on the feature requests list already: <https://jira.atlassian.com/browse/SRCTREE-850>

comments: author: Manu
body: I am not able to see this in NEW version 1.9.7 Source Tree in my MAC, Can you help me ?
Can this application edit a commitment history log after the completion of a commitment?
Asked by Tomonori Koyano:

Can this application edit a commitment history log after the completion of a commitment?

Since the text of the commitment was mistaken, I would like to correct.


Answers:
author: stevestreeting
body: In Git, hit the 'Commit' button and check the box at the bottom labelled 'Amend previous commit'

In Mercurial, select the previous commit in the log, right-click and select 'Strip from here', and **make sure you select the 'Do not change the working copy' box**. Then commit the changes again, this time with the commit message you prefer (this assumes you don't have other changes in your working copy too, if you do you probably want to Shelve them before you perform the strip command).

In both cases, make sure you have not pushed your changes to anyone else before you do this. Rewriting history should never be done on commits which are public in an upstream remote or similar.
How to see all the files that I need to update or conflict in Source Tree?
Asked by Xun Cai:

Hi Guys,

I am very new to Source Tree and I am having some problem here.

When I juse SVN and some SVN software, I can easily see what files on the remote I need to update.

For example, I can see a list of files that I need to update or get conflict on the server. So before I download anything, I can go over them easily.

In Source Tree, I can look into remotes and see who commit what files.

But the problem is there is no easy way to see all the files I need to update from the server.

It can't list all the files that are different between my local and the remote.

Any idea?

Thanks


Answers:
author: stevestreeting
body: If you're using Git, just click 'Fetch'. This will bring in the contents of the remote branch, which you can then see in the log just like you can see your own local branch. You can then to Pull the contents when you're ready.

For both Git and Mercurial though, remember that unlike SVN you can commit your changes locally. So even if there's a conflict, you never lose anything so long as you've committed already. So really, there's no need to do this 'remote pre check' like you would have to do in SVN. Typically you only do that in SVN becuase it won't let you commit your changes without updating first, potentially messing up your local uncommitted changes during the merge, so this kind of peeking was necessary. In Git and Mercurial, just commit your changes locally - they're preserved and aren't going to get messed up. Then pull, and resolve the conflicts - or if you don't want to yet, just leave them unmerged until you're ready. It's a different sort of concept.

comments: author: stevestreeting
body: By the way the equivalent to 'fetch' in Mercurial is to 'pull' but with the post-pull action set to 'None'; this pulls in the new commits but doesn't touch your working copy so you stay where you were and can look at the new commits before updating to them or merging / rebasing your changes.


author: Xun Cai
body: Hi but where can I see that list of files? I did a Fetch, but I couldn't see that list of files that I need to update from the remote. (I try to click Working Copy, and remotes)

the only thing I can do is to go to Master, and see my partner commited 3 times. And I have to go over each commit and see what files he submitted in each commit. But there is just no way to see an overal summary.


author: stevestreeting
body: You can select any 2 log entries at once (Cmd-Click), and the diff view will show the combined differences between them.

Or, you can merge, and then the merge commit will show you the differences.
Fixing git merge conflicts : discard selected lines always resets my view?
Asked by Michael E:

I'm trying to fix git merge conflicts on my .xcodeproj file. Since I want to accept changes from both merged branches, this involves me selecting the various git inserted data (\<\<\<\<\<\<\< HEAD, \>\>\>\>\>\>\> BRANCH, and ======) and using "discard selected lines" to fix the merge conflict. Each time I discard a line, the view resets and HEAD is selected in the commit tree. As you can imagine, having to scroll down the same file for the 10th time to discard one line at a time is not very user friendly.

I'm guessing I must be going about resolving conflicts in the xcodeproj the wrong way...how should I do it?


Answers:
author: stevestreeting
body: You're actually far better to use an external merge tool to do this. FileMerge (free with XCode) does an admirable job and is the default configuration, you can just right-click the conflict and select Resolve \> Resolve in Visual Merge Tool. Then you can resolve all the conflicts at once (discarding if you want) before returning to SourceTree.
Path smart display
Asked by Mike Brandehorst:

If paths are long it would be handy to see the first AND LAST bit.

public_html/assets/ima....some-image.png

See GitTower how they handle this.


Answers:
author: stevestreeting
body: I've never seen that option before, thanks!


author: Paul Collins
body: I could go either way on this idea, but to save you time, if you're using a cell such as the standard Text Field Cell in an NSTableView column, the IB Line Break setting "Truncate middle" should do this for you.


author: stevestreeting
body: OK, I sort of see your point here (but to clarify, the file name isn't on the end of the path as you describe there, it's simply the folder).

And if you were grouping things by path, you could have more easily done this by switching to the tree view or column view, which doesn't have a path column at all, it's a hierarchical view.

But regardless, fair point that compressing in the middle is an overall nicer approach, it's just not what the standard Cocoa controls do. I guess others must use custom controls for this, I'll take a look for a future version.


author: Mike Brandehorst
body: I see, then I mean:

FilenamePath

Container.jspublic_html/asse...w/component/Container.js

The point I'm trying to make is that the end of path is as important as the beginning. This is to long to see:

public_html/assets/vendor/sencha/touch/2b3/js/src/dataview/component/Container.js

Now I have to drag the right of path column to the right, almost fullscreen or hover each path to see the end. I had 2300 new files last time and wanted to put them in bundeled separate commits. I ended up committing this time with GitTower and went back to SourceTree when the new files were not that much again.

Another nice method is how Sequel Pro handles long database values:

1) First the font width is made smaller to fit the column

2) Still to long? Then the font size is made smaller (but not to small) to fit the column

3) Still to long? The the value is done like I said above: public_html/asse...w/component/Container.js


author: stevestreeting
body: Right, it's just your quote above included the filename at the end, implying that you couldn't see it, but of course in SourceTree the path and filename are separate, so the file name is never cut off.


author: Mike Brandehorst
body: All three views (left top) have Path as a column...

Filename, Path


author: stevestreeting
body: Which view(s) in particular were you thinking of here? We don't often display full paths, the only place I can think of is the diff pane, but that scrolls.
Sourcetree - Free?
Asked by Rhys Drummond:

Hi there- is this really a free OSX vc client? How do you make a living from this? Is there a paid version, or do you make money selling other tools?

Thanks

Rhys Drummond


Answers:
author: Colin Goudie
body: SourceTree has been bought by Atlassian, which if you click through to their main website will see that yes, they make money (lots :) ) from their main developer tools, JIRA and Confluence

Making SourceTree free is the icing on the cake

comments: author: Rhys Drummond
body: Thanks Colin. And I wouldn't have known about JIRA and Confluence unless SourceTree was free, so that worked as planned. :)
Top level push/pull vs push/pull from the sidebar.
Asked by Prakash Nadar:

The top level push/pull button does a remote check (not sure for what), runs a spinner and the sets up the dialog to pull/push the currently checked out branch.

My question is, what is sourcetree doing to check with the remote before pull/push the currently checked out branch?


Answers:
author: stevestreeting
body: For pull, it's making sure it can show you any new branches that you might not have fetched yet. For push, it's populating the drop-downs of the remote branch side so you know everything that's on the remote.

But this has been changed for 1.3.2 which will be out soon, please see <https://jira.atlassian.com/browse/SRCTREE-864>
Equivalent to 'Merge with Local' from TortoiseHg
Asked by Renato Sampaio:

Hi, I'm still new to the whole Mercurial.

My dev team uses TortoiseHg and I'd like to know what is the equivalent feature from SourceTree to the 'Merge with Local' feature from TortoiseHg.

Thanks!


Answers:
author: stevestreeting
body: Just right-click an entry in the log and select 'Merge'.
workflow using branches to separate coding projects (bugs, features in progress etc)
Asked by Sean Allen:

I'd like to use keep coding projects separate, such as bug fixes in progress, and features in progress. I tried using the Branch button to create a new branch from top of tree, but when I tried to use the new branch changes were also applied to my original master branch.

Anyone know the correct workflow using SourceTree for git?


Answers:
author: stevestreeting
body: When you create a new branch in git inside SourceTree, there's a checkbox that says 'Checkout new branch'. If you want to start working on this branch once you've created it, you should leave this option checked.

At any time you can switch branches in SourceTree by double-clicking one in the sidebar. Any commits you do from then on will be pointed to by that branch, until you checkout another branch. This is how git works generally, SourceTree just gives you an interface to it.


Tags: branch
Is there a process to handle subrepos
Asked by Alan Wong:

I know this one repo has a few subrepos that are attached and when I try to add the repos I get a lot of

File "/Applications/SourceTree.app/Contents/Resources/mercurial_local/mercurial/subrepo.py", line 472, in _get  
self._repo.root, update=False)  
TypeError: 'NoneType' object is not iterable


Answers:
author: stevestreeting
body: An incompatibility between hgsubversion, hg 2.01+ and subrepos on clone seems to have arisen which I'm taking a look at now. It definitely wasn't there before because I cloned lots of subrepos during testing of 1.3 :(

In the mean time, you can avoid this problem by going in to Preferences \> Mercurial and unchecking the box next to 'hgsubversion' in the 'Extensions' section. Then your clone should work fine.

comments: author: stevestreeting
body: FYI this problem is being tracked here: <https://jira.atlassian.com/browse/SRCTREE-883>


Tags: repository
What do the branch colors in log view mean?
Asked by Sean Wallace:

I see that branches have various colors. It seems to me that there is some pattern, but I can't figure out what it is!

Am I just going a little crazy, or is there really something going on there?


Answers:
author: stevestreeting
body: The colours themselves just match the graph colours so you can more easily match them up - other than that they don't mean anything except to be distinct from each other.

The icons on the branches do indicate more infomation - blue arrows meaning local, grey arrows meaning remote. The currently checked out local branch has a 'check mark' badge on it too.

comments: author: Sean Wallace
body: Thanks for the quick reply! I guess I just got some strange combination at first that tricked me into thinking there was a pattern.


author: JDFagan
body: I'm currently using version 1.5.7.1

When in log view, I noticed when I update to a different branch (which is a light red color) and then when I later then commit to this recently changed to branch, the colors then change to light blue. So is the pattern of light blue indication that its my currently working branch which I've recently committed to (vs. light red is other branch which I've yet to commit to)? That is only confusion I'm seeing with regards to **colors changing after switching to a branch** (which confused me a bit when I noticed this).

So..my only slight critique here would be that you don't change colors after the commit. Or simply do the change of colors at time of switch/update? Or what was the reasoning for when the colors change post switching (as I described above)?


author: stevestreeting
body: Did you have uncomitted changes? The colours are always the same sequence, but if you have uncommitted changes then whatever branch you are on will come first in the stack, because it will be the first 'blob' to be drawn (and connected with the branch going backwards).

I did try programmatically generating colours from branch names so they stayed the same regardless of the layout before, but this ended up causing too many accidental similarities. The sequence we have guarantees that they're easy to tell apart, but if the sequence of branches changes because of things like this then yes, the branch colours will change.
Latest version of Sourcetree 1.3 by App store doesn't start. Just jump twice!
Asked by Rvamerongen:

Hello,

I just updated SourceTree from 1.2.x to 1.3.0 using the App store.

Even after a system restart, my SourceTree app jumps two times and stops. It never runs.

I am using OSX 10.6.8 Server.

Please help.


Answers:
author: Rvamerongen
body: After try it again with a removed the pref file. it did work fine.Did have to move my answer, to close the question.Thanks


author: stevestreeting
body: This normally means that the authentication of the app failed, and you'd usually get a login prompt for your App Store account. I would check that you're logged in on the correct App Store account first.

If that doesn't work, please try deleting SourceTree and re-installing from the App Store.

comments: author: Rvamerongen
body: Funny, I did try this already. Have only one account. After try it again and removed the pref file. it did work fine.

Thanks
Possible to streamline Sourcetree bookmark view
Asked by neilio:

I'd really like to strip down Sourcetree's bookmark view to make it easier to scan - for example, I don't need to have the repo type icon to be so huge. Any possibility of adding some minor tweaking options?


Answers:
author: stevestreeting
body: Yeah, I plan to allow more customisation of the bookmarks view in 1.4.