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
62
votes
3 answers

Are pull requests part of Git, or a feature of tools like GitHub, Gerrit and Atlassian Stash?

Pull requests seem to be the common way to do code review with Git. However, it is not clear whether this term means the same when using the built-in git request-pull, or a different tool. Are pull requests an intrinsic function of Git, or is it a…
user3049984
  • 721
  • 1
  • 5
  • 4
54
votes
7 answers

Jira: assign an existing git branch to an issue

In JIRA connected with STASH you can create a feature branch for an issue using the button 'create branch'. (That is nice to track the commits in this issue.) If a developer started working but did not know that there is such an issue he did not…
550
  • 1,070
  • 1
  • 13
  • 28
40
votes
19 answers

Stash Git error "fatal: remote error: CAPTCHA required"

Attempting to pull from my Stash project, using the following commands: $ git remote add origin https://stash@stash.company.com/scm/~username/project.git $ git pull origin develop I'm prompted for my password, which I enter and then get the…
Nathan Fig
  • 14,970
  • 9
  • 43
  • 57
35
votes
1 answer

Git and Visual Studio project references

Alrighty then, the short version of my question would be: What is the best way to handle project references in Git when you have projects that are shared across multiple solutions and how should my Git repos be organized? The long version is: We are…
34
votes
3 answers

SourceTree and Stash: Unable to get local issuer certificate

We have Atlassian Stash installed on a Windows 2008R2 server, and for the most part everything is working nicely. We have an SSL certificate issued by our local on-premise CA and a DNS entry set up so we can go to https://stash/ and it works quite…
31
votes
1 answer

Conflict on bitbucket remote server but everything is up to date locally

I'm working on a project, so I pushed a feature branch to the remote repository(using Atlassian bitbucket) and opened a pull request. But on one file, the bitbucket diplay a "MOVED" status, in brown and shows a conflict message : conflict: modified…
NI6
  • 2,477
  • 5
  • 17
  • 28
29
votes
4 answers

How to remove branch from a remote (on Atlassian Stash/Bitbucket)

I want to delete a branch from Atlassian Stash (a sort of github clone) in order to revert my changes. Please let me know what command will do this? What I know is git branch –D prod-652 deletes the branch from local. How can I delete it from…
Praveen
  • 1,772
  • 3
  • 24
  • 42
27
votes
8 answers

Error in git: You can only push your own commits in this repository

Yesterday I started to recieve errors when trying to push my commit to repo, how to fix it? And I am not admin of this repo. remote: You can only push your own commits in this repository remote: Commit commitName was committed by
Oleg
  • 481
  • 1
  • 4
  • 7
27
votes
3 answers

How can I connect to my own Git server in SourceTree?

I have a Git server. However, when I try to add a user to SourceTree, I see that I can add only GitHub, Bitbucket and Stash accounts. How I can run it with my own server?
BuGiZ400
  • 395
  • 1
  • 4
  • 12
25
votes
3 answers

Link to specific line(s) of code in stash / bitbucket?

With github we can use URLs of the form www.github.com/username/repo/filename.c#L20-L45 Note the #L20-L45 at the end which highlights the 20th to 45th lines of code when the page loads in the browser. This convention doesn't appear to work the…
stevec
  • 41,291
  • 27
  • 223
  • 311
22
votes
2 answers

Copying files with execute permissions in Docker Image

Seems like a basic issue but couldnt find any answers so far .. When using ADD / COPY in Dockerfile and running the image on linux, the default file permission of the file copied in the image is 644. The onwner of this file seems to be as 'root'…
19
votes
3 answers

How do I setup Carthage to use my own Frameworks that are in private repository like Stash (Bitbucket)?

I was wondering if there is something like private pods in Carthage, I have a couple of frameworks and I'm currently using git submodules, I started using Carthage for a new project and is pretty nice but so far I just configured it to manage third…
Black Sheep
  • 1,665
  • 1
  • 22
  • 32
19
votes
2 answers

What is the relationship between Git and Stash?

I can access my company Stash project repositories. I cloned the project into my local Git repository through Eclipse IDE. For that, I installed required Git plugins into Eclipse. My questions are: Git is just a facilitator to communicate with…
Vinee-the-Pooh
  • 835
  • 3
  • 10
  • 27
19
votes
4 answers

What's the difference between a Pull Request and a branch?

In the context of GitHub and Atlassian Stash, there is a common feature to do a Pull Request. What's the difference between a Pull Request and a branch? a Pull Request looks like a different way to call a branch or?
SkyWalker
  • 13,729
  • 18
  • 91
  • 187
18
votes
3 answers

Resolving pull requests with merge conflicts when using branch permissions in Bitbucket Server

We've started using Bitbucket Server on our team, and want to enforce the use of pull requests to get commits from feature branches into our main integration branches. To enforce this, we turned on the branch permissions feature that prevents merges…
3bh
  • 806
  • 1
  • 6
  • 12
1
2 3
54 55