Skip to main content



      Home
Home » Eclipse Projects » EGit / JGit » Add to version control(Basic version control operations in Eclipse)
Add to version control [message #894166] Sat, 07 July 2012 02:35 Go to next message
Eclipse UserFriend
I was wondering how to add a new file to version control. I have a project on Github checked out. I created a new file and now I want to tell Git that it should be under version control. I was looking for something like "add to version control" under the right mouse menu but I can't find it. I'm confused about the Git terminology. What are the correct steps?
Re: Add to version control [message #894182 is a reply to message #894166] Sat, 07 July 2012 08:35 Go to previous message
Eclipse UserFriend
The Git operation is "add", which in general means add a change to the index (aka "staging area"). You can get there in several ways with egit, all of which are called "Add to Index". There's an item in the "Git" menu in the menubar; there's a toolbar item in the egit toolbar (looks like a +); and there's an item in the "Team" menu on the right-click popup.

If you don't have the egit menubar and toolbar items enabled, you should definitely do that, via Window -> Customize Perspective. For common operations it's a lot more convenient than navigating through the "Team" item in the popup menu.


Previous Topic:Cloned project contains changes
Next Topic:Proper way to create new branches?
Goto Forum:
  


Current Time: Sun Jun 22 11:48:01 EDT 2025

Powered by FUDForum. Page generated in 0.03767 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top