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] 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] 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] 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

[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] 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

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] 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] 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] 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 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] 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] 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 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] 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] multi workspace solution

2013-10-03 Thread Konstantin Khomoutov
On Thu, 3 Oct 2013 01:28:03 -0700 (PDT) pof Andras porje...@gmail.com wrote: I would like to implement a multi-workspace version of git. The main goal is to have several independent workspaces using only one and single repository (without their own cloned repos). All these things will run on

Re: [git-users] Git-Enforced Policy

2013-10-03 Thread Konstantin Khomoutov
On Wed, 2 Oct 2013 13:36:42 -0700 (PDT) job...@students.rowan.edu wrote: I am trying to prevent users from attempting certain operations on my repository which is located on a Linux server by employing Server-Side hooks. The Git manual recommends creating a shell wrapper script to set a USER

Re: [git-users] moving top of branch to another repository

2013-10-03 Thread Konstantin Khomoutov
On Thu, 3 Oct 2013 03:56:03 -0700 (PDT) ruud r.grosm...@gmail.com wrote: I think yes, this is the only way because you need to squash A-C into a new commit, C', and then reapply E-G on top of it, and that's what `git rebase` is goot at. thank you for your reply. I was a bit afraid this

Re: [git-users] Re: keeping two bare repos in sync?

2013-10-03 Thread Konstantin Khomoutov
On Wed, 2 Oct 2013 12:04:28 -0700 (PDT) dkoleary dkole...@olearycomputers.com wrote: Apologies for replying to my own post, but I did just find the git --bare fetch. While that seems to have worked, That's odd: `git fetch` does not support --bare, only `git clone` does. If `git fetch`

Re: [git-users] Re: keeping two bare repos in sync?

2013-10-03 Thread Konstantin Khomoutov
On Thu, 3 Oct 2013 06:45:14 -0700 (PDT) dkoleary dkole...@olearycomputers.com wrote: Absolutely amazing, sir! Your answer is spot on accurate, very complete, and very detailed. While I sorry that I put you to that much unpaid work, I am very grateful. I'm going to bookmark this explanation

Re: [git-users] multi workspace solution

2013-10-04 Thread Konstantin Khomoutov
On Fri, 4 Oct 2013 01:24:32 -0700 (PDT) pof Andras porje...@gmail.com wrote: [...] I would like to implement a multi-workspace version of git. [...] That was implemented long time ago in the form of the git-new-workdir script available in the contrib Git subdirectory [1]. The basic idea

Re: [git-users] multi workspace solution

2013-10-07 Thread Konstantin Khomoutov
On Sun, 6 Oct 2013 22:24:09 -0700 (PDT) pof Andras porje...@gmail.com wrote: Oh, yes, I know it is a simple script. if it was really usable there should be some information about its possibilities and practices and experiences. A script alone without any additional info looks like an

Re: [git-users] git clone --recursive times out and fails to clone submodule

2013-10-07 Thread Konstantin Khomoutov
On Wed, 2 Oct 2013 10:53:00 -0700 (PDT) mbkv mani.bak...@gmail.com wrote: I am unable to clone a specific repository with submodules. $ git clone --recursive https://www.github.com/lagadic/visp_auto_tracker.git ^^^ notice https:// 'flashcode_mbt'

Re: [git-users] Re: git5 submit bypassing tap

2013-10-07 Thread Konstantin Khomoutov
On Fri, 4 Oct 2013 14:45:36 -0400 Maurizio Vitale mrz@gmail.com wrote: Just tried submitting a CL using TAP, which ran 422 test cases and had 7 failures. These failures have been verified to be caused by a recent change. Now I wish to submit the CL without going through TAP to avoid

Re: [git-users] Git-Enforced Policy

2013-10-07 Thread Konstantin Khomoutov
On Thu, 3 Oct 2013 06:57:33 -0700 (PDT) job...@students.rowan.edu wrote: [...] I have defined the following bash script: #!/bin/bash export USER=$1 /bin/bash In the authorized_keys file I call this script with a user parameter whom would be logging in. [...] There are

Re: [git-users] Git clone asks the password

2013-10-09 Thread Konstantin Khomoutov
On Wed, 9 Oct 2013 01:31:36 -0700 (PDT) Alfredo Licciardello licciardello.alfr...@gmail.com wrote: I use gitolite to admin my Repositories GIT. Following my problem: I added in the configuration file of git “gitolite.conf” a new user to work on an old GIT repository and in the same time the

