I have recently migrated to GIT from SVN and in the learning phase. I am working on a change and for that I have created a new branch as below with eclipse option as:
Right click on project-->Team-->Switch To-->New Branch
New branch name : feature/Fix-Issues
Say for instance, I have modified two files as part of the fix as :
A.java
B.java
After doing my changes, I have committed the files with eclipse 'Commit and Push'. I can see a new entry has been added in the history. So far so good.
I am using Cygwin for using git commands. In order to verify that I have checked out to my feature branch, I have issued below command:
git branch
Which says that I am checked out to my feature branch (feature/Fix-Issues).
Now, if I ran below command:
git status
It returns as Changes not staged for commit :
modified:<package>/A.java
modified:<package>/B.java
I am not able to understand this part as I have checked in the files from Eclipse and have successful commit message in the history as well. Any lead would be really helpful.