Git add in 2.5 EAP

With my top level project folder selected, I click the Commit Changes button in the toolbar. The window that appears shows all of my modified and deleted files, but shows 0 new files. A quick git status from the shell shows a number of untracked files and directories. Using RubyMine, how can I add those untracked files to the repository?

3 comments

Hi Ryan,

With my top level project folder selected, I click the Commit Changes button in the toolbar. The window that appears shows all of my modified and deleted files, but shows 0 new files. A quick git status from the shell shows a number of untracked files and directories. Using RubyMine, how can I add those untracked files to the repository?

Please check Unversioned files group in Changes tab:
Screenshot.png
All your untracked files should be there. You can add them to git using context menu item Add.
You can either add all the files listed or select some of them manually.
add.png

Hope this help!

Best regards,
Oleg

0

Also you can open untracked file in RubyMine editor (or select in project view), then invoke "RM | Version Control | VCS Quick List.." action and choose first action in quick list (it will be "Add")

0

Please sign in to leave a comment.