Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit » Checkout a list of files
Checkout a list of files [message #666846] Sat, 23 April 2011 04:29 Go to next message
CyMac  is currently offline CyMac
Messages: 1
Registered: April 2011
Junior Member
Hi,

I'd like to execute the following GIT command with JGIT, but after a lot of googling, I didn't find any simple way to do it. Any help would be greatly appreciated !

git checkout file1.txt file2.txt file3.txt

Thanks,
CyMac


Re: Checkout a list of files [message #667086 is a reply to message #666846] Tue, 26 April 2011 11:41 Go to previous messageGo to next message
Stefan Lay is currently offline Stefan Lay
Messages: 340
Registered: July 2009
Senior Member
"CyMac" <machetti.geo@yahoo.com> wrote in message
news:iou26g$ahq$1@news.eclipse.org...
> Hi,
>
> I'd like to execute the following GIT command with JGIT, but after a lot
> of googling, I didn't find any simple way to do it. Any help would be
> greatly appreciated !
>
> git checkout file1.txt file2.txt file3.txt

I recommend to ask that question on the JGit developer mailing list:
http://dev.eclipse.org/mhonarc/lists/jgit-dev/maillist.html

In the end it would be great if that functionality would be added to the
JGit class org.eclipse.jgit.api.CheckoutCommand.

Stefan
Re: Checkout a list of files [message #667844 is a reply to message #666846] Mon, 02 May 2011 08:35 Go to previous messageGo to next message
Matthias Sohn is currently offline Matthias Sohn
Messages: 543
Registered: July 2009
Senior Member
Coming soon, see [1]

[1] http://egit.eclipse.org/r/#change,3280
Re: Checkout a list of files [message #668076 is a reply to message #666846] Tue, 03 May 2011 11:45 Go to previous message
Stefan Lay is currently offline Stefan Lay
Messages: 340
Registered: July 2009
Senior Member
>
> I'd like to execute the following GIT command with JGIT, but after a lot
> of googling, I didn't find any simple way to do it. Any help would be
> greatly appreciated !
>
> git checkout file1.txt file2.txt file3.txt
>

I just submitted change http://egit.eclipse.org/r/#change,3280 Now with the
nightly build you can use the JGit checkout command with paths.
Previous Topic:Workflow for creating projects with remote support
Next Topic:Where are the jgit 0.11.x maven artifacts?
Goto Forum:
  


Current Time: Fri Jul 25 23:23:56 EDT 2014

Powered by FUDForum. Page generated in 0.01971 seconds