質問

I have just started using git recently. I am having an issue with viewing my changed files in the git commit tool. I am using visual studio as my development environment. I have couple of projects as localhost and localhost/admin. I did some changes to the files in the both the projects. When I run the git commit tool I can see the changes from the localhost project but cannot see the changes from the localhost/admin project. Any idea why it is behaving like that?

Thanks

役に立ちましたか?

解決 2

My other project was redirecting to a different path in IIS.

他のヒント

If there are no changes displayed, means that they were not commited.

Possible reasons for that:

1) These are new files and you need to add them to commit separately

2) Files are ignored by git due to .gitignore rules

I would suggest:

1) Use gitk tool to verify what was commited previously. This tool is included in standard git package.

2) Use external tool to do commits (i am not sure how good VS git plugin, but that could help a lot). In my list of personal preferences is git-cola tool. It can let you choose what exactly will go to commit (even by lines of code)

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top