[git-users] Re: Strange problem on Mac OS X git 1.8.4

2013-08-29 Thread Thomas Ferris Nicolaisen


> So NO, the repository was fine, it is just not compatible with HFS+ 
> default non-case sensitive configuration. 
> There appears to be no workaround (the sparsecheckout workaround appears 
> to just not checkout the problematic directories) that I have found.
>

The workaround is to create a partition with a case-sensitive filesystem, 
and check it out there. See the 'Disk Utility' application on OS X, as 
explained here: 
http://stackoverflow.com/questions/13785511/mac-os-x-and-testing-applications-on-case-sensitive-file-systems
 

-- 
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/groups/opt_out.


[git-users] Using Temporary Email Addresses with Git

2013-08-29 Thread Rahul Gupta
Hi,

I have what I feel is a strange git question.

Is it possible to specify an alias for e-mail in git which is recorded with
my username when I make a commit and then provide a conversion between that
alias and my real email address when I push changes separately (or just
connect my username to an email separately)? I foresee that my e-mail
address will change when I change organizations and I would not like my
past affiliations to reflect on my commits and in calculating the SHAs
(just have a neutral alias all along instead).

Any Ideas??

Thanks in advance and Cheers,
Rahul

-- 
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/groups/opt_out.


[git-users] Re: Using Temporary Email Addresses with Git

2013-08-29 Thread Philip Oakley

On Thursday, 29 August 2013 13:24:55 UTC+1, Rahul Gupta wrote: 
>
> Hi, 
>
> I have what I feel is a strange git question. 
>
> Is it possible to specify an alias for e-mail in git which is recorded 
> with my username when I make a commit and then provide a conversion between 
> that alias and my real email address when I push changes separately (or 
> just connect my username to an email separately)? I foresee that my e-mail 
> address will change when I change organizations and I would not like my 
> past affiliations to reflect on my commits and in calculating the SHAs 
> (just have a neutral alias all along instead).
>
> Any Ideas??
>
 
 
Use the Mailmap functionality. This allows you to map all you previous 
emails to your tatest cannonical email.
 
You usually do need to use a proper email address each time as your are 
effectively signing a legal document in some capacity (usually 
authorship/copyright) so you do need to give a proper 'legal' pseudonym (a 
name you go by), and have the authority to sign (e.g. have agreed with your 
employer which items you can release).
 
This varies from country to country, so check your local requirements (IIUC 
In UK my employer 'owns' all my ideas even those I got in the bath, so I 
have explicitly agreed the git contributions are releasable under my name)
 
 

>  
> Thanks in advance and Cheers,
> Rahul
>
 
Philip

-- 
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/groups/opt_out.


[git-users] Re: how to apply multiple git patches in one shot

2013-08-29 Thread Philip Oakley

