bitbucket

Git lost local commited files after git checkout

隐身守侯 提交于 2021-02-09 12:13:09
问题 I was switching from a different branch so I can do a push. While doing the checkout the files were open in my editor which may have caused a permission denied error. Did git lose all my files? I dont know how to get them back. Here is what i did - The files are lost are js/Messages directory templates/Messages directory These were open in my editor when i was doing git operations C:\Users\***\Documents\myproject>git pull Password for 'https://********@bitbucket.org': Already up-to-date. C:

Git lost local commited files after git checkout

坚强是说给别人听的谎言 提交于 2021-02-09 12:12:54
问题 I was switching from a different branch so I can do a push. While doing the checkout the files were open in my editor which may have caused a permission denied error. Did git lose all my files? I dont know how to get them back. Here is what i did - The files are lost are js/Messages directory templates/Messages directory These were open in my editor when i was doing git operations C:\Users\***\Documents\myproject>git pull Password for 'https://********@bitbucket.org': Already up-to-date. C:

SSH config to access multiple repo not working

故事扮演 提交于 2021-02-09 08:44:07
问题 Here's the config file: Host bitbucket.org HostName bitbucket.org User git IdentityFile ~/.ssh/id_rsa Host bitbucket-office.org HostName bitbucket-off.org User git IdentityFile ~/.ssh/work_rsa Host bitbucket-personal.org HostName bitbucket-per.org User git IdentityFile ~/.ssh/personal_rsa I don't know what's wrong with set up. I want to connect to 2 remote repos from the same local machine. Setting up a config file was the solution I found over the internet. But somehow, I am just able to use

Find the list of inactive users in Bitbucket?

可紊 提交于 2021-02-08 08:32:14
问题 How can I find the list of those users who never logged in to their Bitbucket account? Is there any query or macro, or will I have to do it manually ? 回答1: You can do this with SQL query to database: SELECT cu.lower_user_name ,cu.display_name ,cu.lower_display_name ,cu.lower_email_address ,cu.is_active ,dateadd(second,cast(cast(cua.attribute_value AS nvarchar(255)) AS bigint)/1000,'19700101 00:00:00:000') AS LAST_LOGIN FROM [BitBucketDB].[dbo].[cwd_user] As cu LEFT JOIN [BitBucketDB].[dbo]

Find the list of inactive users in Bitbucket?

巧了我就是萌 提交于 2021-02-08 08:32:13
问题 How can I find the list of those users who never logged in to their Bitbucket account? Is there any query or macro, or will I have to do it manually ? 回答1: You can do this with SQL query to database: SELECT cu.lower_user_name ,cu.display_name ,cu.lower_display_name ,cu.lower_email_address ,cu.is_active ,dateadd(second,cast(cast(cua.attribute_value AS nvarchar(255)) AS bigint)/1000,'19700101 00:00:00:000') AS LAST_LOGIN FROM [BitBucketDB].[dbo].[cwd_user] As cu LEFT JOIN [BitBucketDB].[dbo]

DevOps之代码模块设计浅析

[亡魂溺海] 提交于 2021-02-08 05:25:25
转载本文需注明出处:微信公众号EAWorld,违者必究。 // DevOps(开发:Development和运维:Operations的组合词)是一组过程、方法与系统的统称,用于促进开发(应用程序/软件工程)、技术运营和质量保障(QA)部门之间的沟通、协作与整合。 ——by 百度百科 // 今天的主题就是有关DevOps的很重要的一部分,Development中代码模块的设计。 代码模块说复杂也不复杂说简单也不简单,复杂是说它上承接着任务模块,下关联着构建模块,功能涉及到代码的对比合并、质量分析、关联的任务项等,缺了它就凑不成完整的DevOps流程。 简单是说该模块需要关注的点无非就是质量以及效率,一个项目在我看来代码才是根本,代码的产出质量效率越高,就越是节省项目的成本,有钱赚才是硬道理。 代码模块的受众也无非两类人: 开发人员 和 上层领导 。 开发人员眼中的代码模块是branch、tag、code、merge-request、quality等等诸多功能模块的混合体。 不行了,晕了 但是到了领导的眼里,报表即可解决问题: 一类报表说了张三今天代码产出了多少的缺陷多少的漏洞。 垃圾代码冠军得主,就是你 另一类报表说了李四本周就敲了10行代码效率极其低下。 是时候该炒李四鱿鱼了 所以创造一个 友好的代码管理功能交互页面 以及 简洁明了的代码质量效率报表界面

Import component from a different repo

筅森魡賤 提交于 2021-02-07 12:31:31
问题 I created a repo in bitbucket which called "angular-lister", the structure of the repo is: Then I created another repo which have the same structure (sort of, cant put picture here and it doesnt really matter). In this second repo I installed my repo using npm i --save path/to/angular-lister.git and I saw it was added to my package json + it's located under my node_modules folder. I am trying to import a component from angular-lister (app/app.component) but I am unable to do it. This is my

ssh Permission denied (publickey) after upgrade Fedora 33

余生长醉 提交于 2021-02-06 20:16:35
问题 i have been trying many answers on this Stackoverlow questions same like i am asking now, but still can't resolve my problem, i am trying to clone by ssh but always got Permission denied (publickey) when i run GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:myusername/my-api.git debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex:

ssh Permission denied (publickey) after upgrade Fedora 33

牧云@^-^@ 提交于 2021-02-06 20:01:50
问题 i have been trying many answers on this Stackoverlow questions same like i am asking now, but still can't resolve my problem, i am trying to clone by ssh but always got Permission denied (publickey) when i run GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:myusername/my-api.git debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex:

ssh Permission denied (publickey) after upgrade Fedora 33

断了今生、忘了曾经 提交于 2021-02-06 19:59:48
问题 i have been trying many answers on this Stackoverlow questions same like i am asking now, but still can't resolve my problem, i am trying to clone by ssh but always got Permission denied (publickey) when i run GIT_SSH_COMMAND="ssh -vvv" git clone git@bitbucket.org:myusername/my-api.git debug1: kex: algorithm: curve25519-sha256@libssh.org debug1: kex: host key algorithm: ssh-rsa debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex: