Now I needed to delete them from git's tracking and version control. Subsequently, git status showed the new files needing committing. Forgetting I did this, I later performed a git add -A from the website's base directory. When he needed HUGE files, I made a private, unlinked directory and ftpd the files there for him to fetch via browser. The below exact situation is where I use git to maintain version control for my business's website, but the "mickey" directory was a tmp folder to share private content with a CAD developer. To remove the file from the repo and not delete it from the local file system use: Git rm file.txt removes the file from the repo but also deletes it from the local file system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |