Re: [git-users] Git changes the permissions on a file after push

2013-10-02 Thread Konstantin Khomoutov
On Wed, 2 Oct 2013 02:41:40 -0700 (PDT) Maximus Fedorov stm32...@gmail.com wrote: Set up gitosis, and it turns out that all users are working on behalf of one member gituser. And every time the updated files in the repository that triggered the post-retseive: #! / bin / bash read oldrev

Re: [git-users] Git changes the permissions on a file after push

2013-10-02 Thread Konstantin Khomoutov
On Wed, 2 Oct 2013 14:30:14 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: [...] cd /var/www/siteA export GIT_INDEX_FILE=`mktemp siteA.` trap rm -f '$GIT_INDEX_FILE' INT TERM QUIT EXIT git read-tree HEAD git checkout-index -a -f [...] git read-tree HEAD here

Re: [git-users] git clone with password question very important

2013-10-01 Thread Konstantin Khomoutov
On Mon, 30 Sep 2013 22:26:11 -0700 (PDT) Jhovarie Guiang barik7...@gmail.com wrote: Im trying to execute git clone syntax and my syntax is git clone jhovarie@54.214.171.112:/home/jhovarie/trunk_test.git and my question is how to include my password to this syntax? example like this git

Re: [git-users] gitignore ignored?

2013-09-27 Thread Konstantin Khomoutov
On Fri, 27 Sep 2013 00:53:21 -0700 (PDT) Mauro Sanna mrsan...@gmail.com wrote: [...] When I push my commits I see target and its subdirs in the repository. But target is gitignored, why is it pushed? There are several misunderstandings here: 1) Mechanisms for ignoring files in Git have

Re: [git-users] Moving from svn

2013-09-27 Thread Konstantin Khomoutov
On Fri, 27 Sep 2013 00:29:47 -0700 (PDT) Fabien Bourigault dra...@gmail.com wrote: I'm moving my projects from svn. With svn I use ssh and a svnserve wrapper like this one : #!/bin/sh umask 002 exec /usr/bin/svnserve $@ -r /very/long/path/to/projets So I can use URI like this one :

Re: [git-users] restrict history/messages on push?

2013-09-27 Thread Konstantin Khomoutov
On Wed, 25 Sep 2013 22:19:35 -0400 Tom Roche tom_ro...@pobox.com wrote: [...] 23rw4kf 23 Sep 2013 09:39 Foo? 98bjttr 24 Sep 2013 12:34 Rollback! Bar. 07657ab 25 Sep 2013 10:11 Arrggg! Baz. 1495fcc 25 Sep 2013 23:45 Self-serving explanation. Fred wants to push 1495fcc to the

Re: [git-users] Static build of git

2013-09-27 Thread Konstantin Khomoutov
On Fri, 27 Sep 2013 11:21:27 -0700 (PDT) Jared Szechy jared.sze...@gmail.com wrote: I'm having trouble building git statically. [...] Sorry for not answering the question directly (have no time for this at the moment) but attempting to build Git statically may have little sense indeed -- please

Re: [git-users] Git / vcs newbie question: Sharing changes between branches

2013-09-25 Thread Konstantin Khomoutov
On Wed, 25 Sep 2013 02:36:39 -0700 (PDT) Michael Weise michael.we...@ek-team.de wrote: [...] One problem I'm facing is that we have different customers who get different versions of our program (programming language is C). Currently these versions are implemented with lots of #ifdefs that

Re: [git-users] git pull: Observation for local / NFS bare repository

2013-09-23 Thread Konstantin Khomoutov
On Mon, 23 Sep 2013 10:10:24 -0500 John McKown john.archie.mck...@gmail.com wrote: I use git to help me synchronize my files between my work machine and home machine (both Linux based). The bare repository is accessed from my work machine via SSH. On my home machine, it is on an NFS server.

Re: [git-users] extracting subdirectory from git repo

2013-09-22 Thread Konstantin Khomoutov
On Fri, 20 Sep 2013 09:54:57 -0700 (PDT) Gabriel Marchesan Almeida gabrielmarche...@gmail.com wrote: Konstantin, me again. I have realized that when running your commands directly on prompt command, they work pretty fine and I have an output on /tmp/valid, which is exactly the TAG i want to

Re: [git-users] git and sudo

2013-09-20 Thread Konstantin Khomoutov
On Thursday, September 19, 2013 11:20:30 PM UTC+4, John McKown wrote: Are you using Linux as a system and ssh as the transport? If so , then perhaps you can try putting the command: export GIT_SSH=ssh -i ${HOME}/.ssh/id_rsa before you do your sudo command. The -i ${HOME}/.ssh/id_rsa

Re: [git-users] Git svn clone - error 128

2013-09-17 Thread Konstantin Khomoutov
On Tue, 17 Sep 2013 08:54:07 -0700 (PDT) Paul McGregory mcgregory5...@gmail.com wrote: I am trying to clone a old svn repository with the following line git svn clone --stdlayout --ignore-path=[^/](?:branches|tags) -A authors.txt svn://host/var/svn/myrepository It´s running well until a

