Git Notes

作者: 糜糜糜糜人 | 来源:发表于2018-02-19 13:55 被阅读0次

Cancel the version control by git

git init the whole root directory by accident, when run git add, there are so many unrelated files displaying in the untracked area. To cancel the version control, run:
rm -rf .git
Just remove .git documents to undo the git version control of the root directory.

For every git project, changes will only be saved in their own git project directory, so there's no effect on other .git folders. The only impact is the parent git projects are able to add, commit only after the sub git projects are submitted.

相关文章

  • [git]git notes

    介绍 VCS(Version Control Systems) 版本控制是一种记录一个或若干文件内容变化,以便将来...

  • Git Notes

    When a requirement of new feature or bugfix is coming Cre...

  • Git Notes

    Cancel the version control by git git init the whole root...

  • Git Notes

    观书有会意处,题其衣裳,以记其事~ 1、拉取远程分支并创建本地分支 使用该方式会在本地新建分支branch_x,并...

  • git notes

    title: git notesdate: 2020-03-07 01:13:12tags: 工具 hexocat...

  • Notes for Studying Git

    First Lesson Compare differences for two large files in L...

  • 好玩的shell脚本

    我的总结记录文档: https://github.com/jinboxu/Shell_notes.git 1. 获...

  • Git's Notes And Records

    Author: Mikoy Date: 2018-02-04 1. The concepts of git: Gi...

  • git版本控制notes

    在进行文件,代码修改时,为了记录每次的更改以及之后重回更改前的版本,使用版本控制工具是一种很有效的方式。之前使用g...

  • Git学习记录:Notes for Codecademy

    Codecademy学习记录 Basic Git Workflow(Git工作流初探) git三大部分 编辑一份文...

网友评论

      本文标题:Git Notes

      本文链接:https://www.haomeiwen.com/subject/lsbitftx.html