Re: [git-users] need to undo Reset Changes action git extensions

2013-10-09 Thread Konstantin Khomoutov
On Wed, 9 Oct 2013 10:40:36 -0700 (PDT) Garrett Fritz garrettfr...@gmail.com wrote: well no other place has the changes I made that were reset... On Wednesday, October 9, 2013 11:38:12 AM UTC-6, Dale Worley wrote: From: Garrett Fritz garret...@gmail.com javascript: Any way to

Re: [git-users] Out of memory, malloc failied (tried to allocate 2306150400 bytes )

2013-10-10 Thread Konstantin Khomoutov
On Thu, 10 Oct 2013 03:57:11 -0700 (PDT) praveenm mulimani praveen.mulim...@gmail.com wrote: We are using windows 7 to download the git source through repo command. We are getting the below error (although we have 20 GB free space). Fatal: Out of memory, malloc failied (tried to allocate

Re: [git-users] Out of memory, malloc failied (tried to allocate 2306150400 bytes )

2013-10-10 Thread Konstantin Khomoutov
On Thu, 10 Oct 2013 11:19:27 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: pack.packsizelimit=2g pack.threads=1 pack.windowmemory=256m 2. I'd say the pack.packSizeLimit should not affect the packing behaviour -- at least that's what I gather from the manual page. The

Re: [git-users] On Git server connectivity

2013-10-11 Thread Konstantin Khomoutov
On Fri, 11 Oct 2013 03:53:58 -0700 (PDT) Akira Tsuchiya akira...@gmail.com wrote: I am new to Git and curious about the connectivity between a local PC and a remote Git server. I want to know whether it is possible to upload local files on a Windows PC to a remote Linux Git repository or

Re: [git-users] Is there a place record when I run git pull the last time

2013-10-15 Thread Konstantin Khomoutov
On Tue, 15 Oct 2013 16:24:50 +0800 lei yang yanglei.f...@gmail.com wrote: Is there a place record when I run git pull the last time Please note that while you've got an answer proposing a semi-working solution (that is, working until someone calls `touch .git/FETCH_HEAD`), to me, it seems that

Re: [git-users] git backup

2013-10-15 Thread Konstantin Khomoutov
On Tue, 15 Oct 2013 06:53:17 -0700 (PDT) shlo.af...@gmail.com wrote: All the git repositories are on one git server in specific directory. I would like to know what I need to backup in order to be able to make a success restore, in case my disk on the git server will crushed. I would

Re: [git-users] Is there a place record when I run git pull the last time

2013-10-15 Thread Konstantin Khomoutov
On Tue, 15 Oct 2013 18:00:42 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: On Tue, 15 Oct 2013 16:24:50 +0800 lei yang yanglei.f...@gmail.com wrote: Is there a place record when I run git pull the last time Please note that while you've got an answer proposing a semi

Re: [git-users] Re: error when runing push

2013-10-16 Thread Konstantin Khomoutov
On Wed, 16 Oct 2013 02:17:52 -0700 (PDT) shlo.af...@gmail.com wrote: If I run: git remote add origin user@gitservre:/path/to/dir/projectd.git It say fatal: remote origin already exists. Sure it does -- `git clone` created it. Did you ever may try reading a book on Git? Say this

Re: [git-users] Re: error when runing push

2013-10-16 Thread Konstantin Khomoutov
On Wed, 16 Oct 2013 13:16:23 +0200 Magnus Therning mag...@therning.org wrote: git 1.8.4 output of 'git remote -v' origin user@gitservre:/path/to/dir/projectd.git (fetch) origin user@gitservre:/path/to/dir/projectd.git (push) I saw now that you send me another email, and I tried 'git

Re: [git-users] Switching to another hash on branch

2013-10-17 Thread Konstantin Khomoutov
On Wed, 16 Oct 2013 13:56:10 -0400 wor...@alum.mit.edu (Dale R. Worley) wrote: [...] If you checked out commit C1, and then made a new commit, Git has no idea which branch you'd like to update. Now I just checked, and you *can* create a new commit, but no branch points to it, so you'll have

Re: [git-users] Add a collection of files

2013-10-18 Thread Konstantin Khomoutov
On Thu, 17 Oct 2013 15:55:52 -0700 (PDT) Aaron Cook cookacou...@gmail.com wrote: Is it possible to configure git to see a group of files as a singular object? For instance, I have a directory with several files: myjunk/text.txt myjunk/somefile.exe myjunk/anotherfile.odt Whenever a

Re: [git-users] GIT with large projects

2013-10-20 Thread Konstantin Khomoutov
On Sun, 20 Oct 2013 03:39:50 -0700 (PDT) Blake McBride blake1...@gmail.com wrote: Yes, of course, creating a totally new branch from where you are doesn't cause any problems because nothing changes. The problem is that, I and likely most of the world, have a handful of long-running branches

Re: [git-users] GIT with large projects

2013-10-20 Thread Konstantin Khomoutov
On Sun, 20 Oct 2013 19:34:32 +0200 Magnus Therning mag...@therning.org wrote: [...] Well, many of the issues you mention can be solved by using a build system that can take advantage of a shared cache of build objects. Connect a CI system that builds each branch regularly and you can largely

Re: [git-users] doesnt resolve to any object

2013-10-24 Thread Konstantin Khomoutov
On Thu, 24 Oct 2013 02:38:01 -0700 (PDT) aniyan.raj...@gmail.com wrote: There are several issues with your problem's statement. When I try add files to a new repository , I get the following error. How can I resolve this ? Thanks. An internal Exception occurred during push: Source ref

Re: [git-users] GIT with large projects

2013-10-24 Thread Konstantin Khomoutov
On Sun, 20 Oct 2013 18:57:13 -0700 (PDT) Blake McBride blake1...@gmail.com wrote: [...] These days all that matters are web apps. This is a very limited world view. Writing web apps is my least favorite programming to do (although, all programming is fun for me). As a consequence of a

Re: [git-users] Question on Git Hooks

2013-10-24 Thread Konstantin Khomoutov
On Mon, 14 Oct 2013 05:50:29 -0700 (PDT) Ling oylf1...@gmail.com wrote: We are going to integrate the Git with VersionOne and also trying to create some hooks that prevent when developers trying to commit/push the changes into the remote repositories, for example: when developer trying to

Re: [git-users] Question on Git Hooks

2013-10-24 Thread Konstantin Khomoutov
On Thu, 24 Oct 2013 12:25:00 -0400 lingfei ouyang oylf1...@gmail.com wrote: The difference between the previous one are: 1. previous one is only for hooks that checking the commit commend ... 2. and this new one we are trying to get more in details on integration with Version One, so which

Re: [git-users] Git hook server side

2013-10-28 Thread Konstantin Khomoutov
On Mon, 28 Oct 2013 02:25:11 -0700 (PDT) Ignazio Calo' ignaz...@gmail.com wrote: I read this page about git hook: http://git-scm.com/book/en/Customizing-Git-Git-Hooks and i still have some questions. I have a git server with some bare repos and I want create something like a continuos

Re: [git-users] Recommendations on a windows-based GIT environment with a local server

2013-10-30 Thread Konstantin Khomoutov
On Wed, 30 Oct 2013 02:43:14 -0700 (PDT) my.sevenf...@gmail.com wrote: Thanks for your reply. So you say we should use a windows network drive or network share on a (server)computer with a normal standard git configuration for now? Yes. Just make sure you have transparently working

Re: [git-users] UTF-8 file

2013-10-31 Thread Konstantin Khomoutov
On Thu, 31 Oct 2013 10:03:25 + Roddie Grant gitl...@myword.co.uk wrote: I have a file on my web server which BBedit shows as UTF-8. It includes proper curly apostophes and quotation marks. When I do git diff in Terminal I get output like: -pE2809CSurfexPlusE2809D is OCCAE28099s

Re: [git-users] UTF-8 file

2013-10-31 Thread Konstantin Khomoutov
On Thu, 31 Oct 2013 10:51:11 + Roddie Grant gitl...@myword.co.uk wrote: [...] When I do git diff in Terminal I get output like: -pE2809CSurfexPlusE2809D is OCCAE28099s [...] Care to tell us which OS is that? [...] Another question: do you see this in a pager or plainly rendered by

Re: [git-users] UTF-8 file

2013-10-31 Thread Konstantin Khomoutov
On Thu, 31 Oct 2013 13:23:50 + Roddie Grant gitl...@myword.co.uk wrote: [...] For the record, I had to use 'git --no-pager diff' rather 'git diff --no-pager'. It solved the problem, but I was connected to the server. Using 'setenv LESSCHARSET utf-8' works, but only when I've ssh-ed to

Re: [git-users] Git 1.8.4.2 for Windows is not available through http://git-scm.com/download/win

2013-11-01 Thread Konstantin Khomoutov
On Thu, 31 Oct 2013 10:05:35 -0700 (PDT) Adrian Wijasa awij...@gmail.com wrote: If I visit http://git-scm.com/download/win, I can only download Git 1.8.4 that was released on September. The latest Gift was released on October. While the ultimate goal for the Git for Windows project is being

Re: [git-users] Re: Feature Question: Versioning on sub-file level

2013-11-06 Thread Konstantin Khomoutov
On Tue, 5 Nov 2013 20:35:01 - Philip Oakley philipoak...@iee.org wrote: This was also just asked on the git developer list... Sound like the discussion at http://thread.gmane.org/gmane.comp.version-control.git/27/focus=217

Re: [git-users] Question on Git Hooks

2013-11-08 Thread Konstantin Khomoutov
On Thu, 7 Nov 2013 12:14:34 -0500 lingfei ouyang oylf1...@gmail.com wrote: I'm trying to create an Git-extenstion pre-commit hooks and below is what I got: #!/bin/bash -xv refname=$1 oldrev=$2 newrev=$3 pattern=[A-Z]-[0-9]{5}\: echo $newrev newrev_subject=$(git show -s

Re: [git-users] newbie confused about git server on windows 8

2013-11-11 Thread Konstantin Khomoutov
On Mon, 11 Nov 2013 02:50:11 -0800 (PST) Ray Tayek rta...@gmail.com wrote: hi, i have git version 1.8.4.msysgit.0 installed. if i run this as a daemon, where are the repositories located? (i.e. where do i do a mkdir foo.git; cd foo.git; git init --bare?) how do i change where the (server)

Re: [git-users] How to merge code from diff repo and other repo have different file structure ?

2013-11-11 Thread Konstantin Khomoutov
On Mon, 11 Nov 2013 03:31:05 -0800 (PST) Fahim Patel pafa...@gmail.com wrote: Hello, I have four repo which are related to ech other. Now I have moved all four project in single repo in 4 folders.Please see below eg:- old repositories structure --- repo A repo B repo C repo

Re: [git-users] Re: newbie confused about git server on windows 8

2013-11-12 Thread Konstantin Khomoutov
On Mon, 11 Nov 2013 20:41:51 -0800 (PST) Ray Tayek rta...@gmail.com wrote: hi, i have git version 1.8.4.msysgit.0 installed. if i run this as a daemon, where are the repositories located? (i.e. where do i do a mkdir foo.git; cd foo.git; git init --bare?) [...] doing a push origin master

Re: [git-users] Issues when doing the push by using the git extensions

2013-11-12 Thread Konstantin Khomoutov
On Tue, 12 Nov 2013 11:26:22 -0500 lingfei ouyang oylf1...@gmail.com wrote: currently I got error when trying to push the changes into the git repo: fatal: protocol error: bad line length character: Pass Does pushing using plain Git work? Try to do that using the exact command Git Extension

Re: [git-users] files case name changes detection.

2013-11-13 Thread Konstantin Khomoutov
On Tue, 12 Nov 2013 08:11:40 -0800 (PST) Gabby Romano omerik...@gmail.com wrote: I would like to be able to prevent case name changes done on windows clients and being pushed to our linux remote repository. when pulled, it confuses the other windows clients and messes things up. I want to

Re: [git-users] Sync repository remote with local after git reset

2013-11-14 Thread Konstantin Khomoutov
On Thu, 14 Nov 2013 03:44:56 -0800 (PST) Diogo Machado di...@diogomachado.com wrote: Hi, I'm necessity rollback 2 commits, I try: git reset --hard HEAD~2 Now, how can I synchronize with my remote repository? Depends on how do you specify synchronize. Do you want to send the updated

Re: [git-users] Question on Git Hooks

2013-11-14 Thread Konstantin Khomoutov
On Wed, 13 Nov 2013 12:00:00 -0500 lingfei ouyang oylf1...@gmail.com wrote: and one more quick question? What is the correct way for define the variable in pre-commit hooks in Git bash so I can using those three variables to run git commands, i.e. git show $newrev git merge-base

Re: [git-users] Question on Git Hooks

2013-11-14 Thread Konstantin Khomoutov
On Thu, 14 Nov 2013 08:18:56 -0500 lingfei ouyang oylf1...@gmail.com wrote: [...] The problem is that by (stupid) default it's not an error in a POSIX shell to attempt to expand a parameter which does not exist. I mean, if you have a script myscript.sh reading [...] Thanks a lot Konstantin

Re: [git-users] files case name changes detection.

2013-11-14 Thread Konstantin Khomoutov
On Thu, 14 Nov 2013 02:37:20 -0800 (PST) Gabby Romano omerik...@gmail.com wrote: [...] regarding a change+rename you mentioned - if you declare you are looking for 100% in the similarity index + the rename flag from git - so we are covered, as you said. Really? Not so fast, please. ;-)

