Github 初次使用 commit命令提交失败
来源:互联网 发布:java中list用法 编辑:程序博客网 时间:2024/05/22 17:10
Git是一个分布式的版本控制系统,最初由Linus Torvalds编写,用作Linux内核代码的管理。在推出后,Git在其它项目中也取得了很大成功,尤其是在Ruby社区中。目前,包括Rubinius、Merb和Bitcoin在内的很多知名项目都使用了Git。Git同样可以被诸如Capistrano和Vlad the Deployer这样的部署工具所使用。 新手在第一次练习使用时,在使用git commit命令时会执行失败,比如我在首次使用时先使用git init命令初始化本地仓库,然后要用git commit -m "Initial commit"命令提交,但是提示失败:*** Please tell me who you are.Run git config --global user.email "you@example.com" git config --global user.name "Your Name"to set your account's default identity.Omit --global to set the identity only in this repository.fatal: unable to auto-detect email address (got 'Aoliaovier@HaoyongWin10PC.(none
)’)
命令执行失败的原因是没有在本地设置用户名和邮箱,在命令行设置一下即可: git config –global user.email “you@example.com”、
git config –global user.name “Your Nam”, 然然后重新用git commit -m “Initial commit”命令提交。
最后输入git push -u origin master ,将你本地的仓库提交到你的github账号里此时会要求你输入你的github的账号和密码。
0 0
- Github 初次使用 commit命令提交失败
- github 初次使用心得
- github初次使用
- github 初次使用
- GitHub的初次使用
- Github初次使用心得
- 初次使用Github
- github初次使用
- 记录--初次使用github。
- 初次向github提交本地项目
- 初次使用git commit报错问题
- github使用笔记(1)——初次向仓库提交代码
- Git和Github初次使用
- Git 和 Github 初次使用
- Git 和Github初次使用
- Git 和Github初次使用
- Git 和Github初次使用
- Git和Github初次使用
- python2.7学习笔记(4) ——条件判断、循环、dict、set
- 08/13 D -> codeforces Round #Pi div 2 E. President and Roads 最短路变形
- 软件列表
- hdu5386Cover 暴力枚举
- AC算法初探
- Github 初次使用 commit命令提交失败
- URAL - 1949 The Best Picture in the Galaxy
- Servlet-ServletContextListener
- onReceivedTitle() 没被调用的解决
- Android 设置状态栏 显示 或 隐藏 SystemUI flag
- 连接池简介
- Eclipse创建Maven Web工程并实现Tomcat热部署
- 美国旅游签证办理流程
- 推荐程序开发书单