Re: [git-users] Git and Smart HTTP
On Thu, 10 Apr 2014 02:15:11 -0700 (PDT) Matthew Pintor matthewpintor2...@gmail.com wrote: [...] I disabled the selinux. create git.conf in /etc/httpd/conf.d and a /var/www/gitrepo for different repositories. the content of git.conf is SetEnv GIT_PROJECT_ROOT /var/www/gitrepo Directory /var/www/gitrepo Options Indexes FollowSymlinks ExecCGI Allow From All Dav On /Directory You don't need Dav On to use Git: it doesn't know about Webdav and makes not use of it. ScriptAliasMatch \ (?x)^/git/(.*/(HEAD | \ info/refs | \ objects/(info/[^/]+ | \ [0-9a-f]{2}/[0-9a-f]{38} | \ pack/pack-[0-9a-f]{40}\.(pack|idx)) | \ git-(upload|receive)-pack))$ \ /usr/libexec/git-core/git-http-backend/$1 ScriptAlias /git /usr/libexec/git-core/git-http-backend Location /git Dav on Same as above. AuthType Basic AuthName Git Repositories AuthUserFile /etc/.htpasswd Require valid-user /Location i kept on receiving errors like: fatal: GIT_PROJECT_ROOT is set but PATH_INFO is not That's interesting. By googling I was able to dig up [1] which might be of interest to you. Try playing with this option. One more note: why are you using /git as your ScriptAlias, and not /git/? The official documentation [2] uses the latter form. I'm not sure this matters but I think it worth playing with anyway. when i assign value to PATH_INFO with $SCRIPT_URL, i keep getting: fatal: '$SCRIPT_URL=': aliased PATH_INFO env. variable is defined in the CGI spec and is supposed to be cooked up by the web server; you're not supposed to mess with it. What is suppost to be the owner of the .htpasswd and .htgroup file and even the repository folder? is it the apache user or the git user? The account under which the Apache is running must have r/w permissions on the Git repos it accesses. A typical setup for this is to make the Git repos owned by group git or devel and add the Apache's user to that group. Of course, the repos should have rwx permissions for that group, recursively. So supposedly you should create them using the --share=group command-line option passed to `git init`. 1. http://httpd.apache.org/docs/2.2/mod/core.html#acceptpathinfo 2. https://www.kernel.org/pub/software/scm/git/docs/git-http-backend.html -- 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] MEGA MAFIA MONEY LAUNDERER DAVIDE SERRA ALGEBRIS (WELL KNOWN PEDOPHILE TOO) IS INFILTRATING PD TO KILL IT! PRO NAZIDICTATOR, PRINCIPAL OF MURDERS SLAUGHTERS, MAFIOSO, THIEF, CORRUPTO
Banned, thanks. On Friday, April 18, 2014 3:28:16 PM UTC+2, Thomas Ferris Nicolaisen wrote: On Friday, April 18, 2014 1:43:15 PM UTC+2, Magnus Therning wrote: Would it not be a good idea to block this user now? /M Absolutely, I'll try pointing the list maintainer over here. Google Groups has a Ban this person feature. -- 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] How to Install Git
Hi Folks, I'm try to Git Server on my windows machine, From Google I get only how to install GIT GUI only. For testing I need to make my window machine as GIT server, can any please provide me the GIT Server S/W location and installation guide PDF or URL. Thanks in advance. -- 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] How to Install Git
On Fri, 18 Apr 2014 08:50:16 -0700 (PDT) srinath0...@gmail.com wrote: I'm try to Git Server on my windows machine, From Google I get only how to install GIT GUI only. For testing I need to make my window machine as GIT server, can any please provide me the GIT Server S/W location and installation guide PDF or URL. Judging from what you wrote, I think you should be better off trying an integrated solution. Look at Gitweb [1] or Gitblit. See also [3]. 1. http://gitweb.codeplex.com/ 2. http://www.gitblit.com/ 3. https://groups.google.com/d/msg/git-users/lAK9I6hQUrk/qBXrsA3mqnwJ -- 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: How to Install Git
On Friday, April 18, 2014 5:50:16 PM UTC+2, srina...@gmail.com wrote: I'm try to Git Server on my windows machine, From Google I get only how to install GIT GUI only. For testing I need to make my window machine as GIT server, can any please provide me the GIT Server S/W location and installation guide PDF or URL. Oh, I think there's some clearing up to do here. There are many ways to run a Git server. The simplest way is to just use normal Git out of the box, and share Git repositories via the filesystem, or shared network drives, if your company has such a thing. Here's an example setup: http://elegantcode.com/2011/06/18/git-on-windows-creating-a-network-shared-central-repository/ If you have no shared network drives, the next thing is to share Git repositories via SSH. This approach is well documented in the Pro Git book: http://git-scm.com/book/en/Git-on-the-Server (you should read chapter no matter which approach you take actually). BUT, we all know getting SSH to work in a Windows infrastructure is a bit of a hassle, and if you don't have an existing infrastructure/culture of using SSH, you should continue onwards to look at some dedicated products, some of them open-source, that provide Git repository serving, along with the possibility to connect over HTTP(S) instead of SSH. Konstantin mentions some of these products in his reply. -- 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] .gitignore isn't ignoring.
I'm reading here: http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository 1) Do we put .gitignore at our working directory? I think so according to http://stackoverflow.com/questions/5698148/where-does-gitignore-file-belong *BUT, git isn't ignoring my files.* 2) I'm using intellij 12 and I'm trying to do a rebase. However, it says I first have to either stash or commit before I can do a rebase. If I uncheck the files that I want to ignore (see image), then it won't let me commit. I've set intellij to ignore the three build files, but it too doesn't appear to be ignoring it. Here's git bash: me@uc /c/code/portal (bugfix/PORTALS-21-xss-fixes) $ pwd /c/code/portal me@uc /c/code/portal (bugfix/PORTALS-21-xss-fixes) $ cat .gitignore build.number build.properties build.xml .gitignore .idea/* me@uc /c/code/portal (bugfix/PORTALS-21-xss-fixes) $ git status On branch bugfix/PORTALS-21-xss-fixes Your branch is up-to-date with 'origin/bugfix/PORTALS-21-xss-fixes'. Changes not staged for commit: (use git add file... to update what will be committed) (use git checkout -- file... to discard changes in working directory) modified: build.number modified: build.properties modified: build.xml *[QUESTION#3: Why would git still list these when I have the above files in the .gitignore?]* Untracked files: (use git add file... to include in what will be committed) manifest.txt out/ portal.iml no changes added to commit (use git add and/or git commit -a) Thanks, Gordon -- 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. attachment: SP32-20140418-120017.png
Re: [git-users] .gitignore isn't ignoring.
On Fri, 2014-04-18 at 12:49 -0700, gordonle...@gmail.com wrote: I've set intellij to ignore the three build files, but it too doesn't appear to be ignoring it. .gitignore only impacts file which are untracked (that you've never added or committed). You can't ignore files that you've already told git are interesting to you, even if you later add them to .gitignore. Changes not staged for commit: (use git add file... to update what will be committed) (use git checkout -- file... to discard changes in working directory) modified: build.number modified: build.properties modified: build.xml This means someone already committed these files to the repository, and you've now modified them. They cannot be ignored. If they were added to the repository by mistake (usually it's wrong to add these kinds of build products to the repository, but different groups do it different ways) then you have to run git rm ... to remove them from your current version of the repository. Then if they're recreated, .gitignore will start ignoring them. -- 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] what does **/ pattern mean in git?
Hi, what does **/ pattern mean? Why couldn't the person used doc/*.txt instead of the below? quote # ignore all .txt files in the doc/ directory doc/**/*.txt A **/ pattern is available in Git since version 1.8.2. end quote source: http://git-scm.com/book/en/Git-Basics-Recording-Changes-to-the-Repository Thanks, Gordon -- 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] what does **/ pattern mean in git?
On Apr 18, 2014 7:17 PM, gordonle...@gmail.com wrote: Hi, what does **/ pattern mean? Why couldn't the person used doc/*.txt instead of the below? Doc/*.txt matches files ending in .txt in the doc directory while doc/**.txt matches files ending in .txt in doc or any subdirectory of doc. -- 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.