Re: [git-users] git pull --rebase ?

2013-11-15 Thread Konstantin Khomoutov
On Thu, 14 Nov 2013 15:03:29 -0800 (PST) Vicki Kozel vickiko...@gmail.com wrote: We've recently switched to Git and Gerrit, and are drafting the best practices workflow for our development team. One thing we want to avoid is merge commits that have two parents since if these commits fail

Re: [git-users] Git vs Subversion

2013-11-17 Thread Konstantin Khomoutov
On Sat, 16 Nov 2013 23:36:44 -0800 (PST) Akira Tsuchiya akira...@gmail.com wrote: I want to ask all of you one quick question. Do you think Git will get more popularity than Subversion and Subversion will be obsolete in the near future? Depend on how one is looking at it. On the free

Re: [git-users] multiple remote branches

2013-11-17 Thread Konstantin Khomoutov
On Sat, 16 Nov 2013 16:15:49 -0800 (PST) stoici...@aol.com wrote: In the documentation: http://git-scm.com/book/en/Git-Branching-Remote-Branches It mentions this: you can run git fetch teamone to fetch everything the remote teamoneserver has that you don’t have yet. Because that server

Re: [git-users] Git commit comment

2013-11-18 Thread Konstantin Khomoutov
On Mon, 18 Nov 2013 07:44:45 +0100 Nicolas Dermine nicolas.derm...@gmail.com wrote: I have done git pull. and again ran the below command. But still it wasn't show the comment on the commit. (on Github box provided below each commit) Through github i able to see it. git log

