[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 hodson.r...@gmail.com 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

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

2012-12-11 Thread Dale R. Worley
From: Philip Oakley philipoak...@iee.org 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

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

2012-12-12 Thread Dale R. Worley
From: Philip Oakley philipoak...@iee.org 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

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

2012-12-12 Thread Dale R. Worley
From: Philip Oakley philipoak...@iee.org 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

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

2012-12-14 Thread Dale R. Worley
From: Philip Oakley philipoak...@iee.org 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

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

2012-12-17 Thread Dale R. Worley
From: Manlio Perillo manlio.peri...@gmail.com [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

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 flatw...@users.sourceforge.net 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

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 flatw...@users.sourceforge.net 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 ... filename` command) but

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 flatw...@users.sourceforge.net 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 ... filename`

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

2012-12-19 Thread Dale R. Worley
From: lalebarde l.aleba...@free.fr 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

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 flatw...@users.sourceforge.net 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

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

2012-12-21 Thread Dale R. Worley
From: Eric B ebenza...@gmail.com [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

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

2012-12-21 Thread Dale R. Worley
From: Dun Peal dunpea...@gmail.com 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

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

2012-12-26 Thread Dale R. Worley
From: Prabu RM pr...@vembu.com 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://user@gitserver/path/module.git Trace the network traffic to see what request to gitserver is failing, and how it is

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

2012-12-26 Thread Dale R. Worley
From: Aaron Woehler aaron.woeh...@alaska.gov 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 @@ -cffunction name=table_data_inputcfargument

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

2013-01-09 Thread Dale R. Worley
From: John McKown john.archie.mck...@gmail.com 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

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

2013-01-11 Thread Dale R. Worley
From: Russell im.russell.smi...@gmail.com 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 myFile to get the change in my local directory;

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 yanglei.f...@gmail.com 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

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

2013-01-23 Thread Dale R. Worley
From: Rahul Gupta rahulgupt...@gmail.com 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

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 exactly the source files. You may want

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 starts

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 john.archie.mck...@gmail.com 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

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

2013-01-29 Thread Dale R. Worley
From: ryez rye...@gmail.com 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

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

2013-01-30 Thread Dale R. Worley
From: Ivan L abys...@gmail.com 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

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

2013-01-30 Thread Dale R. Worley
From: Matthew Johnson mejoh...@gmail.com 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

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

2013-01-31 Thread Dale R. Worley
From: Matthew Johnson mejoh...@gmail.com 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

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

2013-01-31 Thread Dale R. Worley
From: Matthew Johnson mejoh...@gmail.com 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

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

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

2013-02-03 Thread Dale R. Worley
From: Philip Oakley philipoak...@iee.org 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

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

2013-02-03 Thread Dale R. Worley
From: Tristan Stanic tritanix.z...@gmail.com 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

Re: [git-users] Re: Rebasing problems

2013-02-03 Thread Dale R. Worley
[git version 1.7.7.6] From: Blind stoycho.slept...@gmail.com 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

Re: [git-users] Re: Rebasing problems

2013-02-03 Thread Dale R. Worley
From: Blind stoycho.slept...@gmail.com 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

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

2013-02-14 Thread Dale R. Worley
From: Fabrizio Cioni fabrizio.ci...@gmail.com 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

Re: [git-users] Help with .gitignore

2013-02-20 Thread Dale R. Worley
From: Tom Avey toma...@fgbc.org 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

Re: [git-users] Help with .gitignore

2013-02-20 Thread Dale R. Worley
From: John McKown john.archie.mck...@gmail.com 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

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

2013-02-21 Thread Dale R. Worley
From: William Seiti Mizuta william.miz...@gmail.com 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 string? Dale -- You received this message because you are subscribed

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

2013-02-21 Thread Dale R. Worley
From: John McKown john.archie.mck...@gmail.com 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

Re: [git-users] git wont pull

2013-02-25 Thread Dale R. Worley
From: Matt Snow ctsgm...@gmail.com 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

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

2013-02-26 Thread Dale R. Worley
From: Vasiliy Tzukanov vasy...@gmail.com 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

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

2013-02-26 Thread Dale R. Worley
From: José Guilherme Vanz guilherme@gmail.com 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

[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

Re: [git-users] Interlocking

2013-02-27 Thread Dale R. Worley
From: Konstantin Khomoutov flatw...@users.sourceforge.net 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

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

2013-02-27 Thread Dale R. Worley
From: José Guilherme Vanz guilherme@gmail.com 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

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 igor.kazarnovs...@googlemail.com 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

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 my

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 page:

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

2013-03-03 Thread Dale R. Worley
From: Konstantin Khomoutov flatw...@users.sourceforge.net 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

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

2013-03-04 Thread Dale R. Worley
From: Surya kasturisu...@gmail.com 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

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 major

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

2013-03-21 Thread Dale R. Worley
From: lei yang yanglei.f...@gmail.com 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.

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

2013-03-21 Thread Dale R. Worley
From: lei yang yanglei.f...@gmail.com I git show second commit id , 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

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

2013-03-21 Thread Dale R. Worley
From: Brian Jones caneri...@gmail.com 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

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.

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

2013-03-26 Thread Dale R. Worley
From: William Seiti Mizuta william.miz...@gmail.com 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

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 p...@mad-scientist.net 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

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

2013-03-27 Thread Dale R. Worley
From: Paul Smith p...@mad-scientist.net 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

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

2013-03-27 Thread Dale R. Worley
From: Paul Smith p...@mad-scientist.net 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:

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

2013-03-27 Thread Dale R. Worley
From: Paul Smith p...@mad-scientist.net 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 see an argument to be made

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

2013-03-28 Thread Dale R. Worley
From: Paul Smith p...@mad-scientist.net 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

[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

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

2013-03-28 Thread Dale R. Worley
From: Paul Smith p...@mad-scientist.net 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

[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 philipoak...@iee.org 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

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

2013-04-26 Thread Dale R. Worley
From: Thomas Ferris Nicolaisen tfn...@gmail.com 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

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

2013-04-29 Thread Dale R. Worley
From: David Cherian david.cher...@gmail.com 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

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

2013-05-02 Thread Dale R. Worley
From: Philip Oakley philipoak...@iee.org 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

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 beings

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

2013-05-02 Thread Dale R. Worley
From: Thomas Ferris Nicolaisen tfn...@gmail.com 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

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

2013-05-03 Thread Dale R. Worley
From: bart9h rodolfo.bor...@gmail.com 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

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

2013-05-08 Thread Dale R. Worley
From: Rodolfo rodolfo.bor...@gmail.com 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

[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

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

2013-05-17 Thread Dale R. Worley
From: Alex Lewis alex.lewis...@gmail.com 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

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

2013-05-17 Thread Dale R. Worley
From: Philip Oakley philipoak...@iee.org 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

[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

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

2013-05-21 Thread Dale R. Worley
From: Tim Richardson t...@tim-richardson.net In git version 1.8.2.3 (in arch) I'm getting this message when doing git commit -a fatal: empty ident name (for tim@newton.(none)) not allowed I get this message in a brand new repository. I'm getting the same message in Ubuntu 12.10

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 brauli...@gmail.com 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

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

2013-06-02 Thread Dale R. Worley
From: git-guy douglasdeod...@gmail.com 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:

[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

[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 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. Dale -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and

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

2013-06-07 Thread Dale R. Worley
From: Thomas Ferris Nicolaisen tfn...@gmail.com 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

Re: [git-users] Getting good compression

2013-06-07 Thread Dale R. Worley
From: Martin Mųller Skarbiniks Pedersen traxpla...@gmail.com 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

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 track

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

2013-06-14 Thread Dale R. Worley
From: PJ Weisberg pjweisb...@gmail.com 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

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

2013-06-20 Thread Dale R. Worley
From: Konstantin Khomoutov flatw...@users.sourceforge.net 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

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 oylf1...@gmail.com 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

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 oylf1...@gmail.com 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

Re: [git-users] git5 patch error

2013-06-26 Thread Dale R. Worley
From: Chris Sweeney cswee...@google.com 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

Re: [git-users] newbie questions

2013-06-28 Thread Dale R. Worley
From: HWSWMAN ed.pat...@gmail.com i have a linux server with our website files, and i have me, plus a few developers in another country ... myself and the developers share the same SSH access username That is generally a bad idea, because then the access of a single developer cannot be

Re: [git-users] newbie questions

2013-06-28 Thread Dale R. Worley
Generally, for simple projects with multiple developers, the pattern is to have one central bare repository that is the official copy of all the commits. Each developer then has their own repository with an attached working directory. Each repository is created as a clone of the central

Re: [git-users] How best to show changes from a number of commits?

2013-06-28 Thread Dale R. Worley
From: Sam Roberts vieuxt...@gmail.com You have interleaved your changes with others on master? If so, yes, you should have done on a branch. You can cherrypick them all to a branch, and rebase master... but probably noone will thank you for that :-) If you just want a diff that shows the

Re: [git-users] newbie questions

2013-06-28 Thread Dale R. Worley
From: Ed Pataky ed.pat...@gmail.com One thing I am concerned about is that it seems like there is no protection from someone in via ftp and changing files .. i assumed that version control meant that the files are protected .. why doesn't git protect the files? What i mean is, this seems

Re: [git-users] newbie questions

2013-06-28 Thread Dale R. Worley
From: Ed Pataky ed.pat...@gmail.com the downside of this seems to be that all the developers/contributors have to know how to merge correctly Yeah, but that's true of any version control system that does not have a centralized locking system to prevent two developers from changing a single

Re: [git-users] Do I have to download all files?

2013-07-02 Thread Dale R. Worley
From: HWSWMAN ed.pat...@gmail.com If I create a git repo for multiple projects, for example ALL projects that my team works on, when they clone and pull, do they have to download all the files? Can they sort of selectively download the files they may want to read or work on? I

Re: [git-users] newbie questions

2013-07-04 Thread Dale R. Worley
From: Ed Pataky ed.pat...@gmail.com Can you have multiple access points within a repo? What I mean is, suppose i have a repo accessing: ./DIR/ And I want some people to access ./DIR/FOLDER1/ and other to access ./DIR/FOLDER2/ But I want access to the whole thing .. can I make each

  1   2   3   4   >