git usage

  • git init
    Create an empty Git repository or reinitialize an existing one. Running git init in an existing repository is safe. It will not overwrite things that are already there.

  • git add
    This command updates the index using the current content found in the working tree, to prepare the content staged for the next commit.

-git commit
Stores the current contents of the index to repository, along with a log message from the user describing the changes.

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 今天带大宝去医院看眼睛担心二宝在家爷爷看不好于是一起去了。在车上的时候,大宝拍着二宝说:宝宝乖陪哥哥一起去医...
    美的相遇阅读 910评论 0 0
  • 内存管理 Python内存管理原理 内存中的两个特殊区域:栈:栈中的内存系统自动管理(内存的开辟和内存的释放) -...
    GHope阅读 2,206评论 0 14
  • 秋来风凉夜,独坐了无趣,行在青草径,慢踩花丛误,半月明皓心,疏星闪眸语,遥遥相视意,寂寂空静路。 音漫暗香浮,影动...
    浅浅是水阅读 5,654评论 40 48
  • 敬爱的老师、亲爱的同学:您们好! 首先,为这次分别三十多年后的师生首次聚会的圆满成功表示衷心的祝贺! 也再次为我未...
    斌部t蛟阅读 4,264评论 2 1
  • 曾经 想过 放弃世界 结果 那会 是一时冲动 事情 过去了 就过去了 心里的坎 却还在那里 跟自己说好了的事 还想...
    卐溺者卐阅读 903评论 0 0