I want to show a filtered history of commits. I need only those commits that have less than 60 seconds between each other, in order to see who did a bad job committing so fast. How to do this?
...
Hello,
We work on multiple geographically seperate sites.
Today I have our git clones all live on one site A. Then users from site B have to ssh over to do a git clone or to push in changes. These are bare repos where the update is through pushes.
Ideally, for git clone/push performance, I'd like to limit having to go over ssh.
I'...
I'm using git gui and I can't see my branch.
I know I checked something in today.
I changed to an earlier branch after I did my commit and verified it with the branch viewer.
I made changes to the earlier branch and then wanted to go back to my current branch, but I can't see it any more.
Any help would be great.
...
It seems that both git and mercurial are rather Linux oriented. Which of them is more mature on windows?
...
I use Vim & Git together.
I tend to merge/switch Git branches alot.
I tend to have lots of vim buffers open.
Is there a way to tell vim: when I execute this git command (which switches branches), reload all buffers? Since I have hooks into all my vim-git interaction, letting vim know when to do the reload is not a problem. The question ...
I want to show the contents of a file given by a path at a specific state of a git repo. I unsuccessfully tried this:
git show f825334150cd4bc8f46656b2daa8fa1e92f7796d:Katana/source/Git/GitLocalBranch.h
fatal: ambiguous argument
'f825334150cd4bc8f46656b2daa8fa1e92f7796d:Katana/source/Git/GitLocalBranch.h': unknown revision or path not ...
Using pure functional languages can have a lot of benefits over using impure imperatives but low level systems languages will generally allow you to achieve much greater performance especially when they are imperative because it allows you to specify the exact steps in how the cpu should compute the result.
If there is ever list of tool...
I have a list of modifications when I run git status, but I cannot stage them or commit them. How can I fix this?
This occurred after pulling the kernelmode directory from a bare repository somewhere in one huge commit.
% git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be commit...
This morning we pull from our repo, and git put us on (no branch).
I don't understand this, why did this happen? And how get out of it without losing our changes?
...
On the remote production branch, I don't do any changes, so I don't need any branches.
I always want it mirrored to the origin production git checkout origin production works.
But, I can't seem to pull after that.
Is creating a local branch that tracks the origin production by
git checkout -b production --track origin production
th...
Hello all,
I've went through the excellent guide provided by Tim Davis which is about configuring Git to work with SSH under Windows in order to produce a Git Server in order to have a main place for my DVCS.
I am in the process of creating a clone for my project. I’ve went through all the steps till this point, but I keep getting thi...
I can't really ever think of a time when I would use git merge rather than git rebase and not want to have a commit show up. Is there any way to configure git to have fast forwarding off by default? The fact that there's an --ff option would seem to imply that there's a way, but I can't seem to find it in the documentation.
...
Has anyone got a script for git that can go through the history, check out each version, apply a cleanup script, then check the cleaned version into another repository?
I have some code which I've been developing, but I haven't been consistent with code formatting e.g. tabs vs spaces etc. I'd like to rewrite my entire history to be cons...
I want to know if there is a way to set a flag by default for git command. Specifically, I want to set the --abbrev-commit flag so that when executing git log, I want to execute git log --abbrev-commit.
Unlike the question "is there any way to set a flag by default for a git command?", there is apparently not a configuration flag for ad...
I am new to git and when I try to upload my newly created repository to github I get the message:
Permission denied (publickey).
fatal: The remote end hung up unexpectedly
: Any idea what this means?
...
I am a graduate student with many scripts, bibliography data in bibtex, thesis draft in latex, presentations in open office, posters in scribus, and figures and result data. I would like to put everything in one project under version control. Then when I need to work on a portion such as the bibliography data, I would like to check tha...
Lets say I'm doing a rebase B of a branch onto master and there's a conflict. git opens up the default merge tool with 3 files as input : file.LOCAL, file.BASE, file.REMOTE (they're named a little differently, but LOCAL, BASE and REMOTE are in the file names and is how they are distinguished).
Now, according to the mergetool man page: ...
Hi,
I have a private repository on Github for a project I'm working on. Until now I had only worked on my home desktop, but I just bought a laptop, and am trying to set it up so that I can work on the project from either computer, and push / pull changes.
I added a new SSH key to my Github account for the laptop, and was successful ...
I have a setup my own git repository with gitosis on dedicated debian server. The server is visible via port 22 from outside (the port 22 is forwarded from my router to my git server). On the local network the git repository works perfectly. The problem happens once I try to do "git clone.." from remote server. So once I do "git clone.."...
Dear all,
I'm running a Ubuntu (9.10) server with Git (latest from Ubuntu package manager) installed. Access to the Git is via SSH. On windows machines, I'm using Cygwin to push/pull code.
I can push my project code onto the server but when I do a clone or pull, it returns a [fatal: early EOFs] error at about 75-80%.
Upon further inv...