Re: [git-users] Re: How tell git-bush which new private key to use

2013-09-16 Thread Konstantin Khomoutov
On Mon, 16 Sep 2013 07:20:47 -0700 (PDT) berd bersc...@googlemail.com wrote: [...] I make this, convertet the key to OpenSSH key and move to %HOME%\.ssh folder and choos the name vorm mykey_130903 to id_rsa And I call GIT bash in folder who is my reopsitory and enter: git pull From

Re: [git-users] Are there overlay icons in Git?

2013-09-15 Thread Konstantin Khomoutov
On Sat, 14 Sep 2013 14:03:38 -0700 (PDT) Anton Barycheuski anton.barycheu...@gmail.com wrote: I use Git 1.8.3 (git-scm.com) on Windows 7. Are there any variants for showing git overlay icons in Windows Explorer like TortoiseSvn? No it's impossible and supposedly will never be: TortoiseFoos use

Re: [git-users] Are there overlay icons in Git?

2013-09-15 Thread Konstantin Khomoutov
On Sat, 14 Sep 2013 14:03:38 -0700 (PDT) Anton Barycheuski anton.barycheu...@gmail.com wrote: I use Git 1.8.3 (git-scm.com) on Windows 7. Are there any variants for showing git overlay icons in Windows Explorer like TortoiseSvn? ...a quick followup regarding Git Extensions: it offers several

[git-users] Re: Problems migrating from Perforce to Git

2013-09-13 Thread Konstantin Khomoutov
On Wednesday, September 11, 2013 5:05:07 PM UTC+4, EricP wrote: In order to start our trial with the Git tools and workflow, we need to migrate the Perforce repository, or at least a few branches, to a Git repo. So I've started trying the git-p4 tool (running msysGit 1.7.11 on Windows 7

Re: [git-users] How tell git-bush which new private key to use

2013-09-12 Thread Konstantin Khomoutov
On Thu, 12 Sep 2013 05:47:07 -0700 (PDT) berd bersc...@googlemail.com wrote: Do you have to keep the test key or you just want to *replace* it with the production key? I want replace the test key to production key. Okay. Next time please write your intent clearly -- that would have saved

Re: [git-users] How tell git-bush which new private key to use

2013-09-11 Thread Konstantin Khomoutov
On Wed, 11 Sep 2013 05:03:27 -0700 (PDT) berd bersc...@googlemail.com wrote: [...] Now to testing we created new ssh key, but to working, we use other ssh key. For me is the question, how can I tell git-bash to take the new ssh key? [...] Do you have to keep the test key or you just want

Re: [git-users] git rm ./

2013-09-11 Thread Konstantin Khomoutov
On Wed, 11 Sep 2013 11:43:24 -0700 (PDT) superjag superja...@gmail.com wrote: Silly me, I thought this would remove the project directory from the staging area, but no, it has to delete the entire project. I was still staging my first commit when my project got deleted, so I can't roll

Re: [git-users] Re: Need sine help on Git hooks

2013-09-05 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 11:39:21 -0700 (PDT) Ling oylf1...@gmail.com wrote: Thanks Konstantin, Yes I tried git log $newname $(git merge-base $oldname $newname) and it works fine. That is not quite correct a call -- the proper one is git log $newname ^$basename or, expanded, git log $newname

Re: [git-users] Using Git as a user documentation source file repository

2013-09-05 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 21:17:39 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: My organization is thinking about Git as a repository for FM+SMGL source (binary) files. We have very minimal requirements: * ability to check in / check out multiple files at the same time

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 16:59:14 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: [...] For each ref to be updated: 1) Call `git merge-base $oldname $newname` -- this will give you the name of a commit which is common between the old and the new state of the ref

Re: [git-users] Default remote?

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 07:43:40 -0700 (PDT) Juha Aaltonen turbosc...@gmail.com wrote: Is there a way to put a default remote repo for remote repo operations such that it's used if the remote repo is omitted from the command line? It's irritating to have to write the long remote repo path part of

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 07:15:43 -0700 (PDT) Ling oylf1...@gmail.com wrote: I think what we want to have a hook that on the server repository to prevent the local pushes, so I think if we using git log on the server repo, this won't protect us Why? Using a pre-receive hook to check what has been

Re: [git-users] Re: Need sine help on Git hooks

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 06:50:47 -0700 (PDT) Ling oylf1...@gmail.com wrote: Thanks Konstantin and quesiton? you mean git log $newname ^$basename, and is the $newname $basename are: newname is the after pushed refs/heads/Lingfei_test2? and basename is before pushed: refs/heads/Lingfei_test2? No,

Re: [git-users] Using Git as a user documentation source file repository

2013-09-04 Thread Konstantin Khomoutov
On Wed, 4 Sep 2013 09:55:05 -0700 (PDT) Chris Bridgen christopherpbrid...@gmail.com wrote: My organization is thinking about Git as a repository for FM+SMGL source (binary) files. We have very minimal requirements: * ability to check in / check out multiple files at the same time Yes. *

