why we need to add at staging area before commit??

0 votes

Hi,

I'm new in Git & GitHub. From tutorials I came to know before commit, I have to add in staging area. 

Can somebody tell why we need to add into staging area before commit?

Thank You

Jan 31 in Git & GitHub by akhtar
• 1,440 points
37 views

No answer to this question. Be the first to respond.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.

Related Questions In Git & GitHub

0 votes
2 answers

undo git add before commit

git status git will tell you what is ...READ MORE

answered Aug 20, 2018 in Git & GitHub by Nilesh
• 6,960 points
993 views
0 votes
1 answer

How to solve the ‘Git commit -a error’?

This happens when no editor is set. ...READ MORE

answered Jul 5, 2018 in Git & GitHub by Tyrion anex
• 8,340 points
100 views
0 votes
1 answer

How to forcefully commit a file to Git even if the file is ruled as unchanged?

This is simple, just follow the below ...READ MORE

answered Jul 11, 2018 in Git & GitHub by Sophie may
• 9,940 points
84 views
0 votes
1 answer

Why is Git commit not functioning with Git Bash?

This occurs because you might have git ...READ MORE

answered Aug 7, 2018 in Git & GitHub by Sophie may
• 9,940 points
80 views
0 votes
2 answers

Add images to README.md on GitHub

This is the easiest way to go ...READ MORE

answered Aug 21, 2018 in Git & GitHub by Nilesh
• 6,960 points
2,399 views
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,400 points
352 views
0 votes
1 answer