Committing partial changes from file in Git

git add -p file 
-p stands for patch mode, You can also use
git add --patch  file 
This gives the user a chance to review the difference before adding modified contents to the index.

Comments

Popular posts from this blog

Overview of Natural Language Processing (NLP)

Basic XML Questions and Answers