{"thread":{"id":"3210","subject":"git-unadd anyone?","startedAt":"2006-02-01T15:31:53Z","lastAt":"2006-02-01T16:11:00Z","messageCount":3,"participants":["Radoslaw Szkodzinski","Uwe Zeisberger"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"15401","messageId":"43E0D469.1030404@gorzow.mm.pl","threadId":"3210","inReplyTo":null,"subject":"git-unadd anyone?","fromName":"Radoslaw Szkodzinski","fromEmail":"astralstorm@gorzow.mm.pl","sentAt":"2006-02-01T15:31:53Z","receivedAt":"2006-02-01T15:31:53Z","isPatch":false,"sender":{"key":"astralstorm@gorzow.mm.pl","avatar":null},"body":"Is there an easy way to just unmark files wrongly marked as added?\n\nI'm not thinking about something like git-reset --mixed,\nwhich would discard the index as a whole.\nI only want to unmark files I git-add(1)ed.\n\n-- \nGPG Key id:  0xD1F10BA2\nFingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2\n\nAstralStorm\n\n"},{"id":"15402","messageId":"20060201153823.GB16461@informatik.uni-freiburg.de","threadId":"3210","inReplyTo":"43E0D469.1030404@gorzow.mm.pl","subject":"Re: git-unadd anyone?","fromName":"Uwe Zeisberger","fromEmail":"zeisberg@informatik.uni-freiburg.de","sentAt":"2006-02-01T15:38:23Z","receivedAt":"2006-02-01T15:38:23Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Hello Radoslaw,\n\nRadoslaw Szkodzinski wrote:\n> Is there an easy way to just unmark files wrongly marked as added?\n> \n> I'm not thinking about something like git-reset --mixed,\n> which would discard the index as a whole.\n> I only want to unmark files I git-add(1)ed.\nHow about\n\n\tgit update-index --force-remove <filename>\n\n\nBest regards\nUwe\n\n-- \nUwe Zeisberger\n\nhttp://www.google.com/search?q=5+choose+3\n"},{"id":"15407","messageId":"43E0DD94.6080300@gorzow.mm.pl","threadId":"3210","inReplyTo":"20060201153823.GB16461@informatik.uni-freiburg.de","subject":"Re: git-unadd anyone?","fromName":"Radoslaw Szkodzinski","fromEmail":"astralstorm@gorzow.mm.pl","sentAt":"2006-02-01T16:11:00Z","receivedAt":"2006-02-01T16:11:00Z","isPatch":false,"sender":{"key":"astralstorm@gorzow.mm.pl","avatar":null},"body":"Uwe Zeisberger wrote:\n> Hello Radoslaw,\n> \n> Radoslaw Szkodzinski wrote:\n>> Is there an easy way to just unmark files wrongly marked as added?\n>>\n>> I'm not thinking about something like git-reset --mixed,\n>> which would discard the index as a whole.\n>> I only want to unmark files I git-add(1)ed.\n> How about\n> \n> \tgit update-index --force-remove <filename>\n> \n> \n> Best regards\n> Uwe\n> \n\nThank you, it's exactly what I was looking for.\n\nIf I was mad enough, I'd use git-update-index --add instead of git-add.\nI'll have to reacquaint with git low-level commands anyway.\n\nIt's weird that there's git-add, yet no git-remove.\nThe only difference is the exclude file handling (not a problem with remove)\nand doing global changes when no parameters are given.\n\nActually, I don't like the second property that much.\nI'd prefer an explicit -a for --all. But it's probably for CVS users sake, right?\n\n-- \nGPG Key id:  0xD1F10BA2\nFingerprint: 96E2 304A B9C4 949A 10A0  9105 9543 0453 D1F1 0BA2\n\nAstralStorm\n\n"}]}