Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

Git add all: Difference between “git add -A” and “git add .”

Asked by Abdul Rehman Feb 23, 2021 1.4K views 1 answer
Share

About this question

For example, how could I commit only 15 lines out of 30 lines that have been changed in a file?

The command git add [--all|-A] appears to be identical to git add .. Is this correct? If not, how do they differ?

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.