记录到bitbucket并提取更改的shell脚本

时间:2015-09-18 14:18:12

标签: git bash shell bitbucket

我正在尝试登录bitbucket并将更改从服务器拉到远程文件夹中。 问题是我的bitbucket用户名由@组成,当我尝试编写.sh脚本进行登录和拉取时,它会产生冲突。 我的代码如下:

#!/bin/bash
git pull "https://<username@email.com>:<password>@bitbucket.org/"

分支我试图从origin/master开始。

0 个答案:

没有答案