Re: [git-users] security issue with public keys

2013-11-18 Thread Konstantin Khomoutov
On Sun, 17 Nov 2013 20:43:24 -0800 (PST) stoici...@aol.com wrote: I generated ssh public keys on server, uploaded it to github repository, so that I can deploy my project to the server. My question is if someone has access to the server and they log in and view the ssh keys, can they somehow

Re: [git-users] Removing commits to another repository

2013-11-18 Thread Konstantin Khomoutov
On Sun, 17 Nov 2013 21:04:45 -0800 (PST) stoici...@aol.com wrote: I have been contributing to a remote repository for 6 months. I have made more than 100 commits and pushes to one of its branches. Is there a way to remove all the pushed commits I contributed to that repository? Depends on

Re: [git-users] Create repo from an existing application folder

2013-11-19 Thread Konstantin Khomoutov
On Tue, 19 Nov 2013 04:30:15 -0800 (PST) lesssugar rgozdzial...@gmail.com wrote: Hi everyone, I'm new to Git and not sure how to achieve my goal. I have an application hosted on a remote server. I would like to create a repo in the application folder, so I can clone all the files to my

Re: [git-users] Chinese filename garbage problem when use git archive

2013-11-20 Thread Konstantin Khomoutov
On Wed, 20 Nov 2013 00:30:58 -0800 (PST) Lihong He happylobster2...@gmail.com wrote: first, appriciated for your help! I got a problem. I use ruby, and download projects, and I use rails function repo.git.archive(options, master) , but it's always garbage if file name has chinese characters

