git learn

guide source

https://www.liaoxuefeng.com
this is best guide i found.

step one: install git

...

step two: config

git config -- global user.name "XX"
git config -- global user.email "XXX"

step three: create repository

mkdir learngit
cd learngit
git init

add file to repository

touch test.txt
git add test.txt
git commit -m "add test.txt"

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 教程网址:http://www.liaoxuefeng.com/wiki/0013739516305929606d...
    maybenai阅读 707评论 0 1
  • Spring Cloud为开发人员提供了快速构建分布式系统中一些常见模式的工具(例如配置管理,服务发现,断路器,智...
    卡卡罗2017阅读 134,999评论 19 139
  • Git基础 一:Git是什么?Git是目前世界上最先进的分布式版本控制系统。二:SVN与Git的最主要的区别?SV...
    Roc_J阅读 358评论 0 0
  • 一次 git 入门使用分享的大纲整理,适合新手入门。 总览 为什么要用 Git? Git + SourceTree...
    zvving阅读 504评论 0 2
  • 刘世宗,男,1963年出生于四川自贡。1979年考入四川美术学院附中,1983年以优异成绩毕业,1987年深造于四...
    油画世界阅读 1,010评论 0 0