开发者

EGit automatically add new files

When executing a commit of a set of files within the EGi开发者_StackOverflowt eclipse plugin, I always have to add new files manually in the commit dialog

EGit automatically add new files

Is there a way to configure the plugin in a way, that adding new files automatically is the default setting?


Such an option exists now, it can be enabled in the preferences in TeamGitCommit Dialog by checking Include selected untracked files:

EGit automatically add new files

Note that only untracked files that are contained in the selected files/folders/projects are included – so it depends on where you opened the context menu from.


Right now, there doesn't seem to be any option to have all new files added automatically.
(and this wouldn't be possible as well with Git)

Even on the commit stage, Git proposes only git commit -a -m "..." in order to automatically stage files that have been modified and deleted, but new files you have not told git about are not affected.

In other word, this would be a new feature in EGit which wouldn't have any direct correspondence in Git.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