小编Gro*_*ger的帖子

使用http身份验证下载私有BitBucket存储库zip文件

我正在编写一个脚本来轻松部署应用程序.应用程序的代码存储在私有BitBucket存储库中.

我希望能够下载提交的zip文件.我尝试使用以下代码进行身份验证:

https://user:pass@bitbucket.org/user/repo/get/commit.zip

但是,它不是完成任务,而是重定向到BitBucket上的登录页面.

git http bitbucket

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

在Xcode中安装的git中禁用osxkeychain凭证帮助程序

我需要为OS X禁用git凭证助手: git-credential-osxkeychain

我在OS X Mountain Lion 10.8.3中使用Xcode Command Line Utilities 4.6.2安装的git .

在此安装中,git pull或者git push要记住密码的默认行为,从而使用户不必再次输入密码.

虽然方便,但在我的情况下这是一个安全风险.我需要禁用凭证帮助程序,因此每个遥控器都需要密码pull,push或者fetch.

使用Xcode安装的git似乎不用于设置此功能.这是我的设置:git config


# git --version =>

git version 1.7.12.4 (Apple Git-37)

# git config --global --list =>

user.name=User Name
user.email=user@home
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=auto
color.ui=auto
alias.lol=log --pretty=oneline --abbrev-commit --graph --decorate
alias.co=checkout
alias.ci=commit
alias.st=status
alias.br=branch
alias.hist=log --pretty=format:'%h %ad | %s%d …
Run Code Online (Sandbox Code Playgroud)

git macos xcode keychain osx-mountain-lion

7
推荐指数
1
解决办法
2546
查看次数

标签 统计

git ×2

bitbucket ×1

http ×1

keychain ×1

macos ×1

osx-mountain-lion ×1

xcode ×1