문제

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