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
0
votes
1 answer

How to escape characters in Atlassian Stash markdown

I am using git stash. How can I escape the single and double quote characters in Stash ? I have a readme.md file which has text like git commit -m "comment" but it shows up as git commit �m �comment� I have tried using the \ to escape these…
AbtPst
  • 7,778
  • 17
  • 91
  • 172
0
votes
2 answers

Set multiple remote tracking branches by default

Git offers nice option to track changes in multiple remote branhces. But is there a way to set this feature by default? What I mean is that when someone clones a repository, it's is by default already tracking two remotes. The scenario is like…
kaskelotti
  • 4,709
  • 9
  • 45
  • 72
0
votes
2 answers

git pull over SSH performance issue with Atlassian Stash (stuck for 7 seconds on git-upload-pack)

I have a small Git repository, using Atlassian Stash. The repo has bout 250 files, not much history, and the files are all small - total repo size is about 10MB. Git pull (returning just "Already up-to-date") in many cases over 8 seconds. With…
Pavel Chernikov
  • 2,186
  • 1
  • 20
  • 37
0
votes
2 answers

Add more than one jenkins url in Stash Webhook

say I have 2 jenkins (jenkins1, jenkins2) in which this repo, repoA is only in jenkins1 So under the Settings in Stash, the options Stash Webhook to Jenkins is already embedded with all the necessary information with the Jenkins URL pointing towards…
dissidia
  • 1,531
  • 3
  • 23
  • 53
0
votes
1 answer

Cannot merge branch with commits by former employee - Stash/GIT

I'm getting error remote: ERROR: 4020ffbb63204e7aeb5431f672ac74f8fc929acd has failed hook 'Enforce_Author': not found in Stash! Any help would be appreciated
Jijo John
  • 1,368
  • 2
  • 17
  • 31
0
votes
1 answer

how to check out against a remote git repository from command line

I am having trouble understanding exactly how I need to create a local feature branch to put customizations into. I have consulted some online resources which only confuse me further. I have created the remote branch via stash called…
0
votes
1 answer

Stash: is it possible to merge one pull request into several branches?

Given we have a pull request we want to merge into several branches at once. Currently we have to create a separate pull request for each of the branches. Is it possible to create one pull request to be merged into several branches?
MiamiBeach
  • 3,261
  • 6
  • 28
  • 54
0
votes
1 answer

How can I convert an Atlassian Stash repo URL to open in the browser?

Atlassian Stash uses repo URLs for cloning/pushing/pulling in the form of https://mystashserver/scm/myproject/myrepo.git How can I transform this URL into the one used by Stash's web UI in the form…
nwinkler
  • 52,665
  • 21
  • 154
  • 168
0
votes
1 answer

GitHub remote removed from repo after using set-url

I want to use an open source project from Github repository in my project which is placed on Atlassian Stash. But I know that I have to do some change on that project in order to be usable in mine. Furthermore I do want to be able to add future…
JGC
  • 12,737
  • 9
  • 35
  • 57
0
votes
3 answers

Atlassian Stash doesn't work with ssh

I'm new in Atlassian Stash, I configured a new Atlassian Stash instance. I can clone by HTTP without problems, that now I want to clone the repository by SSH for security. I have a problem when I clone it, the server asks me SSH keys when I…
IvanTorres
  • 53
  • 1
  • 4
0
votes
1 answer

stash REST API: how do you specify the 2nd commit ID in a diff?

https://developer.atlassian.com/static/rest/stash/3.10.2/stash-rest.html#idp2008384 /rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/commits/{commitId}/diff/{path:.*} Where does the 2nd commit ID go? There's supposed to be a source and…
Jason S
  • 184,598
  • 164
  • 608
  • 970
0
votes
1 answer

Jenkins stash integration with ssh

I will appreciate if anyone can point me to how to setup Jenkins for Stash repo, no need for webhooks or plugins(I think), its for testing and I'll just like to manually trigger a build. I used stash repo URL ssh://git@stash.xxxxxx:xx/xx/xx.git with…
Edpy
  • 13
  • 3
0
votes
1 answer

OpenShift with central Atlassian Stash Git repo management server

I am new to OpenShift PaaS but understand each application has it's own local Git repository. As far as I can find, the documentation doesn't discuss how to use OpenShift alongside a centralised Git repo management server - Atlassian Stash in our…
Andrew Eells
  • 735
  • 12
  • 30
0
votes
1 answer

How to add java code from eclipse to git repository

I am on a windows machine and my .java files are stored on my disk (C:\Users\myname\workspace..etc) I have a git repository set up in a cloud and I SSH to it using putty. My question is, how do I add the files in my workspace to the repository?…
Viratan
  • 503
  • 3
  • 9
  • 19
0
votes
0 answers

Authorize user by retrieving credentials from LDAP and passing into OAuth 1.0a using Atlassian Stash REST API

I have found some projects, but I am really unsure if they are what I want. Maybe you could give some tutorials or examples, how and where in Stash I can pass ldap credetials? Docs explains only GUI way to do that.... Thank you very, very…
HX_unbanned
  • 583
  • 1
  • 15
  • 51