Re: [git-users] Teamdevelopment

2013-11-20 Thread Konstantin Khomoutov
On Wed, 20 Nov 2013 05:51:53 -0800 (PST) sslme...@gmail.com wrote: I want to use for several programmer as a team. I thought of this structure: /baselib/folder /modules/module1 /modules/module2 The team member should be able to read and write on the baselib but user1 should only see:

Re: [git-users] Git repo inside IGNORED subfolder of another Git repo

2013-11-20 Thread Konstantin Khomoutov
On Tue, 19 Nov 2013 19:47:38 -0800 (PST) Алексей Баранов alexey2bara...@gmail.com wrote: I'm voting for a new Git feature. [...] This mailing list is dedicated to help Git newcomers solve their problems. If you have a feature to suggest to appear in Git, consider getting in touch with the Git

Re: [git-users] About GIT installation

2013-11-24 Thread Konstantin Khomoutov
On Fri, 22 Nov 2013 04:23:25 -0800 (PST) Rajesh Varatharajan rajesh.bruz...@gmail.com wrote: I am new to GIT version tool, I have a lot of queries in using GIT. Can anyone reply my Answer? My Questions are: 1. IS GIT have Client-Server Archietecture? 2. If

Re: [git-users] Can I enter feature requests in git

2013-11-26 Thread Konstantin Khomoutov
On Tue, 26 Nov 2013 00:20:45 -0800 (PST) Nilanjan nilanjena...@gmail.com wrote: Can I enter feature requests in a git repo? Should I be entering these as issues? The best way to discuss this is to post a message to the main Git list which is read by its developers. See [1] for more info. 1.

