As you edit files, Git sees them as modified, because you've changed them ... to unstage) new file: README Changes not staged for commit: (use "git add < file>.
Also; The mkdir dir is only necessary if you move the file to a new folder, of course.
(The git worktree repair command, however, can reestablish the connection with linked
but I didn't realize that it was too late, and git was already tracking it as a submodule.
Remember one thing: Git tracks file content only. From Moving Files section of Pro Git book v2: Unlike many other VCS systems, Git doesn't explicitly track file ...
Put any files in the Unversioned Files changelist under version control by pressing Ctrl+Alt+A or
New. Allow to merge images, LFS files and submodules in Fork merger. New. Intergration with Bitbucket server, GitHub Enterprise and GitLab Server. Fixed. File names
It performs a file move, adds the new file to the index and removes the old file from it.
you simply git checkout , edit, git add , and git commit as normal. git clone and git ... git lfs track , you'll notice a new file named .gitattributes in the directory you ...
to unstage) new file: README.md Untracked files: (use "git add