bitbucket

Mercurial Version Control show error in push

筅森魡賤 提交于 2019-12-03 02:38:49
问题 I am using Mercurial version control for my project. Everything like push , pull , update is doing okay but one thing is going wrong: when I am using push it is showing something like this warning: bitbucket.org certificate with fingerprint 24:9c:45:8b:9c:aa:ba:55:4e:01:6d:58:ff:e4:28:7d:2a:14:ae:3b not verified (check hostfingerprints or web.cacerts config setting) Can someone tell me where is the wrong part. Any help and suggestions are highly appreciable. 回答1: Putting this in my .hgrc did

TortoiseHG/Mercurial Project Statistics and Reports

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 02:23:24
I've been working for a couple months on cleaning up the backend of a system I'm working on. The previous code was awful so I've been refactoring and rewriting to get the code to a state where I can better add and improve functionality. I want to be able to quantify the work I've done for the client so he can get a sense of how much work has been done. So, I want to run some reports showing things like: number of lines removed, added, changed. I've used TortoiseHG/Mercurial all along and also have pushed the code up to bigbucket. What's the best way to generate these types of statistics from

ssh config for multiple bitbucket accounts - Simple example, but getting 'remote end hung up unexpectedly'

别来无恙 提交于 2019-12-03 02:15:34
Suppose my bitbucket user name is "jon" and I have some personal projects at https://bitbucket.org/jon . Suppose I then join a development team that has a bitbucket account called "devteam" which can be found at https://bitbucket.org/devteam Then suppose I am setting up a new machine. I generate an ssh key pair, id_rsa and id_rsa.pub which are in ~/.ssh . Then my dev team leader adds my id_rsa.pub public key to the devteam account on bitbucket. Now I can clone the projects from the devteam account and get to work. Next I want to interact with my own jon account. However, I cannot add the id

Delete last commit in bitbucket

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I made a mistake and I don't know how to delete my latest push in the repository. I pull the latest updates of the app but it has conflicts and I push it to repository. How to delete my last commit? Or how to fix it? 回答1: In the first place, if you are working with other people on the same code repository, you should not delete a commit since when you force the update on the repository it will leave the local repositories of your coworkers in an illegal state (e.g. if they made commits after the one you deleted, those commits will be invalid

Visual Studio 2013 and BitBucket

匿名 (未验证) 提交于 2019-12-03 02:03:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Visual Studio 2013 apparently has some nice slick Git integration. However, after an hour of head-scratching with absolutely nothing making even the slightest bit of sense, I've only been able to create a local repository and despite cloning a remote bitbucket repository I simply cannot find a way to publish to my remote repository. I've used TFS, Subversion, Perforce and just about everything else, but this is completely baffling, with no instructions and a completely un-intuitive user interface. Any ideas anyone ? 回答1: John's statement

What I can do to resolve “1 commit behind master”?

断了今生、忘了曾经 提交于 2019-12-03 02:02:16
问题 After pushing I've been seeing this message at remote repository: 1 commit behind master. This merge has conflicts that must be resolved before it can be committed. To manually merge these changes into TA20footerLast run the following commands: > git checkout 7c891f50c557 # Note : This will create a detached head! > git merge remotes/origin/master 回答1: I know this is a late answer but it could help others. Before you begin, if you are uncomfortable with a command line, you can do all the

Easiest way to rename git project configured on BitBucket

馋奶兔 提交于 2019-12-03 01:58:38
I have a project hosted on BitBucket Can I rename it ? If not and I need to create a new repository can someone tell me the easiest way to do that and have new repo on BitBucket (one particular cause of confusion for me is whether to drive the process locally or from the bitbucket website) Update Thankyou Rafal I've followed your instructions and it works great but Im just going to make it a little clearer for noobies like myself (on linux) In Bitbucket project settings rename project vi projectname/.git/config and edit url value to reflect new bitbucket repository url mv projectname

Remote branch not showing up in “git branch -r”

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have been pushing to a remote bitbucket repo and recently a colleague has pushed a new branch he created to the same repo. I'm trying to fetch the changes he uploaded. $ git branch -a * master localbranch1 localbranch2 remotes/origin/master $ git branch -r origin/master In the web ui for bitbucket I can see the branch he has made. Any help/advice/direction would be most appreciated. Thanks. Any futher info you need just ask. EDIT 1 $ git fetch bitbucket Password for 'https://xxxxx@bitbucket.org': From https://bitbucket.org/user/repo *

Create new repo on Bitbucket from Git Bash terminal?

匿名 (未验证) 提交于 2019-12-03 01:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Is it possible to create a new repository in Bitbucket by using command line Git? I have tried the following: git clone --bare https://username@bitbucket.org/username/new_project.git I get this message: Cloning into bare repository 'new_project.git'... fatal: https://username@bitbucket.org/username/new_project.git/info/refs not found: did you run git update-server-info on the server? It would be nice to do this without going to the web app. 回答1: You can use the Bitbucket REST API and cURL. For example: curl --user login:pass https://api

BitBucket Jenkins doesn't automatically build

匿名 (未验证) 提交于 2019-12-03 01:49:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: On my Jenkins I configured: Source Code Management Git repository: https://bitbucket.org/username/project.git credentials: username/password Builder Triggers Build when a change is pushed to BitBucket On my BitBucket Webhooks: http://Jenkins.URL:8080/bitbucket-hook I tried pushing a small change to a .txt file, but the Jenken doesn't build automatically. If I manually click "build now", it shows success. What could be the problem? In the bitbucket repository, the project is simple. I just have a text file to test. I think as long as I made