bitbucket

git archive from a specific hash from remote

岁酱吖の 提交于 2019-12-08 06:29:52
问题 I am trying to get one directory from one remote repository but I only want to get that file from a specific hash. If I use git archive with HEAD everything is OK but when I try with a specific hash: git archive -v --format tar --remote=ssh://....myrepo.git agithash afile > output.tgz But I'm getting fatal: sent error to the client: git upload-archive: archiver died with error remote: fatal: no such ref: 9a9c309 remote: git upload-archive: archiver died with error So I've read that I could

Mapped git files losts their connection

…衆ロ難τιáo~ 提交于 2019-12-08 05:38:09
问题 I got a project from remote Git repo. But after New Year I has only there local copies and no Git connection. My actions were: 1. git remote add origin 2. git remote -v shows me what I want 3. git checkout 4. git fetch AND THIS it shows me You do not have permission to access Bitbucket. Please contact your administrator to resolve this issue. But I can can navigate it with my browser. Whats the problem - tell me plz. Yesss. not git fetch shows me all remote branches. THen the situation - i'm

Git - Bitbucket repo hasnt stored the files in a sub-folder

风格不统一 提交于 2019-12-08 05:11:15
问题 I have a repo on Bitbucket. I just noticed, it has not stored a particular sub-folder I added later. Upon noticing, I tried to run the commands: git add * (didnt add the sub-folder) git add (folder path) (still no affect) My .gitignore is empty How can I add the files to the repo? On the repo, I have the directory & files showing as (i.e. the files are mere references, not clickable): 回答1: If your repo does not have a .gitmodules file, then those not-clickable references are nested git repo

Mingw+msys2 : Failed to connect to bitbucket.org : Network is unreachable

試著忘記壹切 提交于 2019-12-08 03:59:47
问题 I want to build ffmpeg under windows 8.1 by using this script and last version of Mingw+Msys2 , but it gets error for any hg clone from bitbucket.org , e.g: $ hg clone https://bitbucket.org/multicoreware/x265 abort: error:Network is unreachable After searching on the Internet I saw this page and realized it is because that bitbucket.org has IPv6 and I can not access to it . Please see results of the following commands: $ ping -n 10 bitbucket.org Pinging bitbucket.org [104.192.143.2] with 32

Jenkins sending notifications to the wrong commit id

有些话、适合烂在心里 提交于 2019-12-08 03:58:27
I have several Jenkins pipelines, all importing a shared library from Bitbucket for some utility methods, and I want to send build status notifications to each project's own Bitbucket repo. I installed the Bitbucket build status notifier plugin, but I'm experiencing a weird behavior: when bitbucketStatusNotify is being called in my pipeline, this happens: Sending build status INPROGRESS for commit <sha> to BitBucket is done! And that would be ok, but <sha> is the commit id of the last commit on the shared library, not on the actual project being built, so build status notifications are

How can I make/follow a release announcement feed on Bitbucket?

我们两清 提交于 2019-12-08 02:58:20
问题 On GitHub you can use a git tag to publish a release announcement which will then appear on a release page (example) and release feed (example). If a developer has done this, you can subscribe to the feed to receive notification of releases rather than all commits. Is it possible to do this on Bitbucket (hg and/or git)? (There is an additional option to include binaries / tarballs in GitHub release announcements. I am not concerned with that feature or any others beyond a feed with

Git push to DigitalOcean from Bitbucket or Cloud9

北城余情 提交于 2019-12-08 02:41:33
问题 I'm making site on Cloud9 IDE and I can't find the way to easy push my production code to DigitalOcean droplet server. Maybe there is some simple way I could do it as easy as it is to push code to Heroku from Cloud9 . With simple command from Cloud9 console. All my git code lives in Bitbucket so maybe you have ideas how to connect it to DigitalOcean ? Hope to hear how you do these production "pushes". You probably have well known techniques for these things. Help! 回答1: Your first, easy,

bitbucket unable to merge, this field is required

早过忘川 提交于 2019-12-08 01:39:15
问题 I'm an ordinary bitbucket user who plays with git push git pull and git merge commands and never come across this weird situation. Now I'm trying to merge my feature branch into my master branch and getting this error: 回答1: From bitbucket site follow these steps: Go to Compare Select Destination and Source branches Select Compare button Select Merge button on top right corner 回答2: This error was a result of a bug that has now been fixed. 来源: https://stackoverflow.com/questions/42533093

git ssh authorisation error when accessing bitbucket repo multiple keys

拥有回忆 提交于 2019-12-08 00:21:31
问题 I have multiple ssh keys, using one key for one project. I have successfully assigned the public ssh keys to the relevant repositories inside my bitbucket account. They are stored in the following location: ~/.ssh/rsa_generic_repos ~/.ssh/rsa_generic_repos.pub ~/.ssh/rsa_project1 ~/.ssh/rsa_project1.pub I then add these keys to my ssh-agent before attempting any git access: ssh-add ~/.ssh/rsa_generic_repos ssh-add ~/.ssh/rsa_project1 ssh-add -l - Displays: 4096 SHA256

Bitbucket clone: Port number ended with 'T'

十年热恋 提交于 2019-12-07 21:41:58
问题 I try to make a clone (mirror) of my bitbucket repo using jenkins execute shell (not the git plugin). My credentials: username passwd are saved in a variable: myuser The credentials are right. We used this plugin to save the credentials. We're doing exactly the same for some other repo's (on our local git, not bitbucket) and it's working very good. Now I try: git clone --mirror https://${myuser}@bitbucket.org/team/repo.git The error I'm facing is: fatal: unable to access 'https://****