Questions tagged [bitbucket-server]

Bitbucket Server (formerly known as Atlassian Stash) is a tool for "Git Repository Management for Enterprise Teams"

Bitbucket Server (formerly known as Atlassian Stash) is a tool for "Git Repository Management for Enterprise Teams". It provides many features comparable to GitHub and Bitbucket.

Including:

  • Creating git repos
  • Managing access by individuals and groups
  • Linking JIRA issues to commits
  • Creating and managing pull requests
819 questions
4
votes
3 answers

git: How can I find out whether there is a pull request for a branch?

I'm on a git branch. Is there a way to see, whether there is a pull-request for this branch? In this particular case, Atlassian-Stash is used to manage pull requests. Of course I can use the web interface of Stash to search for the pull request; but…
user1934428
  • 19,864
  • 7
  • 42
  • 87
4
votes
3 answers

Atlassian Stash - Permission Denied (publickey)

I'm actually in the process of setting Atlassian Stash for my Workplace. I've ran into this issue which I'm not able to fix. Note, this is running on a Windows 7 64bits installation. When setting the SSH Keys, I followed the Stash Guide on how to…
4
votes
1 answer

Atlassian Stash says that the second pull request merged remotely

There were 2 different pull requests: A and B. When the A pull request has been merged into master in Stash, Stash shows that pull request B has been merged remotely (but it didn't!). Somehow it worked automatically. There are no hooks. I tried…
Ivan Voroshilin
  • 5,233
  • 3
  • 32
  • 61
4
votes
1 answer

How can I download a Stash repository as a .zip?

I am sort of new to sharing with GitHub and sites like Stash, and I have noticed that there really is no easy way to download a Stash repository without using Git Shell and using some kind of command. With a little research, I found that I likely…
Freelix2000
  • 67
  • 1
  • 4
4
votes
2 answers

Promote all builds to master on Jenkins

I'm using Jenkins for CI on my project. Right now, I have a "Dev" build, which is triggered by Stash (git server) any time a commit is made to any branch. I'm trying to incorporate my release workflow as well. Here's the plan: Dev job uses the…
Ben
  • 842
  • 1
  • 10
  • 21
4
votes
2 answers

How re-push a fixed commit on Git?

I fixed some code and pushed it with an incorrect commit message. When I tried to fix the commit message, by accident I reverted the commit. The situation is now: latest commit = correct commit message, but changes of previous commit…
Krumelur
  • 32,180
  • 27
  • 124
  • 263
4
votes
1 answer

Checkout a Pull Request in Stash

I am trying to check out a pull request to my local development box so that I can run some tests on it. I found some reference to doing this here, but I can't get it to work correctly. git fetch refs/pull-requests/$PR_NO/from:$LOCAL_BRANCH I am…
Rylander
  • 19,449
  • 25
  • 93
  • 144
4
votes
2 answers

See treeview for branches in Atlassian Stash

Is it possible to have a treeview for branches and commits like bitbucket or github has but in Atlassian Stash? I would like a view like…
danielmaxx
  • 353
  • 4
  • 12
4
votes
1 answer

Recreate git repository from .git folder from stash

Thanks in advance for any help. I had an instance of Atlassian Stash, with a repository on it. The instance died, and the only thing I have left, is a couple of numbered folders that seem to be the ".git" folders of a repo (i.e. with the hooks,…
4
votes
1 answer

In a bash script, git does not recognize it own directory?

So I have written a bash script within Atlassian-Stash for post-receive events. In this script, after a commit has been made, it creates a codecollaborator code review. To create a code review, it needs commit title, commit user and git SHA for any…
Murtaza Pitalwala
  • 839
  • 1
  • 8
  • 14
4
votes
3 answers

Linking multiple .MD files in Stash, how to?

Given the Readme.MD file, i'd like to break it down by sections into multiple .MD files. To mu knowledge Attlassian Stash does not support the split. Is there a plugin you've tried and liked?
James Raitsev
  • 92,517
  • 154
  • 335
  • 470
4
votes
0 answers

How do I setup Git version control on Jenkins (on Windows)

I've been going round in circles for the past day attempting to get this working. I have found numerous instructions on how I might set this up but haven't progressed that far... I have no previous experience with Git and I think many of these…
Ed .
  • 6,373
  • 8
  • 62
  • 82
4
votes
2 answers

cloning git-repository from stash via ssh

I've got a git-repository running on a stash-server. Cloning the repository via http works fine git clone http://user@server:7990/a/b/sandbox.git For some weird reason, when I switch http with ssh and with it the port, it gives me git clone…
Vince
  • 1,517
  • 2
  • 18
  • 43
4
votes
1 answer

How do I present a configuration screen for an Atlassian plugin?

I'm building a plugin to send http requests to a server whenever I open or edit a pull request in atlassian stash. I've gotten the plugin to work with hardcoded values (like the url, various url parameters, etc.) but now I need to present a…
whiterook6
  • 3,270
  • 3
  • 34
  • 77
4
votes
2 answers

Migrating Git hosts

I'm currently evaluating options for Git repository hosting services for my team. I'm partial to using GitHub, but there may be reasons that we would instead (or in addition) want to use Atlassian's Stash. With Git is it possible to copy a…
Joe Castro
  • 2,181
  • 18
  • 24