Re: [git-users] Can I enter feature requests in git

2013-11-27 Thread Konstantin Khomoutov
On Tue, 26 Nov 2013 19:17:54 -0800 (PST) Nilanjan nilanjena...@gmail.com wrote: Sorry about that. What I meant is, suppose I am using a project in Git, let's say a Ruby gem. It seems like users only enter defects as issues. I assume I shouldn't enter 'enhancement requests' as issues?

Re: [git-users] how to solve SSL3_GET_RECORD:wrong version number error?

2013-11-28 Thread Konstantin Khomoutov
On Wed, 27 Nov 2013 21:57:56 -0800 (PST) Shinpei Nakata shinpei.nak...@gmail.com wrote: Recently i've changed my git from 1.7.9.5 to 1.8.4.1. However, newer git faces problem with connecting some git repository. (for example, connect to github works fine, but some other repos, i cannot). And

Re: [git-users] how to solve SSL3_GET_RECORD:wrong version number error?

2013-11-28 Thread Konstantin Khomoutov
On Wed, 27 Nov 2013 21:57:56 -0800 (PST) Shinpei Nakata shinpei.nak...@gmail.com wrote: Recently i've changed my git from 1.7.9.5 to 1.8.4.1. [...] And next time please also tell us: * Which OS (and its version this is). * Did changing Git from one version to another involved upgrading other

Re: [git-users] Branch Seurity

2013-11-28 Thread Konstantin Khomoutov
On Thu, 28 Nov 2013 07:36:45 -0800 (PST) Andrew G newbie@gmail.com wrote: I have one repo and many branch on it, how can I force every member on my repo only can pull and push on their own branch? can I do this on GIT? # apt-get install gitolite See https://github.com/sitaramc/gitolite/

Re: [git-users] multiple clients on one workarea possible?

