简体   繁体   中英

Eclipse EGit can't commit source, can only commit bin

I'm using Eclipse EGit with a bitbucket.org repo to develop a Minecraft mod with a friend. When I right click the project and click commit, it only lets me commit files from the bin folder. If I right click the src folder in Eclipse, the commit option is grayed out.

How can I get EGit to let me commit my source files?

I ended up working around this by using Eclipse's built-in Git functionality, which was hard to discover that Eclipse even had, as the first search result for "using git with eclipse" is EGit.

maybe you didn't press 'add index' on src folder. and make sure src is not in .ignore text file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM