git 提交到远程仓库

来源:互联网 发布:参苓白术丸 知柏地黄丸 编辑:程序博客网 时间:2024/05/18 02:11
git clone


git add .


git commit -m "commit"


git remote add origin https://your_username@bitbucket.org/your_username/name_of_remote_repository.git  


git push origin master  


git pull 




1安装git,从程序目录打开 "Git Bash" ,或者直接用git shell,github自带的工具
2. 键入命令:ssh-keygen -t rsa -C "email@email.com"
  "email@email.com"是github账号
3. 提醒你输入key的名称,你可以不用输入,直接3个回车,就OK了;

4. 在c:/user/username/.ssh下产生两个文件:id_rsa和id_rsa.pub



http://sc.chinaz.com/info/160608325156.htm

http://mammothmedia.tv/blog/

0 0
原创粉丝点击