Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[git] unstage hunks
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum
View previous topic :: View next topic  
Author Message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Fri Nov 26, 2010 11:08 am    Post subject: [git] unstage hunks Reply with quote

Hi



mit git add -i kann ich unter "Patch" nur bestimmte Hunks auswählen, die in den stage kommen sollen. Wenn ich aber später merke, dass ich einen Hunk bereits in den stage hinzugefügt habe, den ich aber nicht mehr haben will, wie kann ich nur diesen einen Hunk wieder aus dem stage entfernen?



Mit git gui macht man einfach einen Rechtsklick auf den Hunk und wählt dann "Unstage Hunk From Commit". Wie kann ich das mit git add bzw. git add -i machen?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
pablo_supertux
Advocate
Advocate


Joined: 25 Jan 2004
Posts: 2953
Location: Somewhere between reality and Middle-Earth and in Freiburg (Germany)

PostPosted: Tue Nov 30, 2010 12:51 am    Post subject: Reply with quote

*bump*

hat das noch nie jemand gemacht?
_________________
A! Elbereth Gilthoniel!
silivren penna míriel
o menel aglar elenath,
Gilthoniel, A! Elbereth!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) Diskussionsforum All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum