[git-users] Pushing files into a subtree

2012-11-28 Thread Dale R. Worley
I am just beginning to use git. I've read the O'Reilly book (by Loeliger and McCullough), and (unexpectedly) it didn't give me a clear view of some of the messier aspects of git. So as a first question, I'd like to know if anyone knows of an exposition that gives a clear and accurate description

Re: [git-users] Pushing files into a subtree

2012-11-29 Thread Dale R. Worley
> From: Ryan Hodson > > If you're not looking for a submodule, you can just move the tracked files > into a subdirectory with 'mv' or through your file browser. Then run 'git > add .' in the project root and Git will figure out the file renames on its > own. The 'git mv' command can be used to th

Re: [git-users] securing data in a non-local repository

2012-12-11 Thread Dale R. Worley
> From: "Philip Oakley" > > But is there some way to have git keep the repository files > encrypted. In practice, it seems the easiest way to do that is to put the repository files in a separate, encrypted file system. That would take tremendously less work than incorporating encryption in ever

Re: [git-users] Pushing files into a subtree

2012-12-12 Thread Dale R. Worley
> From: "Philip Oakley" > > > OK, so it seems that when you move files around, and then tell git to > > notice that, git will automagically figure out what the moves were. > > The O'Reilly book wasn't clear on that. (Nor did it explain how git > > can distinguish a move from file that just happe

Re: [git-users] Pushing files into a subtree

2012-12-12 Thread Dale R. Worley
> From: "Philip Oakley" > > > Another question is this: I believe that the complete repository and > > its status lives in the .git directory. So if I move ./.git to > > ../.git, > > it has the same effect as if I moved all the normal files into a > > subdirectory of ".". Is that correct? >

Re: [git-users] Pushing files into a subtree

2012-12-14 Thread Dale R. Worley
> From: "Philip Oakley" > > > How, then, do merges handle this information? If the "delta" is that > > ./a/123 was moved into ./b/456, does the merging process understand > > that, and move the same file in the destination directory? Or does it > > only do so if ./a/123 in the destination direc

Re: [git-users] Re: interesting? observation about "git mv" propagation

2012-12-17 Thread Dale R. Worley
> From: Manlio Perillo > > [Git] "knows" that in your case they are the same: this is the > reason why the push was fast; your home repo already have the objects > with the same SHA. > > pull is slow because git has to unpack them; and yes, probably git could > be a bit more smart and check if a

Re: [git-users] Is it possible cp some file from one branch to another without switch branch

2012-12-18 Thread Dale R. Worley
> From: Konstantin Khomoutov > > In general, it's impossible to copy a file from one branch to another, > preserving its history. It must be *possible* to do that: You could do a merge between the head of A and the head of B, where all of the files of A are carried into the merged version, and

Re: [git-users] Is it possible cp some file from one branch to another without switch branch

2012-12-18 Thread Dale R. Worley
> From: Konstantin Khomoutov > > Since Git only records snapshots of whole trees and does not really > track individual files, there's no such *concept* as the history of an > individual file -- it might appear to exist (thanks to the > `git log ... ` command) but it's implemented as a filter > a

Re: [git-users] Is it possible cp some file from one branch to another without switch branch

2012-12-18 Thread Dale R. Worley
> From: Konstantin Khomoutov > > > > Since Git only records snapshots of whole trees and does not really > > > track individual files, there's no such *concept* as the history of an > > > individual file -- it might appear to exist (thanks to the > > > `git log ... ` command) but it's implemented

Re: [git-users] can I use the Git Logo in commercials ?

2012-12-19 Thread Dale R. Worley
> From: lalebarde > > I am building a new SaaS product and a new company for it. This product > will add some functionalities to Git via hooks. So I don't modify Git nor > redistribute it. My service will be accessible by configuring the Git > config file. > > Can I advertise my product with

Re: [git-users] Is it possible cp some file from one branch to another without switch branch

2012-12-19 Thread Dale R. Worley
> From: Konstantin Khomoutov > > > That's great! ... But the existence of git-blame means that git can, > > *in practice*, trace the history of an individual file, and even > > individual lines within a file. > > True, but your choice of the word "trace" is actually very precise, and > that's wh

Re: [git-users] How to install git on CentOS5 without root access?

2012-12-21 Thread Dale R. Worley
> From: Eric B > > [eric git]$ git clone https://e...@git.assembla.com/myproj.git > Cloning into 'myproj'... > Password for 'https://e...@git.assembla.com': > error: RPC failed; result=22, HTTP code = 401 > fatal: The remote end hung up unexpectedly > > In all fairness, I do not know if that is

Re: [git-users] Pushing symbolic references to remote repositories?

2012-12-21 Thread Dale R. Worley
> From: Dun Peal > > Is there a clean and reliable way to do that, or are symbolic references > just not meant to be shared? I may be well wrong, but my impression is that symbolic references are like branch names, in that they aren't things that can be pushed or pulled between repositories, th

Re: [git-users] Linux git clone throws error: RPC failed

2012-12-26 Thread Dale R. Worley
> From: Prabu RM > > This is the error we face while doing git clone in Linux: error: RPC > failed > > Any idea? This is the command we used to. > > git clone http://@gitserver/path/.git Trace the network traffic to see what request to "gitserver" is failing, and how it is failing. Dale D

Re: [git-users] File diff shows up as single line

2012-12-26 Thread Dale R. Worley
> From: Aaron Woehler > > I have two files in my repository that started showing up as single lines. > How do I fix this? The files show up fine in Eclipse and other editors. > > Here is what git-gui shows me. > > @@ -1 +1 @@ > - required="yes"> . > \ No newline at end of file > +

Re: [git-users] Git off-site security

2013-01-09 Thread Dale R. Worley
> From: John McKown > > This may be a rather ignorant question. It is based on the thread: "Can Git > do all of this?". Konstantin indicated that Web suppliers such as GitHub > are not secure. Why is this? Well, I guess maybe they could be hacked from > the outside, or perhaps an employee coul

Re: [git-users] Git attributes smudge/clean filters

2013-01-11 Thread Dale R. Worley
> From: Russell > > The problem is that the local files and the files in the repo end up out of > sync. The local files have the old date, but the repo has the modified > date. I have to rm the file and git checkout to get the change in > my local directory; strangely git checkout --force doe

Re: [git-users] it's not safe to set password wtih git config, can we not set it,

2013-01-18 Thread Dale R. Worley
> From: lei yang > > git config --global sendemail.smtppass this will display > password in .git config > > can we avoid this ? The value is in a configuration file which the user can read. If you modify the git code, you can prevent "git config" from printing it, but you can't stop the

Re: [git-users] Storing extra files for release versions.

2013-01-23 Thread Dale R. Worley
> From: Rahul Gupta > > This is probably a hangover from SVN habits but still I would like the Git > way doing this. > > Normally using SVN, when I work on a latex file, I store the pdf generated > in my Tag folder along with latex file. There is no concept of Tag folder > in Git and while I

Re: [git-users] Storing extra files for release versions.

2013-01-23 Thread Dale R. Worley
> From: wor...@alum.mit.edu (Dale R. Worley) > > I think you could get a similar effect by doing something like this: > [...] > > This leaves you with a tagged commit that is not on a branch and > contains the derived files, whose parent is the commit containing > exactl

Re: [git-users] What is the best way to use GIT for versioning Java Website

2013-01-28 Thread Dale R. Worley
> From: gaug...@gmail.com > > 1) Each developer having his own contetnts in a separate directory is not > able to test the code before pushing it to the bare repo which would update > the Work Directory- Coz of these steps even for say one jsp file change I > end up doing 20 commits until it st

