Re: [git-users] Deletions without `git rm'
git add . git add -u Take a look at the staged diff git diff --cached Then commit and push if you have a remote. On Jun 9, 2011, at 6:23 AM, gvim wrote: > My use of Git on a personal project has lapsed for a couple of weeks. Files > have been moved around and many deleted. Haven't been using Git for that long > so wonder what is the state of my repository re deleted files and how to > clean things up. `git status' shows a lot of unstaged deletions but I can't > be sure it's complete. > > gvim > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To post to this group, send email to git-users@googlegroups.com. > To unsubscribe from this group, send email to > git-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/git-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] Deletions without `git rm'
On Thu, 09 Jun 2011 14:23:13 +0100 gvim wrote: > My use of Git on a personal project has lapsed for a couple of weeks. > Files have been moved around and many deleted. Haven't been using Git > for that long so wonder what is the state of my repository re deleted > files and how to clean things up. `git status' shows a lot of > unstaged deletions but I can't be sure it's complete. Define "complete". Also I did not see the question here. What do you want to achieve? Make manually deleted files to be deleted from the point of view of Git as well? Then do what Git tells you to do when you run `git status` (it tells you to call `git rm` for those missing files). -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Deletions without `git rm'
My use of Git on a personal project has lapsed for a couple of weeks. Files have been moved around and many deleted. Haven't been using Git for that long so wonder what is the state of my repository re deleted files and how to clean things up. `git status' shows a lot of unstaged deletions but I can't be sure it's complete. gvim -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.