Re: [git-users] starting out with git -- a problem with branching....

2013-09-03 Thread Konstantin Khomoutov
On Tue, 3 Sep 2013 10:20:06 -0500 John McKown john.archie.mck...@gmail.com wrote: If you don't want to do a commit, then do a stash. It puts the current working directory off to the side. Like a temporary branch. This comparison is quite to the point -- the `git stash` command even allows to

Re: [git-users] starting out with git -- a problem with branching....

2013-09-03 Thread Konstantin Khomoutov
On Tue, 3 Sep 2013 08:05:23 -0700 (PDT) maya melnick maya778...@yahoo.com wrote: [...] but I imagine in other situations, to have to commit every time before switching branches is weird... what if you haven't finished work on a branch and need to switch branches to take care of another

Re: [git-users] Multiple clones of the same remote repo

2013-09-02 Thread Konstantin Khomoutov
On Mon, 2 Sep 2013 06:36:08 -0700 (PDT) Juha Aaltonen turbosc...@gmail.com wrote: Does git get confused if I have multiple clones of the same remote repo? No. The essense of a DVCS system (Git is a DVCS) is that all repositories are independent and self-contained. Despite this, in many cases

Re: [git-users] Regarding cloning and best practices

2013-08-28 Thread Konstantin Khomoutov
On Wed, 28 Aug 2013 07:55:11 -0700 (PDT) Jaace jb5...@gmail.com wrote: [...] I made a repo as a starting point for all my projects -- the idea here is to clone this repo to use as a base for any new project I start. I want to be able to clone it and then never check it back into the repo I

Re: [git-users] Two way mirroring because over network zones

2013-08-28 Thread Konstantin Khomoutov
On Wed, 28 Aug 2013 08:46:25 -0700 (PDT) Anders Sveen anders.r.sv...@gmail.com wrote: We have an set up with two network zones. One is the secure zone (no internet access) and the other is the dev zone. Strangely development will happen in both zones, not just the dev zone. :) I use Gitolite

Re: [git-users] git fatal: The remote end hung up unexpectedly

2013-08-27 Thread Konstantin Khomoutov
On Tue, 27 Aug 2013 01:16:49 -0700 (PDT) Володимир Кулик cdrwvova1...@gmail.com wrote: parf@parf:~/work$ git push work FATAL: W any frontend.epass/parfymer parfymer DENIED by fallthru (or you mis-spelled the reponame) fatal: The remote end hung up unexpectedly I suspect you're confusing

Re: [git-users] git fatal: The remote end hung up unexpectedly

2013-08-27 Thread Konstantin Khomoutov
On Tue, 27 Aug 2013 14:26:09 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: [...] Another thing you have to understand, that these named remote repositories (which are managed by the `git remote` command) is just a matter of convenience which 1) saves you from typing full

Re: [git-users] Keeping local config files

2013-08-20 Thread Konstantin Khomoutov
On Tue, 20 Aug 2013 07:43:09 -0700 (PDT) Smiley lyley...@gmail.com wrote: I have a repository on a server which is running along nicely. It houses a php project for reference. When I set up a local version I need to be able to keep certain files separate. My first thought is that I have a

Re: [git-users] How do I remove a file from all branches in a git repository but leave it on the file system

2013-08-19 Thread Konstantin Khomoutov
On Mon, 19 Aug 2013 10:04:33 -0700 (PDT) joeriel...@gmail.com wrote: At some point I added a large file into a git repository. It now exists on multiple branches, possibly with some changes to it. I'd like to remove it from git, but leave its current form (say the one on the master

Re: [git-users] Git Delete File Mode

2013-08-06 Thread Konstantin Khomoutov
On Mon, 5 Aug 2013 22:49:17 -0700 (PDT) Balaji balajis.sh...@gmail.com wrote: Pleasure contacting you. Recently, all the git commit deletes the the staged changes. I even install new server and desktop versions to test but all in vain. Please help us as soon as possible. git commit receives

Re: [git-users] Re: post-receive not able to execute git checkout

2013-07-29 Thread Konstantin Khomoutov
On Mon, 29 Jul 2013 03:50:56 -0700 (PDT) Andreas Dvorak andreas.dvo...@googlemail.com wrote: Hi Krishna, unfortunately that did not help. The output is the same. DATE_STAMP=$(date +%Y%m%d%H%M) LOG=/var/tmp/git.log echo checkout $DATE_STAMP $LOG cd /var/tmp/test2_clone GIT_TRACE=1 git

Re: [git-users] Re: post-receive not able to execute git checkout

2013-07-29 Thread Konstantin Khomoutov
On Mon, 29 Jul 2013 06:06:32 -0700 (PDT) Andreas Dvorak andreas.dvo...@googlemail.com wrote: I found the solution. With env -i to unset the environment the git command does work #!/bin/sh DATE_STAMP=$(date +%Y%m%d%H%M) LOG=/var/tmp/git.log echo checkout $DATE_STAMP $LOG cd