Re: [git-users] Re: What is the best way to use GIT for versioning Java Website

2013-01-28 Thread Dale R. Worley
> From: John McKown > > You could have 3 Tomcat instances running on the same box simply by using > different ports for each. You could even allow each developer to have a > Tomcat instance on their desktop (Linux or Windows) by pointing that Tomcat > instance to their individual developer sub

Re: [git-users] Managing legacy projects with lots of (and mainly) patches

2013-01-29 Thread Dale R. Worley
> From: ryez > > 1. we use the master branch to reflect what we have in production > 2. for every patch, a separate patch branch is created from master > 3. when a patch is ready to release/deploy, we first check if the patch > branch can merge to master without conflict, if yes, the patch is th

Re: [git-users] Does git allow to delete objects, found in a reference repository?

2013-01-30 Thread Dale R. Worley
> From: Ivan L > > How can I delete from my repos the git objects that have appeared in the > cache repo? - The remote repo is a very huge one, and I don't want to waste > my space. > > If there is no such ability, then how can I report it as a feature-request > to the git development team?

Re: [git-users] Why Same Files show up with different Statuses in Git?

2013-01-30 Thread Dale R. Worley
> From: Matthew Johnson > > Under Windows (cygwin) "git status" shows nothing to commit, only untracked > files, which is what I expect; only under F17 do I get several modified > files -- and these have old dates (e.g. Nov 27). My guess is that it has something to do with line-endings or some

Re: [git-users] Why Same Files show up with different Statuses in Git?

2013-01-31 Thread Dale R. Worley
> From: Matthew Johnson > > What differences does it display? It lists about a hundred .ogg files (like > the one I included) as 'modified'. No, not what files are listed as different, but what are *the specific differences* -- what does 'diff' show? The way to see that you have EOL problems i

Re: [git-users] Re: Why Same Files show up with different Statuses in Git?

2013-01-31 Thread Dale R. Worley
> From: Matthew Johnson > > Good guess, I had not been thinking about the different EOLs, but all the > files that show up as modified only under Fedora are .ogg files: no EOLs at > all. Beware: You *think* of .ogg files as "having no EOLs", but I'm sure it contains plenty of bytes with the v

[git-users] Rebasing problems

2013-01-31 Thread Dale R. Worley
I'm investigating how rebase works, and I'm finding that it doesn't work well if the rebased branch contains merges. Am I using rebase incorrectly? In particular, if there are merge commits on the old branch that contain changes that are not contained in either of the commits that are merged, reb

Re: [git-users] Compiling Git on Linux..

2013-02-03 Thread Dale R. Worley
> From: Philip Oakley > > I then compiled with 'make prefix=/usr/local all' and got what I think > was a successful compile. I don't know how to compile Git, but the general practice in Unix builds is for "make" to *compile* the needed code, but only into files within the source/build directori

Re: [git-users] A plead for more meaningful syntax

2013-02-03 Thread Dale R. Worley
> From: Tristan Stanic > > What is the reason the git developers use obscure syntax? This make the git > learning curve uselessly complex. My belief is that the system grew over time, with many people using it well before it reached the current state. Thus, whatever syntax was first establishe

Re: [git-users] Re: Rebasing problems

2013-02-03 Thread Dale R. Worley
[git version 1.7.7.6] > From: Blind > > just use the "-m" option for the "git log" (same for diff-tree -m infact). Ugh. After the end of the procedure I posted, I executed "git log --graph -p -m". The output consists of: * commit 18786ae12592f49859509ee4b20bb83979f6ea2b | Author: Dal

Re: [git-users] Re: Rebasing problems

2013-02-03 Thread Dale R. Worley
> From: "Philip Oakley" > > Is this what they call an 'Evil Merge' (git style) where the final > content was not in either of the original commits. > > In such cases it's hard to attribute which source commit contained > the data that is in the merge. > > It's as if an additional change was a

Re: [git-users] Re: Rebasing problems

2013-02-03 Thread Dale R. Worley
> From: Blind > > there is still nothing wrong here, > just use the "-m" option for the "git log" (same for diff-tree -m infact). If you go to the end of the new branch ("git checkout rebase", but at the end of the script, that is where you are already), and look at the file "file", you will see

Re: [git-users] A plead for more meaningful syntax

2013-02-05 Thread Dale R. Worley
> From: Konstantin Khomoutov > > Subversion has/had its share of warts, too. You're right, of course, but the "warts" you are describing are *lack of features*, whereas Tristan's complaint is *inconsistent and complex user interface*. Those two issues are different, and there are conflicts in f

Re: [git-users] don't let you change branch with pending changes

2013-02-14 Thread Dale R. Worley
> From: Fabrizio Cioni > > I don't understand why the existing logic allows it, but i clearly see how > a distracted/in a rush/sleepless developer can make a mess of it; still > recoverable but very time-consuming when you find it x days later. There is the converse problem of making a bunch o

Re: [git-users] Help with .gitignore

2013-02-20 Thread Dale R. Worley
> From: Tom Avey > > I could use some help with gitignore. I set up a .gitignore file in the > root of my project with a line for WEB-INF. Before setting up that > .gitignore, the project has already been "init" and "commit" to master as > well some branching. Do I have to do anything else? I

