Re: [git-users] git-filter-branch : How to filter all commits from an given commit ?

2014-10-24 Thread Dale R. Worley
> From: Alcolo Alcolo > Because C can be a base commit of branches and merges, then it's a > nightmare to rebase. > > I know that scripts exists to rebase merges (based on git-rev-list, > git-cat-file, git-hash-object/git-commit-tree), but those scripts redo the > git-filter-branch job. Actu

Re: [git-users] error:-unexpected end of file while creating alias

2014-10-27 Thread Dale R. Worley
> From: Trivender Ghangas > > I am trying to create an alias to simplify the process of cloning a > repository with branches. I added alias in C:\Program > Files\Git\etc\gitconfig > > gitconfig : https://www.dropbox.com/s/iumnqmkfk1ua8ty/gitconfig?dl=0 > > I am getting error [attached error.

Re: [git-users] Git objects and user permissions

2014-10-27 Thread Dale R. Worley
> From: Jon Zeolla > Nevermind I guess the sticky bit trickles down throughout the whole > directory structure. Strictly speaking, the default value of the sticky bit when a directory is created is the sticky bit value of its parent directory. It trickles down when the directories are cre

Re: [git-users] git revision number

2014-10-29 Thread Dale R. Worley
> From: guru prasad > Now my question is if the project version is 1.2.3.4 Git doesn't record "version numbers" of any sort. So you have to store the version number(s) in one or more files, so that the program that creates the archive file can extract the version number(s) and to the correct th

Re: [git-users] how to convince git ls-files to include ALL files in repo?

2014-11-03 Thread Dale R. Worley
> From: Sam Roberts > Alternatively, there must be a command that gives the path to the root > of the current .git tree, what is that command? I could use its output > as an argument to git ls-files... "git rev-parse --show-toplevel" There are several related options; see the manual page. Dale

Re: [git-users] Git ancestor/descendant terminogy clarification

2014-11-03 Thread Dale R. Worley
> From: Vasily Makarov > > Git documentation defines commit ancestry as "reachability" of one commit > from another. > Formally, this might mean that every commit is ancestor and descendant of > itself. > I've also checked git merge-base --is-ancestor and found it returns "true" > for same co

Re: [git-users] How to remove folder and it's contents from repo

2014-11-04 Thread Dale R. Worley
> From: citm09 > Currently my repo contains all these _notes folder located under different > folders in this tree structure. How do I remove these _notes folder and > it's contains. I do not want Git to track these _notes folders and it's > contents. What you need to do is put "_notes" in th

Re: [git-users] Re: Is it possible to revert the commit in a particular (individual) branch

2014-11-08 Thread Dale R. Worley
> From: Vasily Makarov > > It's not clear what the actual problem is. > Git doesn't allow you to revert a commit you don't like? > Or, maybe, you want to revert the merge commit? Also, what does "revert" mean? The "head of a branch" is simply a pointer (whose name is the branch name) that point

Re: [git-users] git 1.9.4‏ for window prompt sh.exe: /dev/null No such file or dirctory

2014-11-14 Thread Dale R. Worley
> From: Thanakorn Sathitwitayakul > > I just install git-1.9.4-preview20140929 on my notebook pc, window 7 64 bit > system. When I run git for the first time I got error message; > > sh.exe: /dev/null No such file or directory > > When I input some command in git, it run not thing but > > fa

Re: [git-users] On bash doing git add '' troubles

2014-11-17 Thread Dale R. Worley
> From: Guilherme > > The problem here is not the LF to CRLF conversion i know where that > comes from. The problem is that doing > > git add '' CDD/CDD_Diag.c > > results in a message about another file which was clearly not my > intention to add. When I experiment, "git add ''" seems to have

Re: [git-users] Merge without replacing the outdated data.

2014-11-19 Thread Dale R. Worley
> From: Dmitry Moscow > I got to branch A which I want to 'merge' (preserving the differencies) > with branch B. > I run git read-tree -m HEAD > I get a number of files updated and added in my working folder. Files that > were absent in branch A are added, the differenceis are applied. But >

Re: [git-users] Problems with .gitignore and the argument "--separate-git-dir"

2014-11-19 Thread Dale R. Worley
> From: Arnaud BONNET >Process used: >1- Creation of deposit (made with the user "ace") > 1- cd /home/ace/RDS/010 > 2 git init --separate-git-dir=/home/ace/RDS/010.git > 3 echo "*%" >> /home/ace/RDS/010.git/.gitignore > 4 echo "* ~" >> /home/ace/RDS/010.git/.gitignore

Re: [git-users] Cleaning up Git Meta data on Central Server

2014-11-21 Thread Dale R. Worley
> From: krishna chaitanya kurnala > I observed that in some cases, Git clone is not working, It either Hangs or > it will take hours to clone some repos > > remote: Compressing objects: 100% (69/69), done. > fatal: Out of memory, malloc failed (tried to allocate 2305676104 bytes) > fatal: unpac

Re: [git-users] How to move manually-versionned files to git (version control)?

2014-11-27 Thread Dale R. Worley
> From: John McKown > commit -m 'myfile as of ' The manual page for git-commit says: --date= Override the author date used in the commit. DATE FORMATS The GIT_AUTHOR_DATE, GIT_COMMITTER_DATE environment variables and the --date option support the following d

[git-users] git fsck finds a missing blob but doesn't say why

2014-11-29 Thread Dale R. Worley
(I am using git version 1.8.3.1.) Some references for git-fsck are like this: https://git.help.collab.net/entries/22580428-Recovering-from-repository-corruption $ git fsck --full broken link fromtree 2d9263c6d23595e7cb2a21e5ebbb53655278dff8 toblob 4b9458b37

Re: [git-users] How to clear history of all repo url that has been accessed from local machine?

2014-12-01 Thread Dale R. Worley
> From: OC0915566 > My company is upgrading the laptops and so, they're selling the old ones. > The problem is, we've been using the old laptops to access remote git repos > and the employer would like to clean all possible traces of repo URLs that > have been accessed in these laptops. How do

Re: [git-users] GIT server is not working

2014-12-04 Thread Dale R. Worley
Is the server process running on cmtoldshrdjk01? What do its log files say? Can you connect to cmtoldshrdjk01 port 80 using telnet from the server itself? Dale -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this g

Re: [git-users] Different behaviour for git add with ignored files

2014-12-04 Thread Dale R. Worley
Guilherme writes: > In my .git/info/exclude i have the patterns: > > !COM/config/Project.gny > (...) other ignores > /COM/config > (...) more ignores Is that perhaps a mistake? I believe you want the first line to be "!/COM/config/Project.gny", because there is only one Project.gny file that you

Re: [git-users] Re: git fsck finds a missing blob but doesn't say why

2014-12-04 Thread Dale R. Worley
Thomas Ferris Nicolaisen writes: > Here's what happens when I try removing some random object in my Git repo > (using Git 2.0.0): > > git init; git add .;git commit -m "inital" > rm .git/objects/00/79c7f07eb4bfbc08cc21f3324e7997e0b05415 > git fsck > > Checking object directories: 100% (256/256),

Re: [git-users] user jhu06: authentication failure for "/opt/git/web-app.git/info/refs": Password Mismatch

2014-12-10 Thread Dale R. Worley
Jirong Hu writes: > I have a GIT running on a Linux server. When I start the httpd service on > the server, login with my id/password to > http://cmtoldshrdjk01.dev.bmocm.com/web-app2.git/, my account got locked > due to the following error found in the error.log > > Where shall I look for the

Re: [git-users] user jhu06: authentication failure for "/opt/git/web-app.git/info/refs": Password Mismatch

2014-12-11 Thread Dale R. Worley
Jirong Hu writes: > I just run another test. When I start the httpd, this message appears in > the error.log. I have to shut it down immediately. I am wondering which > product/process I am using will automatically send request to git? Maven, > TeamCity, Artifactory? I am not running any builds

Re: [git-users] git stash restores some, but not all, changes

2014-12-11 Thread Dale R. Worley
Fortunately, "git diff stash@{0}" will probably show the differences between the stashed files and your current working directory. It seems like Git is smart enough to know that the stash-pop is failing and not delete record of the top stash. But it does sound like there are a number of bugs in g

Re: [git-users] rolling back to the first commit in a repository

2014-12-15 Thread Dale R. Worley
Kevin Wilson writes: > Is there a command to roll back to the first commit in a repository? Assuming that you want to reset the HEAD branch and the working directory to be in the state of the first commit, the command would be: git reset --hard {first-commit-hash} As far as I know, there is

Re: [git-users] rolling back to the first commit in a repository

2014-12-15 Thread Dale R. Worley
Konstantin Khomoutov writes: > git log --reverse > > should help. OK, that means that git reset --hard $( git log --reverse --pretty=tformat:%H | head -1 ) will reset the HEAD branch, the index, and the working directory to the "first" commit on the HEAD branch. But you should first thi

Re: [git-users] Unable to access Git

2014-12-16 Thread Dale R. Worley
Ramesh karanam writes: >fatal: Unable to look up git.videolan.org (port 9418) (Name or service > not known) > > Please suggest me about this issue It is a networking problem of some sort, not a Git problem. You can test with "telnet git.videolan.org 9418". Dale -- You received this mess

Re: [git-users] How git handle file blob?

2014-12-26 Thread Dale R. Worley
writes: > I have a git repository, which master is empty and a branch contains > android 5.0.0_r1. (Yes, I packed all android git repository into one). > > Now I want to push android 5.0.2_r1 into the repository. I checkout the > master git an empty work place. Then create a new branch called >

Re: [git-users] How git handle file blob?

2014-12-28 Thread Dale R. Worley
writes: > I am pretty sure most of the files are the same by git diff. Does that mean that you have actually done a git-diff and examined the total size of the files whose content has changed? > There is only small parts of the code base differ. > > Just like you said, I expect only sligh

Re: [git-users] How git handle file blob?

2014-12-30 Thread Dale R. Worley
writes: >I did not use git diff because there are too many files. >But when git add -A;git commit is don, most files are "added". >This means git think most files are treated as new. It means that git thinks most files are "new", in that git does not believe that the file names exist

Re: [git-users] .gitignore pattern

2015-01-05 Thread Dale R. Worley
Rainer M Krug writes: > Actually, I would like to exclude all files which have the > following pattern: > > EnergyBalance.org[SOMETEXT] > > I tried > > EnergyBalance.org[.] > EnergyBalance.org[*] > > but none worked. I don't know what notation you're using for the "following pattern". Be aware t

Re: [git-users] .gitignore pattern

2015-01-06 Thread Dale R. Worley
Rainer M Krug writes: >> If you mean that the "base file name" >> (the name within the nearest containing directory) matches the regexp >> "EnergyBalance\.org.*", the "wildcard" version is "EnergyBalance.org*". > Just one question: why do you escape the "."? As far as I understand, it > has n

Re: [git-users] Commit not happening , origin/master diverged . How to commit without pulling the last commit code .

2015-01-11 Thread Dale R. Worley
Vishal Dandge writes: > i tried everyday to commit but was able to commit . Do you mean "*un*able to commit? What command did you execute? What error did you receive? Dale -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscri

Re: [git-users] Best practices: Derived Files

2015-01-21 Thread Dale R. Worley
Owen Densmore writes: > What's the best practice for "derived files" in a git repo? Don't put them in the repository. There are only two cases: (1) The version of the derived file in the repo is correct relative the files that it's derived from. In that case, the derived file is redundant. (2

Re: [git-users] Path nomenclature in Git

2015-01-25 Thread Dale R. Worley
John McWilliam writes: > 1. I am a total beginner here and am constantly seeing referals to > "~/FileName" This is obviously shorthand for something but what? Is it the > location of the Git program directory or perhaps my working tree. How can I > define this? This is "shorthand" for the path

Re: [git-users] Question: how to obtain branch information from tag?

2015-01-28 Thread Dale R. Worley
"Jagadeesh N. Malakannavar" writes: > Is there any way to get branch details using tag name? What do you mean? A tag denotes a particular commit, not a branch. Dale -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from

Re: [git-users] Single Branch repository has objects from other branches

2015-02-15 Thread Dale R. Worley
phillip.l...@newcastle.ac.uk (Phillip Lord) writes: > I have made a single branch clone of a repository. Originally, it was > around 2Mb in size (compared to about 150Mb for a normal clone). Over > time, though it has grown to around 20Mb. > > I've used a script that I found here... > > https://stu

Re: [git-users] How to use git to store large files without keeping track of versions?

2015-02-24 Thread Dale R. Worley
This is so elegant, but: Konstantin Khomoutov writes: > $ git cat-file my-big-file^{} >/some/path/to/my-big-file I think you have to say "git cat-file blob my-big-file^{} ...". Dale -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. T

Re: [git-users] Git for XCODE lost uncommitted changes

2015-03-02 Thread Dale R. Worley
AJ Manoulian writes: > I have a project in xcode and I did a time machine backup of everything > before I did a clean install of the new OS. I had some changes in my > project that I hadn't committed to git. When I brought all my files back on > to the computer, all those changes seemed to be l

Re: [git-users] merge by changelist cherry pick

2015-03-13 Thread Dale R. Worley
William Lasiewicz writes: > I am looking in to it and the cherrypick command looks like what I am > lookng for. I'm no expert, but I think you can make that work. > Developers will check in to the staging branch and we we are satisfied with > the changes, we want to merge those checkin to rel

Re: [git-users] GIT

2015-03-13 Thread Dale R. Worley
William Lasiewicz writes: > All I want to do it create a repository on the server, add some files > locally from my machine, push and go to another machine and actually see > those files. > In any other tool, this is completly easy The Git command structure has grown over time and at no poin

Re: [git-users] GIT command/plugin to create archive to send it for the code review

2015-03-13 Thread Dale R. Worley
Raluca Popa writes: > For instance I want to create an archive (zip/jar - I am coding in Java) > with the files I changed in order to send them via e-mail to a technical > team lead. That team lead will download the archive I sent and create using > a command line/user interface command, just t

Re: [git-users] git diff output..

2015-03-26 Thread Dale R. Worley
acppcoder writes: > Is there a way to make git diff show it's output in a format that can be > traversed by 'jump to next error' in an editor such as emacs. I'm not sure what you want. If you put the output of git diff into an Emacs buffer, and put the buffer into diff-mode, Emacs probably has

Re: [git-users] Re: Cannot access branches on my bare.git repo

2015-03-31 Thread Dale R. Worley
Frank Gutierrez writes: > *refs/heads files do _not_ point to objects* > > path: objects/78/803b535 The way to "find an object" in general is to use the "git cat-file" command. You can give it the full 40-char hash of the object or the ref/head name. Dale -- You received this message because

Re: [git-users] problem merging one repo

2015-04-03 Thread Dale R. Worley
SoaringEagle writes: > 1. # in the top-level directory of the cloned foo.git, add the bar repo > as remote_bar: > git remote add bar_remote > git fetch bar_remote > > 2. # merge the bar repo into foo > git merge -s ours --no-commit bar_remote/master I'm no expert, but my guess i

Re: [git-users] UnicodeDecodeError: 'utf8' codec can't decode byte 0x92 in position 377826: invalid start byte

2015-04-08 Thread Dale R. Worley
python.beggine...@gmail.com writes: > I am getting the following error while executing the below code snippet > exactly at the line if uID in repo.git.log():, the problem is in > repo.git.log(),the error happens way down in the bowels of the > repo.git.log() command, I think because the output p

Re: [git-users] Fatal repository not found with Git

2015-04-16 Thread Dale R. Worley
Yvon Fanfe writes: > tried *"git clone https://path.to.the.server/project_directory/.git to > clone the project but id doesn't worked. It always fail printing the > error, *$ git clone path.to.the.server/project_directory/.git Cloning > into 'xxx'... fatal: repository > 'path.to.the.server/projec

Re: [git-users] git common options

2015-04-25 Thread Dale R. Worley
Peng Yu writes: > Hi, git-annex has a set of COMMON OPTIONS options (they are applicable > to all git-annex commands). Is there something similar for git? > > https://git-annex.branchable.com/git-annex/ The 'git' manual page on my system includes this section, which appears to be the common optio

Re: [git-users] How do you switch head location without changing files?

2015-05-10 Thread Dale R. Worley
Michael writes: > Lets say you've got files set up to commit to one point in the tree, > but you're actually in a different location. How do you move where you > are / where a commit will go, without altering the files? git reset --soft looks like the command that does what you want. Dale --

Re: [git-users] Help with git reset, please.

2015-05-12 Thread Dale R. Worley
Michael writes: > keybounceMBP:config michael$ git commit -m "First test" > [animalAging 0653a0b] First test > 1 file changed, 140 insertions(+) > create mode 100644 HarderWildlife.cfg > keybounceMBP:config michael$ gitk --all > ^C > keybounceMBP:config michael$ git commit HarderWildlife.cfg -m

Re: [git-users] Help with git reset, please.

2015-05-13 Thread Dale R. Worley
Michael writes: >> those two sentences say the same thing. HEAD *is* "the branch tip pointer", >> unless it's detached. > > Alright, maybe this is my first point of confusion. > > I thought "HEAD" is where you are at -- which of those letters you are > pointing to. > And, it may also be where a b

Re: [git-users] Use git on microsoft words documents

2015-05-14 Thread Dale R. Worley
>From the original poster's point of view: Yes, you can use Git to store various versions of MS Word documents, but you probably don't get much benefit from doing so, since Git can't see into the different versions of documents to see how they differ; to Git they're just blobs. OTOH, it may be th

Re: [git-users] Merge conflict error, when there was no change in mentioned file

2015-05-16 Thread Dale R. Worley
"Philip Oakley" writes: > You may find that there are 'end of line' differences between the > commits in the server, and the commits you have locally, which after > eol conversion, look identical, but the different eol strings makes > the sha1's different. Yes, it's usually the case when files lo

Re: [git-users] High level usage question

2015-05-17 Thread Dale R. Worley
John Bleichert writes: > I understand that the underlying git principle is that "everything is > local". Is there really no way to compare local to remote? > > Alternatively, should I be branching and merging every time I switch > machines? This seems a strange way to use the tool. > > As I said

Re: [git-users] Merge conflict error, when there was no change in mentioned file

2015-05-17 Thread Dale R. Worley
"Philip Oakley" writes: > I think in this case the byte by byte check was identical,including line > endings, which made it all the more awkward to sort out. (detecting file > mode changes!) Oh, that's interesting. Internally, it means that the recorded hash for files matches between versions,

Re: [git-users] How to checkout files from another branch, based on a filelist from a text file?

2015-05-18 Thread Dale R. Worley
Konstantin Khomoutov writes: >> My problem is, that I can not see possibility to checkout files from >> another branch, based on a filelist from a text file. > > Once you have a text file with the list of file names, > just do > > $ git checkout dev > $ while read fname; do \ > git checko

Re: [git-users] Git considers .org file as binary

2015-05-20 Thread Dale R. Worley
Rainer M Krug writes: > for some strange resold, git considers my emacs.org file (which is a text > file) as a binary. This is only in one repository, and other .org files are > seen as text. http://fileinfo.com/extension/org says that .org is the extension used by Lotus Organizer, so perhaps s

Re: [git-users] Need some advice on git setup -- development files must be run on the server

2015-05-26 Thread Dale R. Worley
Chris Fillmore writes: > I am imagining I putty into the server, checkout my branch, run the code. > Is this possible? But what's to stop other team members from doing the > same, at the same time? There are only three of us, we can communicate, but > in principle I would prefer to have a bette

[git-users] No doubt a simple question

2016-02-12 Thread Dale R. Worley
Suppose I've modified a file, or a set of files, and I want to return it to the state in HEAD. I thought that "git checkout HEAD file1 file2 ..." would do that, but git-checkout wants to preserve whatever changes are present in the file tree. I'm sure that buried in Git's UI is a command form tha

Re: [git-users] Storing file on a server rather than on the git folder

2016-02-12 Thread Dale R. Worley
Theo G writes: > We use Git on Windows and SourceTree as a Visual interface for Git. It sounds like the only acceptable solution is one that can be operated using SourceTree. So the question is, is there a facility in SourceTree for this? I think you would be more likely to get a useful answer

Re: [git-users] Changeset evolution, History Rewriting in a public GIT repository

2016-02-17 Thread Dale R. Worley
Konstantin Khomoutov writes: >>4. We would like to now be able to completely eject/remove the >> commit/patch from the staging git repository, as if it never went in, >> as well as any other commits that might be related to it that came in >> after that, and NOT just attempt to reverse it by

Re: [git-users] No doubt a simple question

2016-02-17 Thread Dale R. Worley
Konstantin Khomoutov writes: > I'd say there are only one reason for the > > git checkout HEAD file1 file2 ... > > invocation to fail file1 starts with a dash or double dash and gets > interpreted as a command-line option. I went back and checked my command window transcripts, and the problem i

Re: [git-users] Git says there are local changes, but there are no changes. (Windows)

2016-02-24 Thread Dale R. Worley
Ben Page writes: >>git status > On branch master > Your branch is behind 'origin/master' by 2 commits, and can be > fast-forwarded. > (use "git pull" to update your local branch) > Changes not staged for commit: > (use "git add ..." to update what will be committed) > (use "git checkout --

Re: [git-users] How can I set parameters using alias

2016-02-25 Thread Dale R. Worley
hiroki yasui writes: > .gitconfig file is > [alias] > am = "!f(){ git commit -am \"$1\";};f" First, there is no reason for your shell command to define a function and then call it. The alias should just execute what is now the body of the function: > am = "!git commit -am \"$1\"" Seco

Re: [git-users] "Not a git repository" on server side trying to clone a project over HTTP with git-http-backend

2016-04-06 Thread Dale R. Worley
Eli writes: > I'm trying to use Git over HTTP but I'm getting the error > [Wed Apr 06 13:35:15.208592 2016] [cgi:error] [pid 6821] [client ...] > AH01215: Not a git repository: '/var/git/repositories/my-project.git' > > > On the client side I'm trying this: > > git clone http://myhost.com/git/my-

Re: [git-users] Git branch history

2016-04-12 Thread Dale R. Worley
Kevin Wholley writes: > I would like to see a history of any branch that merges into another > branch. For example I have master as my production code. I also have a > build branch and several development branches. When a development branch is > ready to build we merge into our build branch. At

Re: [git-users] An equivalent of `--full-history` to git bisect

2016-04-22 Thread Dale R. Worley
Ram Rachum writes: > Then, as I said in the beginning, a friend pointed me towards the > `--full-history` flag: > > $ git log --full-history --graph coffee > * commit 0aa833916e908ea93902a6c4c227f9a884a1bcef > |\ Merge: cf02fbb 3068c7d

Re: [git-users] Will GIT allow me to do this?? show tag history and where it was pinned on to which branch in the past

2016-04-24 Thread Dale R. Worley
Andrew Acevedo writes: > I'm not familiar with git, but can the same tag be moved around on several > branches and a history is kept which position on the branch it's been > pinned too before? I might be wrong, but I think the behavior (at least, the default behavior) is to log the past values

Re: [git-users] An equivalent of `--full-history` to git bisect

2016-04-26 Thread Dale R. Worley
Ram Rachum writes: > $ git log --graph > * commit b7a8d7aa001d06eb7491ab5fb447a8dd3aa421a8 > | Author: Ram Rachum > | Date: Tue Apr 19 17:45:01 2016 +0300 > | > | adding more to some-file > | > * commit 0aa833916e908ea93902a6c4c227f9a884a1bcef > |\ Me

Re: [git-users] An equivalent of `--full-history` to git bisect

2016-04-27 Thread Dale R. Worley
Ram Rachum writes: > Administrator@Turing ~/Dropbox/Desktop/foo (development) > $ git bisect start > > Administrator@Turing ~/Dropbox/Desktop/foo (development|BISECTING) > $ git bisect good 3068 > > Administrator@Turing ~/Dropbox/Desktop/foo (development|BISECTING) > $ git bisect bad b7a8 > Bis

Re: [git-users] Feature request: -np (shorthand for --no-pager)

2016-04-28 Thread Dale R. Worley
Ashley Coolman writes: > Would make sense, no? Unfortunately, no. The convention is that "--" is used to start long options, which may have an optional value which is started with "=": --[a-zA-Z0-0]+(=.*)? Options that start with "-" use the long-established conventions for single-letter o

Re: [git-users] I am a newbie

2016-04-29 Thread Dale R. Worley
Alekhya Vellanki writes: > I'd like to start contributing to git. > > I have absolutely no idea about open source projects contributions. > I am also pretty unclear about what bugs,patches etc are. > When I tried reading source codes of a few project ideas for GSoc 2016, I > could hardly understa

Re: [git-users] Finding which files does a given patch changes

2016-05-07 Thread Dale R. Worley
Konstantin Khomoutov writes: > On Fri, 6 May 2016 18:56:01 +0300 > Kevin Wilson wrote: > >> Suppose you have a patch named 0001-great_change.patch >> >> Is there a way by which, using some git command, you can find out >> which files this patch changes, without that >> you will edit (or cat/more

Re: [git-users] Adding a URL to a commit

2016-05-08 Thread Dale R. Worley
Melvin Carvalho writes: > In npm when you have an author there's a really nice feature ... namely you > can add a URL : > > Author: Joe Bloggs (URL) > > In git you have the same message but without the optional URL at the end > > I was wondering how difficult it might be to add such a feature

Re: [git-users] How to clone a particular revision?

2016-05-18 Thread Dale R. Worley
Konstantin Khomoutov writes: > Note that accessing commits by date is imprecise by its nature and, > while useful sometimes, might indicate you're trying to do something > wrong way. In particular, the effects of time-zones can cause revisions to not have the dates you expect them to. If you are

Re: [git-users] Git life cycle

2016-05-20 Thread Dale R. Worley
Sharan Basappa writes: > Git mentions that state of the file as untracked, unmodified, modified and > staged. > > As I understand untracked files are not yet in the respository. > unmodified and modified is understood but what action results in a file > being in staged state? > is it git add or

Re: [git-users] Problem:fatal: early EOF fatal: index-pack failed

2016-05-20 Thread Dale R. Worley
Jeremy Yang writes: > When I executed the "git clone git://url -b branch" cmd by multi-thread(40 > threads) at the same time,several cloned failures would often occur. > > However,the max-connections is setted to zero which is for no limit. > > > *Git-daemon CMD:* > > /usr/bin/git daemon --verbo

Re: [git-users] How GIT stores data

2016-05-23 Thread Dale R. Worley
Sharan Basappa writes: > I am pretty much new to Git though I am using it for a couple of projects > (without much understanding as such). > > In Git documents, it is mentioned that Git stores data as a stream of > snapshots. Compared to other VCS tools, the only difference I am able > to tell is

Re: [git-users] Git life cycle

2016-05-23 Thread Dale R. Worley
"Philip Oakley" writes: > +1 for the nice explanation. Thanks! > The Index is also commonly called the *staging area* when viewed from an > outward facing perspective (i.e. what do users do), with index being more > commonly used for an inward facing perspective (e.g. for code development).

Re: [git-users] How to know when git is finished

2016-05-26 Thread Dale R. Worley
Sandor Hadas writes: > However, if the very same script is added to cron then what happens: > 1. Cron starts the script > 2. Script invokes git clone > 3. git clone spawns several "git-remote-https" processes > 4. git returns while the spawned processes run > 5. Commands based on the repo fail (if

Re: [git-users] Detect which ignore file (and line) that is preventing file from being added.

2016-06-01 Thread Dale R. Worley
Fabian Jonsson writes: > I had a problem recently trying to add .dll files to git. No suggestion I > found on SO seemed to help. When trying to add each file manually in the > Git bash, I received a message saying that one of my ignore files prevented > the file from being added. I would've lik

Re: [git-users] pushing referenced librarys

2016-06-01 Thread Dale R. Worley
Konstantin Khomoutov writes: > If you're pushing your project directly from Eclipse (I mean, by > clicking some button or activating an entry of some pop-up menu) then > you are not using Git but rather EGit -- an Eclipse's library to work > with Git repositories which itself uses JGit -- a from-s

Re: [git-users] How GIT stores data

2016-06-01 Thread Dale R. Worley
Sharan Basappa writes: > Is there a way to retrieve the previous version of the file (that is, F.1). It looks like "git fsck --unreachable" would output the hash of such a file. Then you can use "git cat-file" to get the contents of each object. You'll have to inspect the contents manually; as

Re: [git-users] Marking a branch "closed"?

2016-07-20 Thread Dale R. Worley
Michael writes: > Lets say I've got a topic branch. I've made a bunch of commits. It's > messy. But it's done. > What do I do with the leftover? I thought I could tag it as "closed", > but I can't use the same tag more than once. What's the best way to > mark it as done, or should I just delete t

Re: [git-users] Using git log to track frequently upgraded branch

2016-07-27 Thread Dale R. Worley
Jerome Fouletier writes: > I have one branch BR1 which receives frequent merges from branch BR0. > Branch BR1 is tagged once per sprint, and I need to list the commits that > have been made or merged since the last tag: > > >-A1---B1(TAG)--C1---D1---E1---F1---G1(BR1) > >/

Re: [git-users] lost file with git add - git rm -f

2016-07-31 Thread Dale R. Worley
GUGLHUPF writes: > fairly new to git. Today I did a "git add somefile" and then decided I > wanted to unstage it. I did then a "git rm -f somefile". There was no git > command in between. Particularly no commit. > > git wiped the file from disk. I worked very hard on that file (several > days(

Re: [git-users] SHA-1 checksum

2016-08-08 Thread Dale R. Worley
contents aren't in ASCII, so you have to use "git cat-file -p 92f8f718eb9b19f921f20283e55c56e8dc66ed10" to read its contents: tree d5d1ad293f8fdd4a4a4e0e9a73c5c3c851126c22 parent 39c83b086e141bb00d32737a4e2aae675d795f44 author Dale R. Worley 1470669963 -0400 committe

Re: [git-users] SHA-1 checksum

2016-08-10 Thread Dale R. Worley
Sharan Basappa writes: > The other question is, when it is time for Git to pick up the file > associated with 100644 blob 0215040f90f133f999bac86eede7565c6d09b93d then > it starts > computing checksum of all the objects? The point is that it doesn't have to *search* for the contents of the fil

Re: [git-users] Newbie: How to get my working tree back using git checkout?

2016-08-26 Thread Dale R. Worley
rh kramer writes: > I've tried a number of variations, but I'm not getting the software (I > guess git would call it the working tree) back. Some of the variations > (all run from within sciscint_git): > > git checkout HEAD > git checkout MASTER > git checkout 76641b5 > > I've also tried those

[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

<    1   2   3   4   >