Re: [git-users] Re: post-receive not able to execute git checkout

2013-07-29 Thread Konstantin Khomoutov
On Mon, 29 Jul 2013 11:22:38 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: [...] I don't know the official specification (and it's not likely to have been written down anywhere), but it is possible that the directory for remote operations *must* be a *bare* repository. [...] To my

Re: [git-users] ERROR: Error (256) while running 'git checkout -q 'branch1'

2013-07-29 Thread Konstantin Khomoutov
On Mon, 29 Jul 2013 07:33:41 -0700 (PDT) Ling oylf1...@gmail.com wrote: When I try to checkout the different branch and I got below errros: error: Your local changes to the following files would be overwritten by checkout: . how do I get this working so I can switch branches?

Re: [git-users] fatel error

2013-07-24 Thread Konstantin Khomoutov
On Tue, 23 Jul 2013 23:33:31 -0700 (PDT) Nidhi Arora nidhi.aro...@gmail.com wrote: when i use $ git clone git://git.kernel.org/pub/scm/git/git.git then fatal error is come: unable to connect to git kernel.org(port 9418)(no such is know.) help me.. The git:// protocol uses TCP to connect to

Re: [git-users] Re: how merge a branch in an empty head

2013-07-24 Thread Konstantin Khomoutov
On Wed, 24 Jul 2013 03:08:07 -0700 (PDT) 杨沐 azur...@gmail.com wrote: I do the same thing which u told me , but it doesn't work , please see the picture below:

Re: [git-users] git-svn doesn't see updates that it fetched, and says nothing to rebase

2013-07-23 Thread Konstantin Khomoutov
On Mon, 22 Jul 2013 13:53:45 -0700 (PDT) Brian Dukes dukes.br...@gmail.com wrote: [...] It now tells me that masteris up to date, but it hasn't applied any of the new commits from SVN. Calling git svn fetch now completes in a few seconds. So, it seems somewhere git svn thinks that it has the

Re: [git-users] Re: how to ?

2013-07-22 Thread Konstantin Khomoutov
On Fri, 19 Jul 2013 23:31:04 -0700 (PDT) Syaifull Al-Bandary ritnes...@gmail.com wrote: thank you, your answer. I would probably ask for a lot of time to come. we need your clarification on git, to make us understand. please, continue the explanation. [...] I'm not sure what do you mean

Re: [git-users] how to ?

2013-07-19 Thread Konstantin Khomoutov
On Fri, 19 Jul 2013 02:22:08 -0700 (PDT) Syaifull Al-Bandary ritnes...@gmail.com wrote: how the stages to build git server using ubuntu server? This question is impossible to answer sensibly: you can just do # apt-get install git and be able to work with any repositories on that Ubuntu server

Re: [git-users] Question about Git and Users

2013-07-19 Thread Konstantin Khomoutov
On Fri, 19 Jul 2013 04:37:59 -0700 (PDT) Juan Carlos Rodríguez juanca...@gmail.com wrote: [...] Project p_example /scripts /src /docs Users: A, B and C Only B and C can access into scripts, src and docs folders but A only can

Re: [git-users] Question about Git and Users

2013-07-19 Thread Konstantin Khomoutov
On Fri, 19 Jul 2013 08:20:27 -0500 John McKown john.archie.mck...@gmail.com wrote: [...] In order to limit access to one or more directories (folders) or files, you must use the facilities with the host operating system. Because you said folder instead of directory, I assume that you are

Re: [git-users] where is stored the staging area(index) on our machines

2013-07-18 Thread Konstantin Khomoutov
On Thu, 18 Jul 2013 10:44:05 -0500 John McKown john.archie.mck...@gmail.com wrote: It should be noted that the index file has a complicated not-human-readable binary format, and is not for direct intervention by the user. It should be treated as a completely opaque data and manipulated by the

Re: [git-users] windows 7 - explorer integration context menu missing

2013-07-17 Thread Konstantin Khomoutov
On Tue, 16 Jul 2013 19:07:47 -0700 (PDT) Yancy Boncato rlyn...@gmail.com wrote: Thanks for the link. This is the same problem as this thread. https://groups.google.com/forum/#!topic/msysgit/PHE1V3L1UY4 Im using Windows 7, 64bit Msysgit - Git-1.8.3 - no explorer, context menu Msysgit

Re: [git-users] windows 7 - explorer integration context menu missing

2013-07-16 Thread Konstantin Khomoutov
On Tue, 16 Jul 2013 00:12:11 -0700 (PDT) Yancy Boncato rlyn...@gmail.com wrote: Git release ver Git-1.8.1.3 - advance context menu is somehow disabled. Git-1.8.1.2 is working correctly Please ask this question on the relevant mailing list [1]. Please also be sure to search that list for

Re: [git-users] windows 7 - explorer integration context menu missing

