[git-users] Need help for updating git...

2014-07-28 Thread Bill CX
Hi there,
I have an issue to update the git on Mac, hope someone can help me.

I am trying to use this command line to update my git to 2.0.3. git clone 
https://github.com/git/git. 

I currently have git 1.8.4, and I have no idea to remove the older version 
either. Please help me.

Thanks,

Bill

-- 
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.


Re: [git-users] Re: Submodul with push

2014-07-28 Thread Dale R. Worley
> From: Pierre-François CLEMENT 

> I don't see any other option than chaining your commands by joining them 
> with *&&* (or *;* if you want each command to be executed even if one of 
> them fails, but I doubt it).
> 
> $ git clone --recursive myproject && cd mainproject/submodule1 && touch 
> test.txt && git add test.txt && git commit && git push

For a very long sequence of commands, it might be a bit easier to do:

$ ( set -e 
git clone --recursive myproject
cd mainproject/submodule1
touch test.txt
git add test.txt
git commit
git push
  )

Dale

-- 
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.


[git-users] Re: Submodul with push

2014-07-28 Thread Pierre-François CLEMENT
On Sunday, 27 July 2014 18:00:51 UTC+2, Philipp Kraus wrote:
>
> Hello,
>
> I have got a large project and configure some Git submodules and include 
> them into the main project:
>
> mainproject
> |submodul 1
> |submodul 2
> 
>
> The submodule are based on a unique commit (hash). My question is, can I 
> clone the main
> project recursive with the submodules and push changes on the submodul 
> into the submodul repo and
> update the commit hash in the main project in one shot?
>
> In short:
>
> git clone --recursive myproject
> cd mainproject
> cd submodul1
> touch test.txt
> git add .
> git commit
> git push
>
> so the test.txt file will be commited and pushed into the submodul1
>
> Thanks a lot
>
> Phil
>

I don't see any other option than chaining your commands by joining them 
with *&&* (or *;* if you want each command to be executed even if one of 
them fails, but I doubt it).

$ git clone --recursive myproject && cd mainproject/submodule1 && touch 
test.txt && git add test.txt && git commit && git push

-- 
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.


[git-users] Re: Issues on the Git reference site need fixing

2014-07-28 Thread Pierre-François CLEMENT
On Tuesday, 22 July 2014 17:51:13 UTC+2, Mickey Kay wrote:
>
> *2. Support email doesn't work*
> I tried to email this issue to the listed support email, 
> g...@vger.kernel.org, however I got a permanent failure auto-response. Any 
> idea who needs to know about this one?
>

Sounds odd, the mail archive 
 seems to suggest it's 
working fine. Did you send your email in HTML format by any chance? I think 
that mailing list only accepts plain-text emails.

-- 
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.