$ git add --patch $ git add -p file Tags: git Post author:Leonid V. Fedorenchik Post published:2015-05-19 Post category:Tooltips Post comments:0 Comments Read more articles Previous Postgit cherry-pick Next Postgit rebase You Might Also Like git rebase 2015-05-20 Detect current user name 2015-04-20 git push renamed branch 2015-09-28 Leave a Reply Cancel replyCommentEnter your name or username to comment Enter your email address to comment Enter your website URL (optional) Save my name, email, and website in this browser for the next time I comment. Δ