All Questions
5,068 questions
-2
votes
0
answers
57
views
Can we push a change done in one Pull Request to multiple branches in bitbucket [closed]
We are using bitbucket for our project. We have the main master branch as usual. Then we have two more branches named preprod and preprod-staging which have been created from the master branch.
We ...
-3
votes
1
answer
85
views
Preventing Foxtrot Merges with Bitbucket
I'm in a bit of a conundrum regarding "foxtrot merges" and Bitbucket. I've referenced these answers/articles for background:
https://www.atlassian.com/blog/it-teams/stop-foxtrots-now
...
0
votes
4
answers
74
views
Delete Local Development Branch Automatically after Merge on GitHub
I am trying to figure out a way that after my local development branch has been pushed up to GitHub, or BitBucket, or whichever VCS, and a pull request has been approved, when that branch is merged ...
1
vote
1
answer
61
views
Get rid of a spurious `HEAD` git tag that is freaking us off
In October 2024, a mysterious git tag named HEAD suddenly appeared in our project.
This caused plethora of errors such as Warning: ambiguous refname HEAD preventing us from even changing branch.
To be ...
-1
votes
0
answers
49
views
GitHub large file limitation and clearing git history
I'm trying to migrate a large repository with a couple of thousand branches from Bitbucket to Github. During this process I want to preserve all branches and tags.
My problem is that I have a couple ...
0
votes
2
answers
52
views
Importing Bitbucket git repo to Azure DevOps; getting LFS failure at local fetch
Having the same problem and trying to follow steps here:
Importing repository in Azure DevOps with Git LFS
At step 3 in the second answer, I get output that looks correct to me:
$ git lfs fetch source ...
4
votes
3
answers
84
views
Is it possible to prevent a specific file being changed on the remote branch without a git force push
We share a build file named build.sh, that creates a binary file in a specific path.
Since many developers change the path in this build.sh file on their local environment frequently and forget to ...
-3
votes
2
answers
89
views
Cannot push to BitBucket - fatal: refusing to merge unrelated histories
I created a new Bitbucket repo, and by default it created it with a .gitignore.
I have a large project not yet in source control.
This doc says to do the following:
git init
git add --all
git commit -...
-1
votes
1
answer
102
views
How do you explain the commit/graphs of this Sourcetree repo I just cloned?
I have a few questions with sourcetree and git in general. Does sourcetree show the commits of everybody that cloned the project? If my friend clones a remote repo and then does several commits on his ...
0
votes
0
answers
73
views
How to clone a bitbucket repo using a repository access token
I am trying to clone a bitbucket repo using a repository access token using the following command
git clone -c http.extraHeader='Authorization: Bearer MDM0MjM5NDc2MDxxxxxxxxxxxxxxxxxxxxx' https://...
0
votes
1
answer
95
views
git won't connect to bitbucket server
I'd like to authenticate git for bitbucket on WSL. I was able to successfully log in to GitHub, but not bitbucket. The bitbucket host can only be connected to via VPN, which I have on (I can see it ...
-1
votes
1
answer
63
views
Git undo committed but not pushed single file deletion [duplicate]
We use Bitbucket as our remote repository.
I clone a remote repository that does not exist locally.
git clone https://bitbucket:8443/scm/of/testgit.git
I delete a file.
del Resources\HTML\testgit_07....
1
vote
0
answers
41
views
Eclipse / Git Integration - unable to change username/password for a repo under Git Repositories -> Remote -> Origin
Referring to the attached screenshot, where does Eclipse get this username? Also, how can I change it? I'm asking it since this dialog doesn't persist my changes. I understand I'm using HTTPS in ...
0
votes
1
answer
50
views
Bitbucket issue with git pull
So here is my situation... I have code that is stored on our local BitBucket server. The repo in particular is one only I work on. My last update to this code was back in May (and everything worked ...
0
votes
2
answers
95
views
Difference between 2 branches one branch existing in Bitbucket and other branch in github
Recently, we have migrated code from Bitbucket to GitHub repository. I would like to know if there is any git command to compare the branches between Bitbucket and GitHub. This comparison is to check /...