相关疑难解决方法(0)

比较Bitbucket与Github的优缺点

免责声明:这是一个主观问题.请遵循相关指南.

我正在考虑将源代码从传统迁移VCSDVCS.由于拥有一个像样的GUI基于Web的前端和工作流工具是必须的,两个明显的候选人是BitbucketGithub.

不幸的是,我对他们中的任何一个都没有深入的经验,所以我真的很想在潜水前得到一些第二意见.特别受欢迎的是从团队/业务角度观察日常使用和对生产力有影响的功能.

你对它们中的任何一个有什么经验?有什么特别的亮点或烦恼吗?

git dvcs github bitbucket

41
推荐指数
4
解决办法
3万
查看次数

推送到GitHub错误:无法在.netrc文件中找到主机github.com; 使用默认值

Dunno发生了什么事,没有github对此问题的回应所以我在这里问.在一个月左右的时间里第一次尝试了一个git push并得到了这个.打开导出GIT_CURL_VERBOSE = 1并进行推送并获取此信息:

localhost:send2mobile_rails phil$ git push
Password: 
* Couldn't find host github.com in the .netrc file; using defaults
* About to connect() to github.com port 443 (#0)
*   Trying 207.97.227.239... * Connected to github.com (207.97.227.239) port 443 (#0)
* SSL connection using DHE-RSA-AES256-SHA
* Server certificate:
*    subject: O=*.github.com; OU=Domain Control Validated; CN=*.github.com
*    start date: 2009-12-11 05:02:36 GMT
*    expire date: 2014-12-11 05:02:36 GMT
*    subjectAltName: github.com matched
*    issuer: C=US; ST=Arizona; L=Scottsdale; O=GoDaddy.com, Inc.; OU=http://certificates.godaddy.com/repository; CN=Go …
Run Code Online (Sandbox Code Playgroud)

git github git-push

17
推荐指数
3
解决办法
3万
查看次数

Git推送HTTP不激活远程钩子

在我的远程盒子上,我初始化了一个裸git存储库.在hooks目录中,我使用以下脚本初始化了post-receive,post-update和update hooks:

#!/bin/bash
echo $0 $@ >> /tmp/githooks.log
Run Code Online (Sandbox Code Playgroud)

在我的本地方框中,我克隆了存储库,添加了一个测试文件,提交了它并将更改推回到远程框中.

$ git clone https://remote/git/sandbox.git sandbox
$ cd sandbox
$ touch asdf
$ git add asdf
$ git commit -a
[master (root-commit) 37505de] zxcv
 0 files changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 asdf
$ git push origin master
Fetching remote heads...
  refs/
  refs/heads/
  refs/tags/
updating 'refs/heads/master'
  from 0000000000000000000000000000000000000000
  to   37505de9c22b0aee84e0071190f4f58728770675
    sending 3 objects
    done
Updating remote server info
To https://remote/git/sandbox.git
 * [new branch]      master -> master
Run Code Online (Sandbox Code Playgroud)

但是,/ tmp/githooks.log在远程计算机上为空.但是,如果我在远程计算机上克隆存储库,则会成功调用挂钩.

git hook不能用于http-push吗?

git webdav

6
推荐指数
1
解决办法
5372
查看次数

标签 统计

git ×3

github ×2

bitbucket ×1

dvcs ×1

git-push ×1

webdav ×1