git add --patch
git add . </pre></code>
It just stage your changes
But when you do
git add --patch </pre></code>
It shows all the changes to confirm before staging
Instead of git add use git add --patch
Written by Rashmi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rashmi14yadav
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#