2013-11-29 Thread Konstantin Khomoutov
On Thu, 28 Nov 2013 02:10:42 -0800 (PST) Mario Wohlwender mario.wohlwen...@torqeedo.com wrote: Hi git users, I want to use a git-Repository to handle a folder with lot of documents (.pdf...) needed for manufacturing of my companys products (technical drawings, Gerber-Files for PCB

Re: [git-users] how to solve SSL3_GET_RECORD:wrong version number error?

2013-11-29 Thread Konstantin Khomoutov
On Fri, 29 Nov 2013 13:53:29 +0900 Shinpei Nakata shinpei.nak...@gmail.com wrote: [...] Form LD_DEBUG log, git-1.7 using libcurl-gnutls.so library which is ubuntu's default installed, and git-1.8 using locally build libcurl (installed in /usr/local). Here's my response from openssl to

Re: [git-users] Could not create work tree dir 'example.com'.: Permission denied

2013-11-29 Thread Konstantin Khomoutov
On Fri, 29 Nov 2013 01:19:48 -0800 (PST) David Ingledow da...@ingledow.co.uk wrote: [...] I've installed Git and got my ssh keys authenticated with GitHub. [...] fatal: could not create work tree dir 'example.com'.: Permission denied This means Git failed to create a directory on your

Re: [git-users] Re: Build problem with git in win7 64bit

2013-12-03 Thread Konstantin Khomoutov
On Mon, 2 Dec 2013 22:49:54 -0800 (PST) ildo park parki...@gmail.com wrote: I installed git(windows) downloaded in http://git-scm.com/downloads I build my sources in RVDS221. Compile was success before installing the git. Whenever I install git(and tortoiseGit) I have faced the

Re: [git-users] How to Pull/Fetch a specific GIT branch (and NOT clone entire repository) to the AIX server

2013-12-04 Thread Konstantin Khomoutov
On Wed, 4 Dec 2013 05:53:55 -0800 (PST) tripatjeet singh tripatli...@gmail.com wrote: I am new to GIT. There's a challenge that i'm currently facing after migration from WINCVS to GIT. The problem here is I need to pull/fetch a specific branch (and NOT clone the entire repository) from the

Re: [git-users] How to Pull/Fetch a specific GIT branch (and NOT clone entire repository) to the AIX server

2013-12-04 Thread Konstantin Khomoutov
On Wed, 4 Dec 2013 18:12:59 +0400 Konstantin Khomoutov flatw...@users.sourceforge.net wrote: [...] git checkout --depth 1 --branch foo [...] This should be git checkout --depth 1 --branch foo REPO_URL of course. -- You received this message because you are subscribed to the Google

Re: [git-users] How to Pull/Fetch a specific GIT branch (and NOT clone entire repository) to the AIX server

2013-12-04 Thread Konstantin Khomoutov
On Wed, 4 Dec 2013 09:27:36 -0600 tripatjeet singh tripatli...@gmail.com wrote: Once again it gives me below error. Here 'testing' is the GIT repository and 'Branch_Test1' is a folder under testing. ^^^ Supposedly this is the root cause of these errors: Git is not Subversion or CVS and it does

Re: [git-users] jgit checkout problem

2013-12-05 Thread Konstantin Khomoutov
On Thu, 5 Dec 2013 07:13:23 -0800 (PST) Tal Agmon agmon...@gmail.com wrote: I'm trying to use CheckoutCommand the following way: [...] Can you please advise? I'm sure it would be much better to ask this question on some resource dedicated to JGit or may be even in its bug tracker. JGit is not

Re: [git-users] merge a conflict

2013-12-12 Thread Konstantin Khomoutov
On Thu, 12 Dec 2013 03:05:14 -0800 thufir hawat.thu...@gmail.com wrote: [...] thufir@dur:~/NetBeansProjects/MudSocketClient$ thufir@dur:~/NetBeansProjects/MudSocketClient$ git branch * 001try_in_thread master thufir@dur:~/NetBeansProjects/MudSocketClient$

Re: [git-users] merge a conflict

2013-12-12 Thread Konstantin Khomoutov
On Thu, 12 Dec 2013 03:40:24 -0800 (PST) THUFIR HAWAT hawat.thu...@gmail.com wrote: Why didn't it say that there were conflicts? I mean, the files were totally different. Because your history looked something like this (I suppose): -A-B-C = master \-D-E = 001try_in_thread so as you

Re: [git-users] merge a conflict

2013-12-12 Thread Konstantin Khomoutov
On Thu, 12 Dec 2013 03:40:24 -0800 (PST) THUFIR HAWAT hawat.thu...@gmail.com wrote: Why didn't it say that there were conflicts? I mean, the files were totally different. And one more aspect to this, which I forgot to point out... Git *would* take differences in files when doing a merge *if*

Re: [git-users] ssh password reset

2013-12-13 Thread Konstantin Khomoutov
On Thu, 12 Dec 2013 19:38:31 -0800 thufir hawat.thu...@gmail.com wrote: I'm using github and when prompted for the password to the ssh keys (a pop-up window in Linux), I entered the wrong password. Now, when I try to use the keys, I get remote hung up because, presumably, it's not sending

Re: [git-users] push via VPN fails

2013-12-16 Thread Konstantin Khomoutov
On Sun, 15 Dec 2013 07:16:57 -0800 (PST) Daniel Ellison daniel.h.elli...@gmail.com wrote: I have a windows box on my home LAN that I use as a file server and the origin, with several Windows clients. I use eGit for Eclipse and everything works fine. One of my clients is a laptop I take on

<    2   3   4   5   6   7   8   9   10   11   >