[git-users] Re: git hook with version string

2012-10-28 Thread Philipp Kraus
Thanks for your answer Am Sonntag, 28. Oktober 2012 12:50:15 UTC+1 schrieb Thomas Ferris Nicolaisen: This reminds me of a similar but related question: How can we get SVN's keyword substitution in Git. The short answer is: you can't. But when you think about it, this file you want to

[git-users] git checkout-index unable to create file (permission denied) on some files

2012-10-29 Thread Philipp Kraus
Hello, I'm running a PHP script which pulls checkouts a Git repo. The script clones first the repo and on each next call it should get all new changes (git clone and than git pull). Sometime I get the message: git checkout-index unable to create file (permission denied) exspecially on the

[git-users] git clone problem with authentification

2012-12-03 Thread Philipp Kraus
Hello, I have run some bare repos with http https on Apache and get this errors: GET /git/Simulation.git/info/refs?service=git-upload-pack HTTP/1.1 200 2878 - git/1.8.0 POST /git/Simulation.git/git-upload-pack

Re: [git-users] git clone problem with authentification

2012-12-04 Thread Philipp Kraus
Am Dienstag, 4. Dezember 2012 09:18:13 UTC+1 schrieb Konstantin Khomoutov: Your ScriptAliasMatch directive seems to match the URL mentioned in the failing POST request, hence I, personally, can only suspect a problem with configuration for the authentication, which you did not include in

[git-users] git pull username password prompt

2013-01-11 Thread Philipp Kraus
Hello, I'm using HTTPS (smart-http) for push/pull data to a Git repo. On push the Git client prompts for username and password, after inserting the data will be send. On pulling I must set the origin URL to https://username:password@myserver/my.git, if I remove the username:password@ prefix

[git-users] Re: git pull username password prompt

2013-01-15 Thread Philipp Kraus
Am Sonntag, 13. Januar 2013 13:32:10 UTC+1 schrieb Thomas Ferris Nicolaisen: Could it be that Apache (or whatever webserver you use) is not correctly configured? Please post the details of your environment along with the Apache configuration. I don't think so, I have used the

[git-users] SVN Git

2013-09-14 Thread Philipp Kraus
Hello, I would like to use Git with a SVN, so I try to clone the SVN repo with git svn clone svn://myserver, it is a repo without trunk etc. Git reports the error Couldn't find a repository. The SVN repo uses an authentification (username password) and a normal svn checkout works well. How

[git-users] invert gitignore

2013-10-22 Thread Philipp Kraus
Hello, I use my .gitignore to define files which should not store in the history, but can I use an invert filter? So I would define files, which are only stored in the history. So if I write to the (not)ignore file *.cpp all other file except *.cpp are ignored? So I need the invert /

Re: [git-users] invert gitignore

2013-10-24 Thread Philipp Kraus
Thanks greate, works well Am Dienstag, 22. Oktober 2013 16:43:07 UTC+2 schrieb Dale Worley: You write something like this: * !*.cpp The first rule means that all files are to be ignored. (You might have to add .*, I forget whether an initial . is matched by *.) The second

[git-users] rebase remove ignored files

2014-01-22 Thread Philipp Kraus
Hello, I have got a large Git repo, but on beginning there wasn't a gitignore file, so during the time there are a lot of (binary) files which are stored in the repository. I have add these files to a gitignore and run git rm to remove them, but can I rebase the repo, so that these files are

Re: [git-users] rebase remove ignored files

2014-01-22 Thread Philipp Kraus
Am Mittwoch, 22. Januar 2014 11:16:31 UTC+1 schrieb Magnus Therning: On Wed, Jan 22, 2014 at 9:36 AM, Philipp Kraus philip...@flashpixx.de javascript: wrote: Hello, I have got a large Git repo, but on beginning there wasn't a gitignore file, so during the time there are a lot

Re: [git-users] gitignore change for tracked / untracked files

2014-01-30 Thread Philipp Kraus
Hello, sorry for the late answer. Am Mittwoch, 22. Januar 2014 21:27:18 UTC+1 schrieb Magnus Therning: I'm not 100% sure I understand what you wish to do, but you might want to look at `git clean`. By default it just lists the files it would delete, you have to pass it '-f' to actually

[git-users] ignore files with hard definition

2014-01-30 Thread Philipp Kraus
Hello, can I define on my server repository, that the ignored file patterns are hard defined. My problem is, that each use can modify the gitignore, but I get with this modification files into the server repo, which should not be there, so I would like to define in the server (bare) repo files

[git-users] Re: ignore files with hard definition

2014-02-03 Thread Philipp Kraus
Am Freitag, 31. Januar 2014 10:28:21 UTC+1 schrieb Thomas Ferris Nicolaisen: I think the best way is to keep a clear and well-made .gitignore file, and foster a culture that respects not changing it without good reason. Hard constraints on contributors are usually counter-productive in the

[git-users] change encoding and text replace

2014-02-05 Thread Philipp Kraus
Hello, can I use gitattributes for change the encoding of text file? I would like to encode all text file with UTF-8 and replace the \t to 4 spaces. How can I do this? Thanks Phil -- You received this message because you are subscribed to the Google Groups Git for human beings group. To

Re: [git-users] change encoding and text replace

2014-02-05 Thread Philipp Kraus
Hello, thanks for your answer. Am Mittwoch, 5. Februar 2014 15:29:14 UTC+1 schrieb Konstantin Khomoutov: Any sensible text editor these days supports it. It might require certain tweaking but writing a Git filter is way more pain in the neck. It is more a social problem and I don't

Re: [git-users] change encoding and text replace

2014-02-05 Thread Philipp Kraus
Am Mittwoch, 5. Februar 2014 21:55:30 UTC+1 schrieb Huu Da Tran: On Wednesday, February 5, 2014 9:59:30 AM UTC-5, Philipp Kraus wrote: It is more a social problem and I don't want to fix encoding errors manually. Mostly user does not configurate their editors correct and I get after

[git-users] hook file encoding for text files

2014-02-05 Thread Philipp Kraus
Hello, I try to write a pre-push hook in a bare repo. I would like to check the file encoding on all text files, so how can I get all file types that are handled as text file from git. I have defined some types in the gitattributes. Hope for some help, thanks Phil -- You received this

[git-users] Submodul with push

2014-07-27 Thread Philipp Kraus
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