I'm working on a project that initially used Subversion, but the remote repository was removed and i don't want to use Subversion any more. I want to migrate it to git.
There's a way to do it without the remote repository, keeping all revisions history (without doing a git init .)?
I've already made a subversion to git migration with ...
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.
...
When you use
git rm --cached myfile
it doesn't delete from the local filesystem, which is the goal. But if you've already versioned and committed the file, pushed it to a central repository, and pulled it into yet another repository before using the command, it will delete the file from that system.
Is there a way to just remove the ...
Just out of curiosity I want to see the total amounts of insertions, deletions and other modifications on my GIT repository since it was first created.
Similar to git log --stat but for all commits.
Anyone know how to do this?
...
I'm working on a product which relies on several different projects each hosted in its own Git repository. When a release is made, it would be ideal for us to consistently tag every project that is involved in building the product - this includes the core code, libraries and build tools. Is there an obvious and sensible way to tag all ...
I have a ton of new files to commit. Clicking each one to stage is annoying. How can I can I commit a whole bunch of files at once?
...
I've looked at git-new-workdir, but I don't want the history to be shared because the branches have a release-main relationship. That is, changes in the release branch I want to propagate to the main line, but changes in the main line I don't want in the release line.
A common pattern for me is to fix a bug in the release line, integra...
I want to get a complete list of everyone who has ever committed to a file, is there a command (blame with some arguments, maybe) do that nicely?
Thanks
...
I read at Joel on Software:
With distributed version control, the
distributed part is actually not the
most interesting part.
The interesting part is that these
systems think in terms of changes, not
in terms of versions.
and at HgInit:
When we have to merge, Subversion
tries to look at both revisions—my
modifi...
Coming from svn, just starting to become familiar with git.
When a branch is deleted in git, is it removed from the history?
In svn, you can easily recover a branch by reverting the delete operation (reverse merge). Like all deletes in svn, the branch is never really deleted, it's just removed from the current tree.
If the branch is ...
I'd like to run git filter-branch on all children of a given commit. This doesn't seem to be an easy task, since there doesn't appear to be a way to tell git rev-list to only return children of a particular commit. Using the .. syntax won't work because it will also include the parent commits of any merge within that range. Am I missi...
I have a file, let's say file.txt I have done git mv file.txt to file1.txt, then I created a new file called file.txt and worked on it. Unfortunately I didn't add that file to git yet. Anyway the problem is that I did git stash, then git stash apply, but the new file.txt disappeared... anyway to get it back?
...
I'm using Git for version control and unlike SVN I have not come across an inherent means of performing an export of changed files between 2 revisions, branches or tags.
As an alternative I want to use the linux zip command and pass it a set of file names, however the file names are the result of another command git diff. Below is an ex...
Can I compare a commit to a branch and see if there is a diff, or just get a yes / no answer to the question somehow?
...
I made an error when I was working and wound up with a commit tree I didn't want. Right now, things look like this:
[master]
A -- B -- C -- D
\
\
C' -- D'
[HEAD]
I want to wind up like this:
[master, HEAD]
A -- B -- C -- D
How...
I have been an iphone developer for a while, and I have recently been including git in my workflow. I have used git settings found on http://shanesbrain.net/2008/7/9/using-xcode-with-git for my workflow so far.
Those settings tell git to exclude *.pbxproj from merges? Is there a real reason for doing this? For example, when I add a f...
I do:
$ git commit .
$ git push
error: Entry 'file.php' not uptodate. Cannot merge.
Then I do
$ git pull
Already up-to-date.
What do I do? I just want to get the latest version from the remote copy, and overwrite anything on my local copy.
Edit: I tried everything. I deleted my local repo, and
$ git clone ssh://[email protected]...
Hi. Is there a git gui app (for commiting) that shows detected renames?
Git-gui currently shows me a lot of deleted and new files instead of renames.
TortoiseGit does not work at all on my system. Intellij's Git somehow does not detect any modifications to commit. TIA.
...
Hi,
This is the output of my 'git log'. But when I do a 'git pull' , the top commit causes conflict. So I did a 'git rebase -abort'
commit 7826b25db424b95bae9105027edb7dcbf94d6e65
commit 5d1970105e8fd2c7b30c232661b93f1bcd00bc96
But my question is Can I 'save' my commit to a patch and then do a git pull?
Just like I want to emulate...
I am new to git and recently set up a new account with github. I'm following a rails tutorial from Michael Hartl online ( http://www.railstutorial.org/book#fig:github_first_page ) and followed his instructions to set up my git which were also inline with the setup instructions at github. Anyways, the "Next Steps" section on github were: ...