On Wednesday, 28 August 2013 22:24:18 UTC+1, Thomas Ferris Nicolaisen 
wrote: 
>
> On Wednesday, August 28, 2013 7:50:40 PM UTC+2, python.b...@gmail.comwrote:
>
>> I am having around 100 patches like below,is there a way to apply all of 
>> them in one shot?
>>
>> 0001-*.patch,0002-*.patch,0003-*.patch
>>
>
> Doesn't git apply do this? 
> https://www.kernel.org/pub/software/scm/git/docs/git-apply.html 
>
> $ cd repo
> $ git apply /path/to/patchfiles/*.patch
>
> Not sure what the order will be that they are applied, but just try it out.
>
 
I use 'git apply /path/to/patchfiles/00*.patch' if I have less than 99 in 
the series. This avoids feeding other random files from the same directory 
(when I was simply using *, or *.*)

-- 
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/groups/opt_out.


[git-users] git log takes lot of time

2013-08-29 Thread dexter ietf
this is my git repo size, why does git log takes such huge time and how do 
i improve the time.


real 0m35.603s
user0m08.093s
sys 0m22.900s


$ du -h .git
27K .git/hooks
437K.git/info
3.0K.git/logs/refs/heads
2.0K.git/logs/refs/remotes/origin
2.0K.git/logs/refs/remotes
5.0K.git/logs/refs
9.0K.git/logs
1.0K.git/objects/info
1.4G.git/objects/pack
1.4G.git/objects
0 .git/refs/heads
1.0K.git/refs/remotes/origin
1.0K.git/refs/remotes
0 .git/refs/tags
1.0K.git/refs
1.4G.git

-- 
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/groups/opt_out.


[git-users] Can I use GitHub ?

2013-08-29 Thread Varun Prasad Yadav Gunasekaran
Hello All,

I am entirely new to Git but I do have exposure with source control systems 
in the past.
Heres the thing :

I would like to publish my android project and I heard that Git can be 
integrated with Eclipse. Is it true ?.
Also do note that my OS of development is Ubuntu 13.04.

Can I use Git for version controlling in this setup (Ubuntu, Git and 
Eclipse) ?

Thanks for your time

-- 
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/groups/opt_out.


Re: [git-users] Can I use GitHub ?

2013-08-29 Thread William Seiti Mizuta
First of all, Git is different of Github. Git is a version control system
and Github is an online service where you can keep your git projects.

Now, answering your questions:
- Git is a cross-platform software. You can use it in Linux, Mac and
Windows. In Ubuntu, there is a package where you can install using apt-get.
- With git installed, you will be able to use it in command line. But, if
you don't want use in command line, there is some softwares that offers you
a GUI experience. Also, there is a plugin in eclipse that integrates with
Git (EGit).


William Seiti Mizuta
@williammizuta
Caelum | Ensino e Inovação
www.caelum.com.br


On Thu, Aug 29, 2013 at 10:58 PM, Varun Prasad Yadav Gunasekaran <
varunprasa...@gmail.com> wrote:

> Hello All,
>
> I am entirely new to Git but I do have exposure with source control
> systems in the past.
> Heres the thing :
>
> I would like to publish my android project and I heard that Git can be
> integrated with Eclipse. Is it true ?.
> Also do note that my OS of development is Ubuntu 13.04.
>
> Can I use Git for version controlling in this setup (Ubuntu, Git and
> Eclipse) ?
>
> Thanks for your time
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


[git-users] Re: git log takes lot of time

2013-08-29 Thread Thomas Ferris Nicolaisen
On Thursday, August 29, 2013 6:52:38 PM UTC+2, dexter ietf wrote:

> this is my git repo size, why does git log takes such huge time and how do 
> i improve the time.
>
>
> real 0m35.603s
> user0m08.093s
> sys 0m22.900s
>
>
> $ du -h .git
> 27K .git/hooks
> 437K.git/info
> 3.0K.git/logs/refs/heads
> 2.0K.git/logs/refs/remotes/origin
> 2.0K.git/logs/refs/remotes
> 5.0K.git/logs/refs
> 9.0K.git/logs
> 1.0K.git/objects/info
> 1.4G.git/objects/pack
> 1.4G.git/objects
> 0 .git/refs/heads
> 1.0K.git/refs/remotes/origin
> 1.0K.git/refs/remotes
> 0 .git/refs/tags
> 1.0K.git/refs
> 1.4G.git
>
>
Please tell us which version of Git you have and which operating system you 
are on (it looks *nix'ish, but it could be cygwin, I guess).

What kind of partition/filesystem is the repository checked out on? Is it 
encrypted? Is it a remote/mounted drive?

What command are you doing exactly and how do you time it? Usually git log 
will page the first results into your view, so it starts immediately. Are 
you measuring the time it takes to output the entire log (like git log 
--no-pager, if so, why)?

 

-- 
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/groups/opt_out.


Re: [git-users] Can I use GitHub ?

2013-08-29 Thread Kyle Gordon
Hi,

Yes, you should be able to integrate Eclipse with Github, using the Git
plugin here http://eclipse.github.com

I'm not an Eclipse user, so I can't say much more than that, although I do
know the Android Studio application also has Github integration built in to
it. I downloaded a Github project straight into the Studio just yesterday,
and never went near the command line.

It's worth noting too that Github and Git are two different things. Git is
the source control, and Github is an online service providing access to a
source control repository. A bit like how WebSVN provides access to a
Subversion repository.

Hope this helps. Enjoy!

Kyle
On 30 Aug 2013 02:58, "Varun Prasad Yadav Gunasekaran" <
varunprasa...@gmail.com> wrote:

> Hello All,
>
> I am entirely new to Git but I do have exposure with source control
> systems in the past.
> Heres the thing :
>
> I would like to publish my android project and I heard that Git can be
> integrated with Eclipse. Is it true ?.
> Also do note that my OS of development is Ubuntu 13.04.
>
> Can I use Git for version controlling in this setup (Ubuntu, Git and
> Eclipse) ?
>
> Thanks for your time
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.


Re: [git-users] error during git pull

2013-08-29 Thread Huu Da Tran
Instead of doing:
git pull remotename remotebranch

Try:
git fetch remotename remotebranch
git checkout remotename/remotebranch
git log conflictingfile

You will still need to rename the file prior to do this.

Hope this helps.

HD.

-- 
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/groups/opt_out.