2013-07-16 Thread Konstantin Khomoutov
On Tue, 16 Jul 2013 00:12:11 -0700 (PDT) Yancy Boncato rlyn...@gmail.com wrote: Git release ver Git-1.8.1.3 - advance context menu is somehow disabled. Git-1.8.1.2 is working correctly A quick followup: please also be sure to at least tell if you're using 64-bit or 32-bit OS. The more

Re: [git-users] git users and permissions

2013-07-16 Thread Konstantin Khomoutov
On Mon, 15 Jul 2013 21:01:10 -0700 (PDT) HWSWMAN ed.pat...@gmail.com wrote: i created a repo on a server, and i followed instructions to make a new git group, and assign users to the group .. then i set it so the shell is git shell, and the users can only access the files through git .. this

Re: [git-users] git users and permissions

2013-07-16 Thread Konstantin Khomoutov
On Tue, 16 Jul 2013 10:30:48 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: now, can i create a user that can only pull? that would be great There's no way to do implement this using plain Git. If a user can only *read* the files in the Git repository, what can the user do with

Re: [git-users] Problem in rebasing

2013-07-15 Thread Konstantin Khomoutov
On Mon, 15 Jul 2013 04:17:36 -0700 (PDT) Amit Kumar amit3...@gmail.com wrote: [...] I have made many commits but now i need to do rebase and when i do rebase it says current branch is already updated. How exactly do you do rebasing? Looks you're trying to rebase onto an origin branch which

Re: [git-users] Problem in rebasing

2013-07-15 Thread Konstantin Khomoutov
On Mon, 15 Jul 2013 05:09:43 -0700 (PDT) Amit Kumar amit3...@gmail.com wrote: A. Because it breaks the discussion flow. Q. Why top-posting sucks? I m working on the the branch ABC say and I want changes made by the commits 1 and 5 from ABC and remove the 2,3 4. Then do interactive

Re: [git-users] How to show the commit history of a file

2013-07-11 Thread Konstantin Khomoutov
On Thu, 11 Jul 2013 03:24:53 -0700 (PDT) Akira Tsuchiya akira...@gmail.com wrote: I want to retrieve the commit history of a given file. What command should I issue? I expect the command like below. D:\GitTest git show --commit-history test.txt 8194aaa c419234 ... git log --follow

Re: [git-users] Re: Truncate complete history

2013-07-10 Thread Konstantin Khomoutov
On Wed, 10 Jul 2013 02:43:04 -0700 (PDT) ironm4nc...@gmail.com wrote: I already tried the BFG Repo Cleaner, but while running it craches with this Exception : org.eclipse.jgit.errors.LargeObjectException$ExceedsLimit:. It looks like one commit is bigger than the 5 mb cache limit. Please

Re: [git-users] bash SHA-1 completion

2013-07-10 Thread Konstantin Khomoutov
On Tue, 9 Jul 2013 11:23:13 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: [...] I suspect the reason that hash completion hasn't been done yet is more that it isn't very useful. If you type 8d40fc and auto-completion offers 8d40fc7e56eeb9ea725054822de5c8c145a65c

Re: [git-users] bash SHA-1 completion

2013-07-09 Thread Konstantin Khomoutov
On Mon, 8 Jul 2013 11:41:09 -0700 (PDT) Andy From andyf...@gmail.com wrote: I wonder if there's been any work on providing SHA-1 tab completion for any command (e.g. show or diff) ? Completion works fine for e.g. branches but it might be a convenience feature to also be able to complete on

Re: [git-users] Created yet another git tutorial

2013-07-08 Thread Konstantin Khomoutov
On Sun, 7 Jul 2013 16:30:39 -0700 (PDT) Scott Danzig sdan...@gmail.com wrote: I was just going to outline my typical workflow with Git, but I tend to want to make sure the reader understands what I talk about, and figure, even if there are a million things on the internet, it might be my way

Re: [git-users] How to show commit file type attached to a hash code

