Re: [git-users] The right process of generating and merging patches?

2014-01-13 Thread Valerio Pachera
The answer is 'git am'. I thought, reading the description, it was only for retrieving patched from a mailbox. git am --help git-am - Apply a series of patches from a mailbox But it also apply patched form file and creates a commit. git log commit c0951a06f8bdd4d659dc356cfef77574d9ead2f4 Aut

Re: [git-users] git - ssl problem

2014-01-13 Thread Thomas Ferris Nicolaisen
On Monday, January 13, 2014 3:38:02 PM UTC+1, Thomas Ferris Nicolaisen wrote: > > > > On Monday, January 13, 2014 9:44:00 AM UTC+1, Chris Stone wrote: >> >> Are you able to clone a read only copy of the repo? Is you ssl cert added >> to the github repo? Have you tried using the git daemon instead

Re: [git-users] git - ssl problem

2014-01-13 Thread Thomas Ferris Nicolaisen
On Monday, January 13, 2014 9:44:00 AM UTC+1, Chris Stone wrote: > > Are you able to clone a read only copy of the repo? Is you ssl cert added > to the github repo? Have you tried using the git daemon instead of https? > > AFAIK his SSH keypair won't do him much good when cloning over https

[git-users] Submodule relative URL problems during cloning

2014-01-13 Thread Lianheng Tong
Hi All, I am currently working on a project, call it A, which contains several sub-projects B, C, D. The B, C, D are actually experimental input and outputs for simulation runs, which I need to keep track of the daily changes. Most of these calculations are done on workstation, but I do need

Re: [git-users] commit amend, how to remove files

2014-01-13 Thread Konstantin Khomoutov
On Mon, 13 Jan 2014 13:11:13 +0100 Valerio Pachera wrote: > 'git rm' without option will remove the file from the working tree. > I need the file to stay there. > The option I need to remove the file only from the index by the option > '--cached'. Yes, that's exactly what you needed. You should

Re: [git-users] commit amend, how to remove files

2014-01-13 Thread Valerio Pachera
'git rm' without option will remove the file from the working tree. I need the file to stay there. The option I need to remove the file only from the index by the option '--cached'. Here is a simple test I made cd /tmp/ /tmp$ mkdir test /tmp$ cd test /tmp/test$ git init Initialized empty Git repo

Re: [git-users] commit amend, how to remove files

2014-01-13 Thread Magnus Therning
On Mon, Jan 13, 2014 at 12:07 PM, Valerio Pachera wrote: > Hi, I created a new document by the editor kate. > I initialized the repo and run the first commit. > I noticed that the commit include the temporary file that kate creates for > its own purpose: nomefile.txt~. > I removed the comment to '

[git-users] commit amend, how to remove files

2014-01-13 Thread Valerio Pachera
Hi, I created a new document by the editor kate. I initialized the repo and run the first commit. I noticed that the commit include the temporary file that kate creates for its own purpose: nomefile.txt~. I removed the comment to '*~' in '.git/info/exclude'. The I run 'git commit --amend'. I'm able

Re: [git-users] git - ssl problem

2014-01-13 Thread Chris Stone
Are you able to clone a read only copy of the repo? Is you ssl cert added to the github repo? Have you tried using the git daemon instead of https? Sent from my iPhone > On Jan 10, 2014, at 12:34, Kevin Ston wrote: > > Hello, > > I've got a self-signed ssl-certificate, which I'm already succ