I'm coming to an existing project in which people used git to track everything from scratch. I want to have a tool to view the differences between several commits. gitk does a good job, but talking about human readability, it's does not facilitate me much.
Is there a better solution? I'm looking for a set of tools that allow me to easily compare…
I'm using eclipse 3.5.2 and cannot seem to use "filter resources" to filter out .git folders in any of my projects for any of my perspectives: javascript, ruby, and php. I've tried adding the filter to plugin.xml as suggested on this blog but it is for eclipse 3.4 and doesn't seem to work. Any suggestions?
I've a master branch with a .gitignore file with directory X listed in it. (X is not being tracked).
When I try to add a branch tracking a remote using the command
git checkout -b mybranch origin/mybranch
The remote branch is tracking X directory, and hence this checkout fails with the error
Untracked working tree file 'X' would be…
how do we do like changing version ( each +1 ) using git on each push?
example i have a 2 php file
libs/lib1.php
libs/lib2.php
on each header usually there is some information like
/**
* LIB1.PHP
* this libs does something like this
* and that this is a doc for you
* @version 145
* @todo something todo
* @author DAMS
*/
…
When you use
git rm --cached myfile
it doesn't delete from the local filesystem, which is my goal. But once you commit the changes, push them to a central repository, then pull them into another yet another repository it still deletes the file from that system.
Is there a way to just remove the file from the index without…
I am running a PHP - MySQL website, and have set up a remote repository on my own server using Git.
I now want a way to be able to have a production and a test server, and some how be able to push my changes from dev to production easily. and seamlessly.
I'm trying to use GitNub, a graphical GUI for Git, and for some reason upon installing the software running the command 'nub' in the terminal doesn't seem to launch anything for me.
I am running Mac OS X version 10.6.3
Gitnub version 0.9.1
I have copied the GitNub.app to my applications folder and created a new folder…
I want to ignore all files in my repository except those that occur in the 'bin' subdirectory. I tried adding the following to my .gitignore
*
!bin/*
This does not have the desired effect, however: I created a new file inside of bin/, but doing 'git status' still "shows nothing to commit (working directory clean)"
…
Let me start by telling you that I never used anything besides SVN and I'm also a Windows user.
I have a couple of simple projects that are open-source, others are on there way when I'm happy enough to release their source code but either way, I was thinking of using Google Code and SVN to share the source code of my…
Can anyone recommend a good repository viewer for Git, similar to gitk, that works on Mac OS X Leopard? (I'm not saying gitk doesn't work)
Of course I would like a native Mac application, but as I haven't found any, what are the best options to gitk?
I know about gitview, but I'm looking forward to evaluate as many…
I had somewhere in my Git repository a line containing word "Foo" a couple hundreds commits before.
If there is any way to find its revision number where it was the last time without buying FishEye?
I read that Git mainly add informations about the repository's history, trying to remember every change made, but that there are also commands that make irreversible changes.
What are the commands that I should really pay attention to and avoid to use wrongly because there is not turning back?
I have a .gitignore file in my project directory and I placed the following entry in the file to not to commit the files in the following folder:
EStudyMongoDb.Integration.Test\
For some reason Git pushed the files to repository anyway!
Anyway! now I want to remove those files that have been pushed to the…
I accidentially discard my changes on files in my local working tree via git checkout. The files aren't staged at this time. Is it posible to "undo" this checkout?
I accidentally committed my development.sqlite3 file to Git, and it seems to be slowing down my commits. I know about .gitignore, but does this take the file out of my repository once I've done so? My concern is is with reducing the commit and push times.
Is there any way I can repair my repository with commit history in tact.
# git log
fatal: object 01aeb2bf2e93b238f0e0422816b3e55518321ae7 is corrupted
From reading the link below it looks like I'll have zap it and start over.
http://www.miek.nl/s/7e76eadefe/
How can I view the change history of an individual file, complete with what has changed ?
I have got as far as : git log -- filename
which shows me the commit history of the file, but how do I get at the content of each of the changes ?
Thanks - I'm trying to make the transition from MS SourceSafe and that…
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?