Re: [git-users] Help with .gitignore

2013-02-20 Thread Dale R. Worley
> From: John McKown > > I take it WEB-INF is a subdirectory? Did you terminate it with a slash? > > I.e. use > > WEB-INF/ > > and not > > WEB-INF My experience is that a trailing slash is not necessary to cause a .gitignore entry to match a directory. Dale -- You received this message bec

Re: [git-users] To know the string in which branch

2013-02-21 Thread Dale R. Worley
> From: William Seiti Mizuta > > You can use "git grep string branch" to check if the string exists in the > branch. I think the question is, "How do you determine which branch contains a file that contains ?" Dale -- You received this message because you are subscribed to the Google Groups "

Re: [git-users] To know the string in which branch

2013-02-21 Thread Dale R. Worley
> From: John McKown > > git branch | awk '{print $NF;}' | xargs -l git grep "foo" Or (which is easier to generalize): for BRANCH in $( git branch | cut -c 3- ) ; do git grep "foo" $BRANCH ; done Dale -- You received this message because you are subscribed to the Google Groups "Git for human

Re: [git-users] git wont pull

2013-02-25 Thread Dale R. Worley
> From: Matt Snow > > For some unknown reason whenever I do a git pull, it just hangs. Nothing > happens. I have tried to remove all the files, do a git init, then try to > git pull again but no luck. One brute-force technique is to use a "trace" command to see what git is hanging on. (Us

Re: [git-users] Using git in "multi-branch" project

2013-02-26 Thread Dale R. Worley
> From: Vasiliy Tzukanov > > We need to figure out how can we manage few very similar projects in > parallel, without having to manually enforce their coherency. I'd suggest that you determine that you want to have a single code base from which an array of similar artifacts will be built. That

Re: [git-users] File modified after git clone

2013-02-26 Thread Dale R. Worley
> From: José Guilherme Vanz > > For a better explanation. This modified file is shown like all its lines > have been deleted and included again... That symptom means that the file formerly had LF line endings and was replaced by the version with CR-LF line endings (or vice-versa). Carefully extr

[git-users] Interlocking

2013-02-26 Thread Dale R. Worley
Is Git properly interlocked for multi-user use? By that I mean, if two processes on one computer simultaneously execute Git commands on the same directory, does Git ensure that the repository is not damaged, and the commands act reasonably (which might be simply failing)? Dale -- You received t

Re: [git-users] Interlocking

2013-02-27 Thread Dale R. Worley
> From: Konstantin Khomoutov > Depends on what you call "the same directory". > Git commands also fall into different categories depending on what they > do. I'm particularly interested in what happens if a process executes "git gc --aggressive". Are there dangers if another process executes Gi

Re: [git-users] File modified after git clone

2013-02-27 Thread Dale R. Worley
> From: José Guilherme Vanz > > I opened the modified file with a hexa viewer and the end of the lines > are 0D0A ( CRLF ). Now extract the *previous* version of the file, the one that Git thinks is so different, and look at its ends of lines. Dale -- You received this message because you are

Re: [git-users] Problem cloning a GIT repo, Out of memory, windows XP (32-bit)

2013-03-01 Thread Dale R. Worley
> From: Igor Kazarnovskiy > > Yes. I've added following entry to my .gitconfig: > > [pack] > packSizeLimit = 20m > > What is strange is that if i run git config --list i get following ouput: > > core.symlinks=false > core.autocrlf=true > color.diff=auto > color.status=auto > color.branch=

Re: [git-users] Re: git: Command not found.

2013-03-01 Thread Dale R. Worley
> From: banaca...@gmail.com > > I suppose I should say that I'm running OSX 10.8.2 on an iMac. The command ps $$ will show something like PID TTY STAT TIME COMMAND 12596 pts/1Ss 0:00 /bin/bash --noediting -i The question is what is showing under "COMMAND". In

Re: [git-users] Re: git: Command not found.

2013-03-01 Thread Dale R. Worley
> From: banaca...@gmail.com > > Here is what is returned: > > ps $$ > PID TT STAT TIME COMMAND > 28206 s000 S 0:00.02 -tcsh > > I confess I don't know what this means. It means that your shell program is the program called "tcsh". It is common enough that it has a Wikipedia pag

Re: [git-users] Configurable .gitignore filename?

2013-03-03 Thread Dale R. Worley
> From: Konstantin Khomoutov > > > Anyhow, the problem is with the second repository ".gitsync", it also > > uses the ".gitignore" files from my project's version control > > (the .git dir), and I don't want to use those in syncing / backup. > > Ideally ".gitignore" filename should be configurabl

Re: [git-users] basic queries on branching & merging in Git

2013-03-04 Thread Dale R. Worley
> From: Surya > > However, when I switched to "master" to create "b2" branch for fixing bug, > I found all the "untracked" files of "b1" branch in "master"!! The important point is that these untracked changes were changes in the files of the working directory. When you told Git to switch to t

Re: [git-users] Re: file locking

2013-03-13 Thread Dale R. Worley
> From: yosi.tsu...@gmail.com > > do you know any software that does what i need? RCS does have such locking. But most modern version control systems do not have such locking. Even CVS (created in 1990, i.e., 23 years ago) does not lock. Indeed its name is "Concurrent Versions System" -- its ma

Re: [git-users] help, why the same commit in one branch

2013-03-20 Thread Dale R. Worley
> From: lei yang > > I git clone git:// > git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git > > find v3.7-rc1 has two same commit ,can some one give me a detailed > explanation ? I see that two different commits, 33e1af... and efda0a... have very similar commit comments, the same

Re: [git-users] help, why the same commit in one branch

2013-03-21 Thread Dale R. Worley
> From: lei yang > > The have the same contents. Meaning that the older commit causes significant changes to the files and the newer commit causes no changes to the files. So someone made a second commit that changed nothing but provided a slightly different commit message. Dale Dale Worley -

Re: [git-users] help, why the same commit in one branch

2013-03-21 Thread Dale R. Worley
> From: lei yang > > I git show , it does change code, and the same as the > first That is quite odd. Have you checked what the graph of commit parents is? Dale -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from thi

Re: [git-users] Do commits remember branch names?

2013-03-21 Thread Dale R. Worley
> From: Brian Jones > > In out of the box git, do commits remember the name of the branch that > created them? If so, what command can I use to see that information? My > assumption is that commits do not record branch names but I want > confirmation. You are correct, commits do not remember

Re: [git-users] Keeping IDE files in a public project

2013-03-25 Thread Dale R. Worley
One approach might be to keep one set of branches that have your IDE files, and one set of branches that don't. Something like: 1. remote tracking branch from the authoritative repository 2. your working branch, without IDE files 3. your working branch(es), with IDE files You work in #3. Change

Re: [git-users] yum install git fails on Centos 6.2

2013-03-26 Thread Dale R. Worley
> From: William Seiti Mizuta > > You don't need to install each library above if you will use git from the > repository. It is necessary only if you want to compile git source code. I > recommend you to uninstall the packages and install only git. But that doesn't explain why "yum install git-co

Re: [git-users] Reformatting vs. git blame

2013-03-27 Thread Dale R. Worley
I must be overlooking something, because I don't think that you would see the effect you are expecting: > From: Paul Smith > > We accept that "git blame" across the reformat will not be useful. I'm > going to lay down a label right before the reformat, so people can use > that to trace back git

Re: [git-users] Reformatting vs. git blame

2013-03-27 Thread Dale R. Worley
> From: Paul Smith > > I'm not sure exactly how "git blame" works: the naive implementation > would walk back commits until it found one where each line was changed > (using a string compare). If that were the algorithm, the above would > work as I want. Obviously "git blame" is doing something

Re: [git-users] git apply doesn't add new files...?

2013-03-27 Thread Dale R. Worley
> From: Paul Smith > > So, I have a patch that was created with "git diff" (can't use > format-patch in my situation). If the patch deletes files, such as: > > then those deletes are reflected in Git after the "git apply", which is > good. But, if my patch ADDS a file, such as: > > then this

Re: [git-users] Reformatting vs. git blame

2013-03-27 Thread Dale R. Worley
> From: Paul Smith > > On Wed, 2013-03-27 at 13:51 -0400, Dale R. Worley wrote: > > But it suggests that if the same change > > was made in multiple ancestor commits, git-blame might be picking out > > the commit with the latest modification time. > > I can se

Re: [git-users] git apply doesn't add new files...?

2013-03-28 Thread Dale R. Worley
> From: Paul Smith > > Sorry, I was unclear. No, I didn't use --index as I wanted to see the > applied content before it was committed. > > I ran "git diff -M -C master" to generate the patch of changes between > my working directory and the master branch, then ran "git apply" (no > arguments)

[git-users] Using Git to track system file customizations

2013-03-28 Thread Dale R. Worley
I'm considering using Git to track the customizations I make to the system files of my Linux box. Has anyone done that and has hints on how to make it work well? Actually, I have two Linux boxes, and I need to track both sets of customizations. It looks easy enough to have one repository on each

Re: [git-users] git apply doesn't add new files...?

2013-03-28 Thread Dale R. Worley
> From: Paul Smith > > Maybe I should restate. The problem is that if I run "git apply" > followed by "git commit -a", the files that were modified and deleted > are both committed, but new files from the patch are not committed. That is true. > I sort of understand it from a Git point of view

Re: [git-users] Re: Using Git to track system file customizations

2013-04-02 Thread Dale R. Worley
> From: Thomas Ferris Nicolaisen > > Dale, from my perspective it's fairly obvious that a tool like Puppet, > Chef, or CFEngine is the way to go about here. Those look way too heavy-weight for me. I just need a tool that keeps track of the deltas to files that are due to my intervention vs. th

[git-users] Getting "git submodule init" to work

2013-04-25 Thread Dale R. Worley
OK, how to I set up a submodule? As far as I can tell from "Version Control with Git", I should be able to: 1. Write .gitmodules with the appropriate configuration values. In my case: [submodule "T9"] path = T9 url = /home/worley/T9 2. Execute "git submodule init" to copy these

[git-users] Getting "git submodule init" to work

2013-04-25 Thread Dale R. Worley
OK, how to I set up a submodule? As far as I can tell from "Version Control with Git", I should be able to: 1. Write .gitmodules with the appropriate configuration values. In my case: [submodule "T9"] path = T9 url = /home/worley/T9 2. Execute "git submodule init" to copy these

Re: [git-users] Re: Getting "git submodule init" to work

2013-04-26 Thread Dale R. Worley
> From: "Philip Oakley" > > 1. Write .gitmodules with the appropriate configuration values. In my > case: > > [submodule "T9"] > path = T9 > url = /home/worley/T9 > > Is this the right form for the 'URL'. It just looks like a directory > path. Try to com

Re: [git-users] Re: Getting "git submodule init" to work

2013-04-26 Thread Dale R. Worley
> From: Thomas Ferris Nicolaisen > > I get the same behavior here. However, when using the approach described > in http://git-scm.com/book/en/Git-Tools-Submodules - with *git submodule > add ...*, it works. > > Reading in the docs about what the init and update commands do, I was also > a bit

Re: [git-users] How to prevent pulls from wrong repository

2013-04-29 Thread Dale R. Worley
> From: David Cherian > > I am startled with the fact that I can pull two completely different repos > into each other. Ultimately, a Git repository is a storage bin of commits, with the constraint that all of a commit's parents must also be in the storage bin. If you pull commits from two dif

Re: [git-users] Re: How to organise the workflow

2013-05-02 Thread Dale R. Worley
> From: Philip Oakley > > Update > Just found > http://git.661346.n2.nabble.com/gitk-pays-too-much-attention-to-file-timestamps-td4861833.html > "git update-index --refresh -q" (may need a trailing '*') appears to be the > plumbing command > (see third item *Jonathan > Nieder-2*

Re: [git-users] Git porcelain command to revert a single file to its HEAD state but keep its staged state?

2013-05-02 Thread Dale R. Worley
> > Is there a git porcelain command to revert the working dir state of a > > staged file to its HEAD state and at the same time keep the staged state of > > the file? git show HEAD:$FILE >$FILE Dale -- You received this message because you are subscribed to the Google Groups "Git for human

Re: [git-users] Re: Getting "git submodule init" to work

2013-05-02 Thread Dale R. Worley
> From: Thomas Ferris Nicolaisen > > I get the same behavior here. However, when using the approach described > in http://git-scm.com/book/en/Git-Tools-Submodules - with *git submodule > add ...*, it works. > > Reading in the docs about what the init and update commands do, I was also > a bit

Re: [git-users] keeping #comments inside the commit message

2013-05-03 Thread Dale R. Worley
> From: bart9h > > When you edit the commit message, it comes with a bunch of comments at the > end of the file that will be removed automatically later. > > I thought it should remove just the consecutive lines starting with # at > the end of the file, not lines starting with # inside the mes

Re: [git-users] keeping #comments inside the commit message

2013-05-08 Thread Dale R. Worley
> From: Rodolfo > > I'm not "wrong", I know git is behaving as it was specified to behave. > > I just think the other way would be better, and suggesting the > specification could be changed. Be aware that there is a language difficulty here: The particular verb forms that you used in your ori

[git-users] Somewhat quiet commit output?

2013-05-15 Thread Dale R. Worley
If I run "git commit", Git will output a lot of detailed information about the commit: $ git commit -m 'Daily update.' [master bb56ea6] Daily update. 1477 files changed, 183898 insertions(+), 8 deletions(-) rewrite GTD/Email.ods (72%) create mode 12 [etc.] $ If I run "git commit -q", Git

[git-users] Given object file in Git, determine its path, or at least, its contents

2013-05-16 Thread Dale R. Worley
I have a brand new, large file in my repository. I know that its object file is: .git/objects/87/266d373359958e4fa9b51808ae076db9303923 I would like to determine the path name it has (and in which commit). I would also like to be able to extract its file contents (somewhat like "git show" would

[git-users] GUI repository browser?

2013-05-16 Thread Dale R. Worley
What is a good GUI repository browser (under Linux)? I've just tried gitk, and it seems to be good enough, except there is no way to save a copy of a file in a commit -- you can *display* it, but you can't save it, as far as I can tell. Dale -- You received this message because you are subscrib

Re: [git-users] Re: GUI repository browser?

2013-05-17 Thread Dale R. Worley
> From: Alex Lewis > As far as I can tell in gitg you can save a copy of the file by going to > the "files" tab when a commit is selected, find the file you want and click > 'n' drag it to your desktop or another folder. There doesn't appear to be a > menu option for this feature so it's not a

Re: [git-users] proper meaning of '.' dot in a git command?

2013-05-17 Thread Dale R. Worley
> From: "Philip Oakley" > > Recently there have been a couple of example commands that have a single > dot '.' in the command line. > > In this case what is its proper meaning, that is, is it expanded by the > bash shell, or by git it self, and what would its typical expanded > version look l

Re: [git-users] Re: GUI repository browser?

2013-05-17 Thread Dale R. Worley
> From: Alex Lewis > > Is Fugitive.vim any help? > http://www.vim.org/scripts/script.php?script_id=2975 > > I'm a little bit lost as to what you're environment is :) > > Can you explain your environment/setup a bit, where the repository is you > want to browse (local/remote), etc? The spec

Re: [git-users] Re: GUI repository browser?

2013-05-17 Thread Dale R. Worley
> From: Alex Lewis > > Is Fugitive.vim any help? > http://www.vim.org/scripts/script.php?script_id=2975 > > I'm a little bit lost as to what you're environment is :) > > Can you explain your environment/setup a bit, where the repository is you > want to browse (local/remote), etc? [more]

[git-users] Combining two branches

2013-05-18 Thread Dale R. Worley
While experimenting with using Git as a backup tool (by automatically snapshotting my home directory), I've generated a long branch which is a series of commits that record states of my home directory. Actually, I've got *two* such branches. It would be very convenient if I could assemble the two

Re: [git-users] fatal: empty ident name (for ) not allowed but I can't fix this

2013-05-21 Thread Dale R. Worley
> From: Tim Richardson > > In git version 1.8.2.3 (in arch) I'm getting this message when doing git > commit -a > > fatal: empty ident name (for ) not allowed > > > I get this message in a brand new repository. > I'm getting the same message in Ubuntu 12.10 which has 1.8.1.2 > > The message

Re: [git-users] Highlevel (but simple to implement) commands provided by default for git

2013-05-29 Thread Dale R. Worley
> From: Bráulio Bhavamitra > > Adding highlevel commands, even though it could be implemented by a > simple alias, would put git in another level of user experience and > create a new standard for newbie users. What git developers think > about this? It's a great idea, but beware that doing suc

Re: [git-users] how to use git in folders subfolders ?

2013-06-02 Thread Dale R. Worley
> From: git-guy > > how guys i have 7 folders - > > 1 - main > 6 subfolders for any projects > > the thing is, the another 6 folders git work perfect > > but if i try do a commit in the main, always apper that > > git status > # On branch master > # Changes not staged for commit: > # (use

[git-users] Getting good compression

2013-06-06 Thread Dale R. Worley
I an working on a system to archive files for backup purposes. The current challenge is a Unix mailbox file which is about 100Mb. By its nature, new mail is added to the file at the end and most of that is rapidly deleted. The first 90%+ of the file is old mail that largely doesn't change. I pu

[git-users] Problem with "git checkout --orphan"

2013-06-06 Thread Dale R. Worley
When you want to create a new branch that has no ancestors, you use "git checkout --orphan" to set the repository in a state where the next commit will have no parents. However, it appears that one can only do "git checkout --orphan" only if the *current* state will *not* create an orphan commit.

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

2013-06-07 Thread Dale R. Worley
> From: Konstantin Khomoutov > > Works for me with Git 1.8.1: Good. I will check again when I upgrade to Git >=1.8.1. Dale -- 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

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

2013-06-07 Thread Dale R. Worley
> From: Thomas Ferris Nicolaisen > > Repos (or branches) without history are funny places where a lot of > operations make less or more sense. The place to address this is the Git > developer mailing list, but the use-case does sound a bit, well, pointless. It's true that it's not very import

Re: [git-users] Getting good compression

2013-06-07 Thread Dale R. Worley
> From: Martin Mųller Skarbiniks Pedersen > > It sounds like you are using the mbox email format where everything is > kept inside a > single file. That is correct. > Have you considered using the Maildir fomat instead ? No, because my mail reader uses mbox format (and it might require various

Re: [git-users] Getting good compression

2013-06-09 Thread Dale R. Worley
> $ time git repack -d -l -f --depth=250 --window=250 -A --window-memory=1g >From the manual pages and testing its behavior, when "git repack" is executed by "git gc", the default --window-memory value is supplied by the pack.windowMemory configuration value: pack.windowMemory

[git-users] Difficulty adding a symbolic link

2013-06-13 Thread Dale R. Worley
I'm having a problem with "git add" in version 1.7.7.6. The situation is that I have a repository that is contained in a second-level directory, a sub-sub-directory of "/". The core.worktree of the repository is "/", so the working directory is the entire file tree. I want this repository to tra

Re: [git-users] Difficulty adding a symbolic link

2013-06-14 Thread Dale R. Worley
> From: PJ Weisberg > > I would bet that /dev/dvd is on a different filesystem than the repository, > and /etc/hosts is not. Not that that explains/solves your problem; I'm > just speculating on what the difference might be. Git has no problem with > symlinks in a more traditionally laid-out re

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

2013-06-20 Thread Dale R. Worley
> From: Konstantin Khomoutov > > > Then after fixing the bug in 3 files (for eg index.php, register.php > > and login.php), i merge it in the master branch > > > > *>git checkout master > > > **>git merge bugfix* > > > > The above code will merge all the 3 files i made changes, but is > > there

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

2013-06-21 Thread Dale R. Worley
> From: Konstantin Khomoutov > > Well, this is about different mindsets ;-) > Mine is that if we do not need a set of files, we drop changes in them > from the index, and then commit. Quite true -- My approach was when there is a group of changes that need to be committed, but you want to divide

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

2013-06-25 Thread Dale R. Worley
> From: Ling > > I'm about to move the git repository directory from current one: /opt/git > to new one: /passdev/git. > > And I got some question regards how to perform this? > > First I will Shut down git and I tried to search online but I can't find > any links on how to shutdown git? coul

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

2013-06-25 Thread Dale R. Worley
> From: lingfei ouyang > > Just another quick question? Since after we move the git repo folders, how > I can check if the git is running correctly? Well, you could just run any Git command and see if it works. But one choice is to do "git fsck" with any arguments needed to make it as comprehen

Re: [git-users] git5 patch error

2013-06-26 Thread Dale R. Worley
> From: Chris Sweeney > g4: Error copying /home/szegedy/vs12/google3/learning/dist_belief/BUILD to > /tmp/g4-111957/46003002/depot/google3/learning/dist_belief/BUILD You have checked that you aren't running into something simple, like /tmp running out of space, being unwritable, etc.? Dale --

  1   2   3   4   >