I think your question might need some clarification. 

So when you say "download the files", I'm not clear on what you mean. Do 
you want to have the files placed somewhere outside the working directory? 
If so, I believe cat-file is going to be needed. When you pass in a SHA of 
a BLOB which relates to a file at a specific stage in its life, you will 
have the plain text of this file.

You may also need to expand on "current commit". Do you mean a commit that 
is currently being crafted (you've stages some changes, but just haven't 
created the commit) or do you mean the commit you currently have checked 
out?

On Monday, April 6, 2015 at 12:55:17 PM UTC-4, Tanveer Malik wrote:
>
> Hi all,
> I am relatively new to Git and am striving to learn it as much as 
> possible. I have a question is there a way to download the files which are 
> different [instead of the changes] in the current branch then its parent 
> branch or in the current commit?
>
> If yes, would really appreciate if anyone can share its command with me 
> here. OR maybe someone can share a [BitBucket] snippet code here with me 
> which does exactly the same.
> Looking forward for a solution.
>

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to