bitbucket

How to remove deleted files from git?

試著忘記壹切 提交于 2019-12-01 18:54:59
I have committed and pushed a too large file in bitbucket, and I've deleted it locally, committed and pushed again. But on the site bitbucket the size of the repository is still too large. Sounds like you created a new commit where you deleted the file. That means the file still exists in the previous commit. What you need to do is rewriting history . Assuming the two newest commits are deleting and adding that file, you can do the following: git reset --hard HEAD~2 git push --force This will remove the two newest commits and then forcefully push it to bitbucket. In case that doesn't help

使用Gitlab/Bitbucket等CI搭建自己的临时代理

最后都变了- 提交于 2019-12-01 18:43:57
这篇文章只是从技术层面探讨可行性,不接受一切反驳! 使用条件 一个有外网的主机(frp需要) gitlab或bitbucket账号 frp服务端搭建 具体可以查看 frp github主页 下载对应你操作系统版本的包(我的docker打包的客户端是0.17.0版本,想使用新版的可以自行打包) 服务端配置如下(frps.ini): 123 [common]bind_port = 7000token = 123456 解压下载的压缩包,启动服务端: ./frps -c frps.ini 注意开通7000及需要frp客户端映射端口(这里用到了6200) frp客户端 Gitlab参见 大专栏 使用Gitlab/Bitbucket等CI搭建自己的临时代理 rer">https://gitlab.com/0312birdzhang/frp_proxy 客户端配置如下(frpc.ini): 123456789 [common]server_addr = 12.13.14.15server_port = 7000token = 123456[socks_proxy_6200]type = tcpplugin = socks5remote_port = 6200 fork代码后,需要修改 server_addr 、 server_port 、 token 、 remote_port

Git push, pushes successfully but puts a massive ASCII 'X' in the output [duplicate]

好久不见. 提交于 2019-12-01 18:01:00
This question already has an answer here: Atlassian “logo” after pushing to bitbucket 1 answer I've just pushed some code up to BitBucket, it seems to have pushed successfully but the response I got was, is, strange . $ git push Counting objects: 11, done. Delta compression using up to 12 threads. Compressing objects: 100% (6/6), done. Writing objects: 100% (6/6), 924 bytes | 0 bytes/s, done. Total 6 (delta 4), reused 1 (delta 0) remote: remote: ++++ ++++ remote: +++++++ +++++++ remote: +++++++++++++++++++++++++++++ remote: +++++++++++++++++++++ remote: +++++++ remote: +++ +++ remote: ++++++ +

Git push failed. error: RPC failed; result=56, HTTP code = 0

时光总嘲笑我的痴心妄想 提交于 2019-12-01 17:23:20
I use bitbucket repository and I made a lot of changes in the project. So when i push into rep, i got an error. SourceTree : git -c diff.mnemonicprefix=false -c core.quotepath=false push -v --tags origin Develop:Develop POST git-receive-pack (23013447 bytes) fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly error: RPC failed; result=56, HTTP code = 0 Pushing to bitbucket . Everything up-to-date Completed with errors, see above. I tried: git config --global http.postBuffer2M git config http.postBuffer 524288000 but it doesn't help. The error from what I know

Is Continous Integration on TFS using Bitbucket possible?

风流意气都作罢 提交于 2019-12-01 17:00:41
I'm trying to set up a CI build on TFS Online. I'm pretty much used to it using the tfs git repository. The actual team I'm working with however uses Bitbucket. So I started by setting up a build linked to Bitbucket, which worked flawlessly. However, activating CI seemed to trigger an error from Bitbucket when I save my settings : "Bitbucket returned the error : 'Forbidden'". I found 2 possible solutions : Use the generic "git remote repository" with which I struggle a bit and it seems strange that I have to set up different connections just for CI. Use a third party app (i.e. Zapier) to

Is Continous Integration on TFS using Bitbucket possible?

前提是你 提交于 2019-12-01 16:29:59
问题 I'm trying to set up a CI build on TFS Online. I'm pretty much used to it using the tfs git repository. The actual team I'm working with however uses Bitbucket. So I started by setting up a build linked to Bitbucket, which worked flawlessly. However, activating CI seemed to trigger an error from Bitbucket when I save my settings : "Bitbucket returned the error : 'Forbidden'". I found 2 possible solutions : Use the generic "git remote repository" with which I struggle a bit and it seems

Git cannot lock ref 'HEAD': unable to resolve reference HEAD

这一生的挚爱 提交于 2019-12-01 15:04:01
I'm trying to commit the changes to my repository but I receive the error below: git -c diff.mnemonicprefix=false -c core.quotepath=false commit -q -F C:\Users\Contronym\AppData\Local\Temp\bkdweixb.mnu fatal: cannot lock ref 'HEAD': unable to resolve reference HEAD: Invalid argument Completed with errors, see above. I'm using bitbucket and SourceTree. What's the reason for this commit failing? I was able to commit just fine the last 3 commits over the past week. Then, all of a sudden, I receive this error. EDIT I ran git gc and these are the results: $ git gc error: bad ref for HEAD error: bad

Ansible bitbucket clone repo provisioning ssh error

南笙酒味 提交于 2019-12-01 14:50:49
I have previously posted this question but the answer there no longer works. In summary, When provisioning my vagrant box using Ansible, I get thrown a mysterious error when trying to clone my bitbucket private repo using ssh. The error states "Permission denied (publickey)". Yet if I vagrant ssh and then run the 'git clone' command, the private repo is successfully cloned. This indicates that the ssh forward agent is indeed working and the vagrant box can access my private key associated with the bitbucket repo. I have been struggling for two days on this issue and am loosing my mind! Please,

Why did git push origin master draw ASCII art? [duplicate]

假装没事ソ 提交于 2019-12-01 14:43:05
问题 This question already has an answer here : Atlassian “logo” after pushing to bitbucket (1 answer) Closed 4 years ago . When I ran git push origin master , I saw a very unusual ASCII picture. I have run git push hundreds of times and have never seen this before. Is there any explanation for what it means? $ git push origin master Counting objects: 5, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 1.05 KiB | 0 bytes/s, done.

Configuration issue with PHP contact form

徘徊边缘 提交于 2019-12-01 14:41:49
I have seen that there are many similar to mine questions here on StackOverflow, but I think I was not able to find the correct solution to my question yet. The problem what I am having is connected with receiving emails functionality - basically a contact us section of the website, where user can fill in html based form and press send message and this message will be delivered to my email. I do my development using XAMPP and running the Apache server and Mercury on localhost. Even though validation shows success - emails do not get through. I have tried to add method="post" to HTML section,