2013-07-08 Thread Konstantin Khomoutov
On Mon, 8 Jul 2013 02:43:28 -0700 (PDT) Akira Tsuchiya akira...@gmail.com wrote: I want to show commit related information by the command below. By this, committed files are shown, but names only, off course. But in addition to this, I want to show commit file types (New, Edited, and

Re: [git-users] Re: Question on git command output pause

2013-07-08 Thread Konstantin Khomoutov
On Sun, 7 Jul 2013 04:42:51 -0700 (PDT) Akira Tsuchiya akira...@gmail.com wrote: I enter the git command below and get the output. git show commit has When the output length is too big, the command output pauses and waits for the user’s input of [Enter]. But I want to get the

Re: [git-users] How To Connect To Remote Server FTP?

2013-07-08 Thread Konstantin Khomoutov
On Mon, 8 Jul 2013 05:09:33 -0700 (PDT) Charles Wilmott joomlaphotographytempla...@gmail.com wrote: How do you connect to Remote Server please? Git does not support FTP for accessing remote repositories. If, on the other hand, you'd like to use Git to assist you with *deployment* of your

Re: [git-users] GIT Pre-push hook error

2013-07-08 Thread Konstantin Khomoutov
On Mon, 8 Jul 2013 08:49:15 -0700 (PDT) mkjkec2...@gmail.com wrote: i am trying to write a pre-push git hook to check the validity of a JIRA issue in perl . pre-push perl script executes fine and i get a desired output when the perl script is executed through the windows command prompt .

Re: [git-users] Reg: Getting new branch commits in git

2013-07-02 Thread Konstantin Khomoutov
On Tue, 2 Jul 2013 07:51:18 -0700 (PDT) Muthu n.petchimu...@gmail.com wrote: Hi, I'm a new one for git. I need to execute some code standards in my server (git repository). But i'm unable to execute the codecheck process for the new branch commits pushed by client. Its working for the

Re: [git-users] GIT for aix

2013-07-01 Thread Konstantin Khomoutov
On Mon, 1 Jul 2013 08:46:43 -0700 (PDT) mithun naidu mithun.na...@gmail.com wrote: There was a request to install GIT on aix servers but there are no documentation or softwares to install GIT on aix. Can you please share any documentation and softwares available to install GIT on aix. Uh...

Re: [git-users] portable git?

2013-06-27 Thread Konstantin Khomoutov
On Wed, 26 Jun 2013 13:00:13 -0700 (PDT) supertol felixo...@gmail.com wrote: Is there any version of git that works as a standalone executable file (can still depend on libraries, ofc). Means, i'd be lookinf for a git.exe (+ dependencies) that i can just drop to a folder and use to initialize

Re: [git-users] Merging hotfix without merging all files.

2013-06-26 Thread Konstantin Khomoutov
On Wed, 26 Jun 2013 11:18:58 +0530 Shouvik cance...@gmail.com wrote: Yes, pass the --no-commit option to `git merge` and it won't automatically record a merge commit but will rather leave the changes staged in the index. Then you'll be able to unstage the changes made to index.php by

Re: [git-users] Applying patch to Drupal module

2013-06-25 Thread Konstantin Khomoutov
On Tue, 25 Jun 2013 06:10:11 -0700 (PDT) Ben Alcantara ben.alcant...@gmail.com wrote: I'm using terminal but i've gone to the directory via the ftp command. How would I apply this patch via SSH, is it similar commands like FTP? OK, I'm glad you decided to answer at least some of my questions.

Re: [git-users] Help on move the git repo directory from /opt/git to /passdev/git on unix server

2013-06-25 Thread Konstantin Khomoutov
On Tue, 25 Jun 2013 11:26:53 -0400 lingfei ouyang oylf1...@gmail.com wrote: Just another quick question? Since after we move the git repo folders, how I can check if the git is running correctly? Uh... Clone the moved repo from a client? -- You received this message because you are

Re: [git-users] Applying patch to Drupal module

2013-06-24 Thread Konstantin Khomoutov
On Mon, 24 Jun 2013 04:52:21 -0700 (PDT) Ben Alcantara ben.alcant...@gmail.com wrote: I'm new to using Git and I'm a little confused. I'm trying to patch a module and I've gone to terminal and gone to the folder I need to patch via FTP. Do I understand correctly, that you're using some FTP

Re: [git-users] Applying patch to Drupal module

2013-06-24 Thread Konstantin Khomoutov
On Mon, 24 Jun 2013 08:08:49 -0700 PJ Weisberg pjweisb...@gmail.com wrote: [...] Are you trying to run git commands inside an ftp client, rather than in a shell? Try !git apply example.patch. Not just for Git, but for any commands you want to run on the remote machine. Sorry, but what is

Re: [git-users] Incremental Git Push

2013-06-20 Thread Konstantin Khomoutov
On Thu, 20 Jun 2013 06:37:12 +0200 Magnus Therning mag...@therning.org wrote: Any ideas if it would be possible for Git to create a delta changeset that we could burn to DVD? Yes, this feature set is provided by the `git bundle` command [1]. 1.

Re: [git-users] Merging hotfix without merging all files.

2013-06-20 Thread Konstantin Khomoutov
On Wed, 19 Jun 2013 22:24:24 -0700 (PDT) Saurav cance...@gmail.com wrote: Suppose I have a project on MASTER branch with 100s of php files. To do a bug fixing in the project, i create a separate branch *git checkout -b bugfix* Then after fixing the bug in 3 files (for eg index.php,

Re: [git-users] Merging hotfix without merging all files.

2013-06-20 Thread Konstantin Khomoutov
On Thu, 20 Jun 2013 17:35:54 +0530 Shouvik cance...@gmail.com wrote: Suppose I have a project on MASTER branch with 100s of php files. To do a bug fixing in the project, i create a separate branch *git checkout -b bugfix* Then after fixing the bug in 3 files (for eg index.php,

Re: [git-users] Merging hotfix without merging all files.

2013-06-20 Thread Konstantin Khomoutov
On Thu, 20 Jun 2013 10:22:25 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: [...] Yes, pass the --no-commit option to `git merge` and it won't automatically record a merge commit but will rather leave the changes staged in the index. Then you'll be able to unstage the changes made to

Re: [git-users] Incremental Git Push

2013-06-19 Thread Konstantin Khomoutov
On Wed, 19 Jun 2013 00:21:51 -0700 (PDT) jhops jesse.h...@gmail.com wrote: Any ideas if it would be possible for Git to create a delta changeset that we could burn to DVD? Yes, this feature set is provided by the `git bundle` command [1]. 1.

Re: [git-users] Re: Download documentation in others language

2013-06-17 Thread Konstantin Khomoutov
On Mon, 17 Jun 2013 02:23:00 -0700 (PDT) Aurélien PELLET pellet.aurel...@gmail.com wrote: Thanks for your replies. @Thomas Ferris Nicolaisen : It's exactly what i'm talking about. If it's not possible i keep doing with english version ... but it's unfortunate when the doc is available in

Re: [git-users] developers docs ?

2013-06-17 Thread Konstantin Khomoutov
On Sun, 16 Jun 2013 05:41:37 -0700 (PDT) the.u...@gmail.com wrote: I am curious to have a look at the source https://github.com/msysgit/git/. But since it is a rather big project I wonder is there a guide/walk-through to the structure of the source ? There's the directory named

Re: [git-users] Git error

2013-06-17 Thread Konstantin Khomoutov
On Mon, 17 Jun 2013 06:18:49 -0700 (PDT) justin p denzilac...@gmail.com wrote: [...] An x-posted copy of this message is answered on the main Git list: http://news.gmane.org/find-root.php?group=gmane.comp.version-control.gitarticle=228065 -- You received this message because you are subscribed

Re: [git-users] git-rebranch

2013-06-17 Thread Konstantin Khomoutov
On Mon, 17 Jun 2013 06:28:35 -0700 (PDT) Dan Keder dan.ke...@gmail.com wrote: I made a small script for easier rebasing of development branches. It is useful in case you are developing in multiple (private) branches and you want to rebase your branches onto upstream often. [...] Consider

Re: [git-users] Best way to identify a version of a repo

2013-06-15 Thread Konstantin Khomoutov
On Fri, 14 Jun 2013 17:00:59 -0500 Deanna Delapasse ddelapa...@gmail.com wrote: [...] One thing I forgot to mention, is that it's pretty easy to reset the work tree after a checkout to discard all local changes by either doing git reset --hard or git checkout -- . (the dot

Re: [git-users] trouble after 'git commit --amend': error with pull and push

2013-06-15 Thread Konstantin Khomoutov
On Sat, 15 Jun 2013 14:37:59 +0200 Thorsten Jolitz tjol...@googlemail.com wrote: I messed up a commit message, and wanted to fix it immediatly after the commit (but I already merged the commit into master and pushed both - master and work branch - to github, unfortunately). Thus I ran

Re: [git-users] Having trouble understanding how Git works?

2013-06-15 Thread Konstantin Khomoutov
On Thu, 13 Jun 2013 08:40:56 -0700 (PDT) vmhatup vmha...@gmail.com wrote: I'm trying to integrate some type of source code versioning. I come from a VSS background, where our workstations would connect to a server and 'check out' a solution/project into my workstation. Essentially, 'check

Re: [git-users] Best way to identify a version of a repo

2013-06-14 Thread Konstantin Khomoutov
On Fri, 14 Jun 2013 05:08:11 -0700 (PDT) Deanna Delapasse ddelapa...@gmail.com wrote: I need to checkout code from a repo and somehow identify it (timestamp, hash, …) such that at some later time I can extract the SAME versions of all the code. I’m provisioning cloud instances, so each time

Re: [git-users] Best way to identify a version of a repo

2013-06-14 Thread Konstantin Khomoutov
On Fri, 14 Jun 2013 08:23:46 -0500 Deanna Delapasse ddelapa...@gmail.com wrote: Maybe - I wasn't sure if the commit hash would give me JUST the recently committed files or the entire codebase. I'll try it. Neither. Each commit references one complete snapshot of the repository, and also it

Re: [git-users] Best way to identify a version of a repo

2013-06-14 Thread Konstantin Khomoutov
On Fri, 14 Jun 2013 10:26:52 -0500 Deanna Delapasse ddelapa...@gmail.com wrote: I started with this approach yesterday. I tried this: git clone https://acct:p...@gethub.com/git ... i edited a file just to see what would happen git checkout hashcodeOfPriorCommit But git did NOT

Re: [git-users] Could not connect to the repository issue for (new linux user)

2013-06-13 Thread Konstantin Khomoutov
On Thu, 13 Jun 2013 07:39:17 -0700 (PDT) WooD Fung cw.wood.f...@gmail.com wrote: I followed the official document to setup ssh protocol for git. I can clone the repository by using root account. but I cannot clone the repository from a new Linux user account. Does anybody know how to fix it?

Re: [git-users] Download documentation in others language

2013-06-13 Thread Konstantin Khomoutov
On Thu, 13 Jun 2013 03:13:07 -0700 (PDT) Aurélien PELLET pellet.aurel...@gmail.com wrote: Is it possible to download the documentation (PDF) in others available languages ? I read the documentation in English but on some technical terms I prefer to refer to the french version. An

Re: [git-users] Question: git merge origin/master

2013-06-13 Thread Konstantin Khomoutov
On Thu, 13 Jun 2013 11:00:42 -0400 Paul Smith p...@mad-scientist.net wrote: Hi all. This is just a simple question. Most of the discussions of merge from master to my branch I've seen recommend this: git checkout master git pull git checkout mybranch git merge master I did

Re: [git-users] Question: git merge origin/master

2013-06-13 Thread Konstantin Khomoutov
On Thu, 13 Jun 2013 11:37:42 -0400 Paul Smith p...@mad-scientist.net wrote: [...] The question above is talking only about intermediate merge steps, where I want to bring in other peoples' changes into my work branch before I merge back to master. I'm just wondering if there's some issue

Re: [git-users] Re: error: GIt has no installation candidate

2013-06-10 Thread Konstantin Khomoutov
On Mon, 10 Jun 2013 08:30:33 +0200 Martin Møller Skarbiniks Pedersen traxpla...@gmail.com wrote: I am sorry yes I am using UBUNTU and here is my system configuration No LSB modules are available. Distributor ID:Ubuntu Description:Ubuntu 10.04.4 LTS Desktop 10.04 ran out of

Re: [git-users] Re: error: GIt has no installation candidate

2013-06-10 Thread Konstantin Khomoutov
On Mon, 10 Jun 2013 14:03:21 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: [...] To make Lucid packages available one should replace normal URL for packages in /etc/apt/sources.list with deb archive.ubuntu.com/ubuntu lucid main Or, rather, with deb http

Re: [git-users] Clarification Regarding Git Commit Granularity

2013-06-07 Thread Konstantin Khomoutov
On Thu, 6 Jun 2013 22:49:24 -0700 PJ Weisberg pjweisb...@gmail.com wrote: So, one thing I'm still a bit fuzzy on is the recommend granularity of commits, and I'm wondering if anyone can help me out. [...] If I understand correctly, you're making two logical changes, each of which touches

Re: [git-users] Problem with git checkout --orphan

2013-06-07 Thread Konstantin Khomoutov
On Thu, 6 Jun 2013 14:51:50 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: [...] $ git --version git version 1.7.7.6 [...] $ # Try to create an orphaned branch. This fails. $ git checkout --orphan first-new-branch fatal: You are on a branch yet to be born Works for me with Git 1.8.1:

Re: [git-users] Problem with git checkout --orphan

2013-06-07 Thread Konstantin Khomoutov
On Fri, 7 Jun 2013 11:30:38 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: From: Konstantin Khomoutov flatw...@users.sourceforge.net Works for me with Git 1.8.1: Good. I will check again when I upgrade to Git =1.8.1. Looks like that was fixed by commit abe1998 [1] (and further

Re: [git-users] Re: how to connect the two local machine in order use git

2013-06-06 Thread Konstantin Khomoutov
On Thu, Jun 06, 2013 at 12:09:57AM -0700, Manjunath Hv wrote: Hi Philip, Please find the details below Machines : One is Windows 7 other is windows XP Version : 1.8.1.msysgit.1 I can see the file as well as directories on other system. Will u please tell me how to check remote

Re: [git-users] error: GIt has no installation candidate

2013-06-06 Thread Konstantin Khomoutov
On Thu, 6 Jun 2013 06:54:42 -0700 (PDT) Deepak Selvaraj dpkselva...@gmail.com wrote: I am trying to install Openstack in my new virtual machine, but I am getting a error saying the package git is not available and it says package git has no installation candidate. But I already installed git

Re: [git-users] Re: list all the branch that contains commit title is xxxx yyyy

2013-06-05 Thread Konstantin Khomoutov
On Wed, 5 Jun 2013 22:35:44 +0800 lei yang yanglei.f...@gmail.com wrote: any help ? On Tue, Jun 4, 2013 at 11:24 AM, lei yang yanglei.f...@gmail.com wrote: list all the branch that contains commit title is note: the commit-id is not the same though the commit content is the

Re: [git-users] Error code -6

2013-05-31 Thread Konstantin Khomoutov
On Thu, 30 May 2013 14:54:58 -0700 (PDT) Dallin Lauritzen dallin.laurit...@gmail.com wrote: [...] File /Library/Python/2.7/site-packages/git/cmd.py, line 377, in execute raise GitCommandError(command, status, stderr_value) GitCommandError: 'git pull' returned exit status -6: [...] If anyone

<    5   6   7   8   9   10   11   12   13   14   >