Question

Anyone use sourceTree? (hopefully on a Mac). What does the Files Staged in the index mean? I've done a commit and got my Xcode project on my bitBucket repo, and my Files in the working tree contains all my project files and that's fine, but there's nothing in the Files staged in the index, or is that normal?

Was it helpful?

Solution

It means, that part would be committed when you go for a commit. It's a good feature that git provides. Say you are working on 2 features, and by the end of the day you are complete with 1 feature code changes, and are half way for the other. You can stage the changes for the 1st feature and commit those changes, still keeping all ((both the feature changes) locally.

Read the post for better explanation: What-stage-means-in-git-source-control?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top