After working for some time with SVN I decided to try git with my new django project and installed the plugin for it into eclipse. I made a new pydev project and added django initial project files to the src directory. Then I "shared" the project to Git, added and commited all files. Now I have strange problems - all files except "manage.py" are "up to date" and manage.py has a strange icon that means it is "staged". What does this mean? I tried to google for it, but without success. :(
Thanks beforehand.
A staging step in git allows you to continue making changes to the working directory, and when you decide you wanna interact with version control, it allows you to record changes in small commits.
simply typing git status gives you a list of staged files, a list of modified yet unstaged files, and a list of untracked files.
Staged changes are a lot like unstaged changes, except that they've been marked to be committed the next time you run git commit . Upon your next commit, your staged changes become part of your Git history. git status will no longer list them as changes since they're part of your last commit now.
It means your file has been added to the index.
As described in The Thing About Git
The Index is also sometimes referred to as The Staging Area.
I tend to think of it as the next patch:
You build it up interactively with changes from your working copy and can later review and revise it.
When you’re happy with what you have lined up in the staging area, which basically amounts to a diff, you commit it. And because your commits are no longer bound directly to what’s in your working copy, you’re free to stage individual pieces on a file-by-file, hunk-by-hunk basis.
If you look to the latest change logs of egit (the eclipse Git plugin), you will see they are still fiddling with how "staged" files are managed, se the more recent your egit plugin is, the better ;)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With