[Cs-dev] git strikes again
Date | 2011-05-11 14:40 |
From | John ff |
Subject | [Cs-dev] git strikes again |
In the manual the files misc/examples and misc/quickref.xml should not be in the repository as they are made by program. I cannot get rid of them not get out of lots of problems like fatal: 'commit' is not possible because you have unmerged files. Please, fix them up in the work tree, and then use 'git add/rm |
Date | 2011-05-11 14:57 |
From | Conor Dempsey |
Subject | Re: [Cs-dev] git strikes again |
Attachments | None None |
I think you can call git stash on your local copy to stash your changes before a commit, so you can do other stuff.. like: On Wed, May 11, 2011 at 2:40 PM, John ff <jpff@cs.bath.ac.uk> wrote: In the manual the files misc/examples and misc/quickref.xml should not -- music moves more than the maker |
Date | 2011-05-11 15:02 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] git strikes again |
> I think you can call git stash on your local copy to stash your changes > before a commit, so you can do other stuff.. > like: > One can call stash but it does nothing! xenakis:~/Sourceforge/csound/manual 153> git stash Saved working directory and index state WIP on master: 9e45755 fighting git HEAD is now at 9e45755 fighting git xenakis:~/Sourceforge/csound/manual 154> git push jpff@csound.git.sourceforge.net's password: To ssh://jpff@csound.git.sourceforge.net/gitroot/csound/manual ! [rejected] master -> master (non-fast-forward) error: failed to push some refs to 'ssh://jpff@csound.git.sourceforge.net/gitroot/csound/manual' To prevent you from losing history, non-fast-forward updates were rejected Merge the remote changes before pushing again. See the 'Note about fast-forwards' section of 'git push --help' for details. xenakis:~/Sourceforge/csound/manual 155> ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-05-11 15:02 |
From | Conor Dempsey |
Subject | Re: [Cs-dev] git strikes again |
Attachments | None None |
My apologies... cat walked across the keyboard :-( which will remove all occurences of that directory from every tree of the git repo
I referenced this site http://dalibornasevic.com/posts/2-permanently-remove-files-and-folders-from-a-git-repository
when I was doing it on my own repo.. could take several hours if there are loads of commits so I'd pick a specific commit or tree, as the link suggests Hope that helps On Wed, May 11, 2011 at 2:57 PM, Conor Dempsey <conor.dempsey@gmail.com> wrote: I think you can call git stash on your local copy to stash your changes before a commit, so you can do other stuff.. -- music moves more than the maker |
Date | 2011-05-11 15:10 |
From | Conor Dempsey |
Subject | Re: [Cs-dev] git strikes again |
Attachments | None None |
Hmm.. I'm afraid I can't be of any more help.... when I've cd'd to the the directory containing my local branch of the git repo and typed "git stash"
it gives me "Saved working directory and index state WIP on master: b50ba39 Clean up continued
HEAD is now at b50ba39 Clean up continued" telling me that the local it has indeed stashed the changes.. (which I can apply later with the command "git stash apply" and "git commit -a"...
On Wed, May 11, 2011 at 3:02 PM, <jpff@cs.bath.ac.uk> wrote:
-- music moves more than the maker |
Date | 2011-05-11 15:43 |
From | Steven Yi |
Subject | Re: [Cs-dev] git strikes again |
Hi John, Could you try modifying the .gitignore file in the root of the manual directory to exclude those files? If there is not one already, you can consult the .gitignore in csound5. steven On Wed, May 11, 2011 at 9:40 AM, John ff |
Date | 2011-05-11 16:00 |
From | Gareth Edwards |
Subject | Re: [Cs-dev] git strikes again |
On 11 May 2011 14:40, John ff |
Date | 2011-05-11 16:47 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] git strikes again |
> Hi John, > > Could you try modifying the .gitignore file in the root of the manual > directory to exclude those files? If there is not one already, you > can consult the .gitignore in csound5. > > Yep done that already ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |
Date | 2011-05-11 17:01 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] git strikes again |
> On 11 May 2011 14:40, John ff |
Date | 2011-05-11 17:05 |
From | Felipe Sateler |
Subject | Re: [Cs-dev] git strikes again |
On Wed, May 11, 2011 at 12:01, |
Date | 2011-05-11 17:12 |
From | jpff@cs.bath.ac.uk |
Subject | Re: [Cs-dev] git strikes again |
> > The merge failed because somebody else modified examples.xml and you > tried to delete it, git does not know which commit takes precedent so > it refuses to continue the merge. > > You need to fix the conflict (git status can help with that), and then > complete the merge with git commit. > > thank you; that worked. All I need to understand is why that did not work last time I tried that ------------------------------------------------------------------------------ Achieve unprecedented app performance and reliability What every C/C++ and Fortran developer should know. Learn how Intel has extended the reach of its next-generation tools to help boost performance applications - inlcuding clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ Csound-devel mailing list Csound-devel@lists.sourceforge.net |