1
我对GIT有点新鲜。我已经提供了一个我通过SSH连接的开发实例。 DEV实例可以执行GIT pull和GIT push。如何克隆DEV服务器上的GIT实例?
The instructions given to me are:
git clone [email protected]:/SomeProject
cd SomeProject
git remote add dev [email protected]:/SomeProject
git config --global user.email "<your_email>"
git config --global user.name "Your Name"
自从我做开发我的本地机器上,我希望能够做一个GIT克隆并做GIT推和拉GIT。
问题是,当我这样做:
git clone [email protected]:/SomeProject
cd SomeProject
git remote add dev [email protected]:/SomeProject
git config --global user.email "<your_email>"
git config --global user.name "Your Name"
我的用户名和密码不起作用。
而且当我做
git clone [email protected]:/SomeProject
cd SomeProject
git remote add dev [email protected]:/SomeProject
git config --global user.email "<your_email>"
git config --global user.name "Your Name"
它仍然即使我有一个密码,我的JIRA账户不起作用。
任何提示?
用户名和密码在什么意义上不起作用?什么错误信息,你会得到,之后的命令? – gcbenison
权限被拒绝,请重试。我尝试后得到:git clone [email protected]:/ SomeProject或git clone [email protected]:/ SomeProject – jini