What does Changes not staged for commit mean

0 votes

As far as I know, to track a file you have to use: git add [files you want to track]. But I get this message: Changes not staged for commit. IF this is the case then shouldn't git shows me those files were Untracked like that:

enter image description here

Then I created a new feature from develop branch and worked in feature/change_excel_format branch. Then git status returned: "Changes not staged for commit"

enter image description here

enter image description here

Then if I modified the file  and type git st it will return Changes not staged for commit. So I decided to make the staged a be committed or make the not stage a to be staged, and then the previously staged file a will be discarded?

enter image description here

Any help would be appreciated?

May 23, 2022 in Git & GitHub by Kichu
• 19,040 points
2,249 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

What does cherry-picking a commit with Git mean?

To answer your question, Cherry Picking in ...READ MORE

answered Feb 8, 2022 in Git & GitHub by Rahul
• 9,680 points
2,976 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
• 10,620 points
3,968 views
0 votes
1 answer

gerrit-cherry-pick:fatal: 'origin' does not appear to be a git repository

The user account making that command does ...READ MORE

answered Aug 13, 2018 in Git & GitHub by Kalgi
• 52,350 points
1,941 views
0 votes
1 answer

Change a commit author for a specific commit

You can use interactive rebase. git rebase -i ...READ MORE

answered Aug 17, 2018 in Git & GitHub by Kalgi
• 52,350 points
3,178 views
0 votes
1 answer
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
4,032 views
+2 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP