> From: tomgra...@gmail.com
> Hm.. well I definitely did learn a lot from this, and of course you
> are right it is a straightforward logical process. The main reason I
> say I wouldn't have got there is down to my intrinsic belief that I
> was to blame for the error (which I am used to being the
> From: ironm4nc...@gmail.com
>
> I have got a problem with my bare repository with the size of 4 GB.
> I experience some strange memory usage at cloning or fetching.
> Git consumes about 30 GB RAM for these commands, but this is not the real
> problem.
> The real problem takes place at the cli
> From: Konstantin Khomoutov
>
> > now, can i create a user that can only pull?
> > that would be great
>
> There's no way to do implement this using plain Git.
If a user can only *read* the files in the Git repository, what can
the user do with the repostiory using Git?
Dale
--
You received
> From: python.beggine...@gmail.com
>
> I am trying to grep for git commit msg in git log...once I do git log..the
> log is really huge?is there a way to get only the last 100 commits or is
> there an efficient way to search commit msg in git log ?suggestions please?
If your goal is to find a s
> From: John McKown
>
> The staging area is also called the git index. This is probably better than
> I am at explaining:
> http://stackoverflow.com/questions/4084921/what-does-the-git-index-exactly-contain
>
> but basically the index is in the .git/index directory.
"The index is a binary file
> From: "Philip Oakley"
> Sounds like the 'git gc' needs an option to deliberately prune specific
> files and/or large objects for such a case. Maybe something to discuss
> on the main Git list - no doubt some discussion as to what the command
> format would be and why it whould be relevenant
> From: Ling
>
> When I use the Git Extensions to clone the repository I got below error
> message:
>
> fatal: protocol error: bad line length character: Pass
>
> I tried search online but I can't find any relative error out there, so
> could anyone know what cause this error and how to reso
> The change itself looks good; care to write it up as a proper patch
> with a proposed log message?
I'm working on writing a proper patch, but I'm running into a
problem. The patch itself is from this commit:
$ git log -1
commit 07a25537909dd277426818a39d9bc4235e755383
Author: Dale
> From: Gopichand Nakkala
>
> I am trying to clean untracked files and running into following error,can
> anyone one help on how to overcome this?
>
> user@machine:/local/mnt/workspace/i$ git clean -f -d
> warning: failed to remove halimpl/ncihal/DT_Include/DT_Nfc_types.h
> warning: failed to r
The problem seems to be that the Git process on the remote end has a
current working directory that it doesn't think is a Git reponsitory.
Most likely this is because the Git remote link has directed the
remote process to be in a directory that *isn't* a Git repository. Is
there any way that you
> Date: Fri, 17 May 2013 12:17:11 -0700
> From: Bryce Verdier
>
> I think that qgit should meet most of your needs.
qgit is quite good. It isn't integrated into Emacs, but it does seem
to do most of what I think I'll need to do.
Dale
--
You received this message because you are subscribed to
> From: Thomas Ferris Nicolaisen
>
> > My general environment is Fedora Linux, using the X Windows system. I
> > use vtwm as a window manager, so I don't have all the
> > KDE/Gnome/whatever accessories. Much of my work is done inside Emacs,
> > which has a wide array of tools for browsing th
> From: Alex Lewis
>
> Does http://www.emacswiki.org/emacs/Git do what you want?
No, nothing I found listed there seemed to be really helpful.
> ...Apologies if you already know what I discuss below but I just thought
> I'd put it here just in case it helps...
>
> So if I understand your scen
After using "git diff", I believe that Git (1.7.7.6) uses "less" by
default if there is no explicit pager specification (via $PAGER or
Git's core.pager).
1) Am I correct?
2) I dislike defaulting to using a pager (partly because I dislike
"less" in particular).
3) In any case, using a pager by de
Using Git (1.7.7.6), it appears that if I run "git diff" in a
directory that is not part of a Git working copy, it produces this
error message:
$ git diff
usage: git diff [--no-index]
$
1) This message doesn't tell the user what went wrong. (Indeed,
invoking "git diff" with no arg
> From: joeriel...@gmail.com
>
> At some point I added a large file into a git repository.
> It now exists on multiple branches, possibly with some
> changes to it. I'd like to remove it from git, but leave its
> current form (say the one on the master branch) on the
> file system.
You've f
> From: peter boudewijns
>
> I've been trying to put my filesystem for a very small busybox-based distro
> into a git-repository. And with succes. The only strange thing I can not
> get my head around is the following :
>
> When making a compressed tarball from the files from the repository (a
I've made a small change to the Git source and now test
t/t1001-read-tree-m-2way.sh fails. In particular, this test fails:
test_expect_success \
'4 - carry forward local addition.' \
'bash -x 2>/tmp/2 -c "rm -f .git/index &&
read_tree_must_succeed $treeH &&
git checkout-index -u
> From: peter boudewijns
> The entire difference could be pinned down in just 1 directory, 'sbin'.
> I do not know enough about the way Linux writes its files, and how it
> determines the size of the files. But it seems to me the git-cloned files
> contain empty space that occupies filesystem-
> From: "Philip Oakley"
>
> > How do I get detailed information on exactly what the failure is?
>
> I presume you've read \git\t\README which has a lot of stuff about
> testing.
Ugh, I must admit I didn't look for that...
Dale
--
You received this message because you are subscribed to the G
> From: peter
>
> The files that I suspect are all compiled without stripping (debug symbols
> present in the file). When I delete all these files the size of my tar-bal
> from the original filesystem is nearly the same as the one made from the
> git checkout.
Here some things to check:
Prod
To document the answer:
> From: "Philip Oakley"
>
> > From: "Dale R. Worley"
> > I've made a small change to the Git source and now test
> > t/t1001-read-tree-m-2way.sh fails. In particular, this test fails:
> > [...]
> > How
> From: peter
> When I followed your last instructions I stumbled upon a few hardlinks in
> the tar-file from my original source. And, as I understood Git treats these
> hardlinks as separate files. And yes, in the tar-file from Git I found a
> few exact copy's for several binaries. But now al
> From: Konstantin Khomoutov
>
> > 2) I dislike defaulting to using a pager
>
> I think you're a part of a minority in this case -- when you work with
> Git in a shell, having to append " | mypetpager" onto the end of each
> Git command producing a lengthy output quickly becomes tedious up to a
> From: Boris Trivic
>
> But I am wondering if I can read some file or files to get same list ?
Of course, the information that git-show provides for you it extracts
from some file or files, so in a sense, the answer is "yes". But I
suspect you are asking "Is there a file which directly lists t
> From: Martin Mųller Skarbiniks Pedersen
> > My complaint about "less" is that it does not exit when one types
> > control-C.
>
> alias less='less -K'
Thanks for pointing out "-K".
It would probably be a bit cleaner to set the LESS environment
variable to "-K", though:
export LESS=-K
Dale
> From: djsuperfive
> Why do I have a change to add on master whereas I made this change on my
> branch "dev" ?
I think I can explain this more clearly:
You changed a file, but since you didn't add or commit it, none of the
branches is affected. git-status is just telling you that the file
in
> From: maya melnick
>
> (I haven't commited, it's just a test branch, I don't want to commit;-)
> make sense?
The way to think about it is that you've just changed a file in the
working directory, it isn't *in* the branch or the repository. So
when you tell Git to shuffle the working dir
> From: Thomas Ferris Nicolaisen
>
> > Hello -- I just did a clone of a (bare) repo and notices that all files
> > have the same date/time, that is the time of the clone -- is this the way
> > this is suppose to work?
>
> Yes, this is normal. Git doesn't store much meta-information about fi
I'm working on using "git filter-branch" to remove the history of a
large file from my repository so as to reduce the size of the
repository. Generally, this pattern seems to be a correct way to do
this:
1. git filter-branch --index-filter 'git rm --cached --ignore-unmatch
core.4563' HEAD
2. ed
> From: Garrett Fritz
>
> Any way to 'undo' this reset changes? None of them were committed
> obviously so scary time.
Do you have backups?
In the long run, you should use a tool that requires confirmation of
such a drastic action.
Dale
--
You received this message because you are subscrib
In Git, one can set up a repository with a "detached worktree", where
the .git directory is not a subdirectory of the top directory of the
work tree.
In general, Git commands on a repository with a detached worktree can
be executed by cd'ing into the directory containing the .git
directory, and ex
> > 1. Copy (resursively) the whole project directory to some other place,
> >right now. This is not to inflict more harm than already done.
> >Git won't delete anything irreversibly, but "drastic" operations
> >like the one you supposedly did leave some objects as "unreachable"
> >
> From: Konstantin Khomoutov
> > pack.packsizelimit=2g
> > pack.threads=1
> > pack.windowmemory=256m
> 2. I'd say the pack.packSizeLimit should not affect the packing
>behaviour -- at least that's what I gather from the manual page.
The git-config manual page says:
pack.packSizeLimi
> From: Roy Vardi
>
> How do I switch to a hash on a branch without creating\moving to a new
> branch?
> Say I'm currently at the HEAD of master, and its hash is aaa.
> I want to stay on master, only switch to a previous hash... (say eee...)
> I know I can use the HEAD~<#> or whatever, but I'd l
> From: PJ Weisberg
>
> On Oct 16, 2013 5:51 AM, "Roy Vardi" wrote:
>
> > Say I have a commit hash which is shared by two branches (I cherry-picked
> it from one branch to the other).
>
> The hash is a SHA-1 hash of all the commit metadata: tree, timestamp,
> *parent*, etc.
>
> A commit creat
> From: Roy Vardi
>
> So basically you're saying that the only way for me to run git branch and
> see master is if I'm on the head of it?
> I thought that all branches are conceived of a history of commits, and
> checking out an older commit still means that I'm on the same branch...
Yes ...
> From: Blake McBride
> Not sure what you mean about designed well, but in order to switch branches
> without having to do a full rebuild would involve:
>
> [lots of stuff]
I believe there are commercial systems that do this. They keep track
of the derived files and what source files they dep
> From: Rik Svendsen Rose
> The folder that i want included is:
> 02 Microsoft SQL Server/xxx/MSSQL/Backup
>
>
> I have tried adding into my .gitignore folder:
>
> 02 Microsoft SQL Server/**/
> !02 Microsoft SQL Server/**/Backup
I don't think that Unix-style shell globs define "**" to mean
a
> From: Philipp Kraus
>
> I use my .gitignore to define files which should not store in the history,
> but can I use an invert filter?
> So I would define files, which are only stored in the history. So if I
> write to the (not)ignore file *.cpp all other file except *.cpp are ignored?
>
> So
> From: Jamie Devine
> I've seen another workflow mentioned that involves pushing the code to
> GitHub and then just pulling it down on another PC. This in itself causes
> problems for me. Nearly all of my projects are based in as CMS, this means
> 90% of the code is never touched because it's
> 1. http://git-scm.com/book
> 2. http://www.catb.org/esr/faqs/smart-questions.html#beprecise
The classic is
How to Report Bugs Effectively
http://www.chiark.greenend.org.uk/~sgtatham/bugs.html
including
"Show me how to show myself."
If you have to report a bug to a programmer
301 - 342 of 342 matches
Mail list logo