egit

An internal Exception occurred during push: cannot store objects

强颜欢笑 提交于 2019-12-19 11:41:10
问题 Hello I am new to Git and trying to setup server part and client part. On a Server side I have ssh access and Git version 1.5 On a Client side I have eclipse with eGit. I created git repo on a server side via usual means: git init and added simple html file. Using eGit I checkout the repo and everything seems to be going well. I made changes on a client side, committed it and decided to push back to the server. Now I have all permissions set but still get following error: I don't know how to

Way to see the whole commit history of a repo in Egit/TortoiseGit?

女生的网名这么多〃 提交于 2019-12-19 06:35:50
问题 I'm looking for a way to see, though egit, to the whole history of my current git repo. From what it looks like, egit's "Show in History" will only show commits up to the current commit. With this I mean that if I do commit1 and commit2 and then decide to do checkout of the first, running "Show in History" of the project will not show up commit2. Is there any way that allows me to see the whole history of the repo? I guess that'll be somehting on the lines of the git log master console

Way to see the whole commit history of a repo in Egit/TortoiseGit?

99封情书 提交于 2019-12-19 06:35:31
问题 I'm looking for a way to see, though egit, to the whole history of my current git repo. From what it looks like, egit's "Show in History" will only show commits up to the current commit. With this I mean that if I do commit1 and commit2 and then decide to do checkout of the first, running "Show in History" of the project will not show up commit2. Is there any way that allows me to see the whole history of the repo? I guess that'll be somehting on the lines of the git log master console

Eclipse hangs on “Re-indexing (fully) repository {username}”

时光怂恿深爱的人放手 提交于 2019-12-19 04:13:00
问题 Eclipse hangs on "Re-indexing (fully) repository /home/{username}". It eventually crashes with "java.lang.OutOfMemoryError: GC overhead limit exceeded". Why does Eclipse try to index the home directory? 回答1: Eclipse Git triggers the indexing when the home directory is a git repository (i.e. contains a ".git" folder). A workaround is to remove /home/{username}/.git rm -rf /home/username/.git References: https://bugs.eclipse.org/bugs/show_bug.cgi?id=413687 https://bugs.eclipse.org/bugs/show_bug

Abort conflicting merge in egit

你离开我真会死。 提交于 2019-12-18 18:59:35
问题 I recently did a misclick in the repositories view and merged two commits that can't (and shouldn't) be merged. The result was a merge conflict. Native git has git merge --abort for such cases. However, i cant find such an option in egit. 回答1: Check the section "Aborting a merge": If a merge resulted in conflicts you can abort the merge with a hard reset to the current branch. This can be done in state "Conflicts" and in state "Merged", i.e. before and after you have resolved the conflicts.

Using putty's pagent with egit in Eclipse

房东的猫 提交于 2019-12-18 13:23:38
问题 I'm trying to access a private remote SSH git repository via the Eclipse 'egit' module. I'm running Eclipse on Windows. Eclipse doesn't seem to automagically work with putty's pagent for authorization forwarding and I can't find any documentation about customizing the SSH used by egit (e.g., to use plink.exe). I've found documentation on the web about setting up other Windows git clients to use putty/plink (e.g., for msysgit), but I can't seem to find anything about Eclipse's egit and putty

Can't clone remote git repository with EGit

会有一股神秘感。 提交于 2019-12-18 10:10:04
问题 I am trying to clone remote git repository with Egit, via https protocol. I followed this online tutorial. When I insert URI: https://username@host:port/repositorypath, password and click NEXT, I am getting this error message: Cannot list the available branches. Reason: Exception caught during execution of ls-remote command. How can I clone this repo? 回答1: It sounds like Egit is looking for an ssl certificate and refusing to function without it. A good fix to make the problem go away and stay

Is it possible to slim a .git repository without rewriting history?

蓝咒 提交于 2019-12-18 02:19:35
问题 We have a number of git repositories which have grown to an unmanageable size due to the historical inclusion of binary test files and java .jar files. We are just about to go through the exercise of git filter-branch ing these repositories, re-cloning them everywhere they are used (from dozens to hundreds of deployments each, depending on the repo) and given the problems with rewriting history I was wondering if there might be any other solutions. Ideally I would like to externalise problem

How to make Egit remember password and username?

心已入冬 提交于 2019-12-17 23:38:21
问题 I'm working onn a project in Eclipse hosted on Github. Everytime I want to push, a dialog pops up asking for username and password. Anybody know how to save these so I don't have to keep typing them in everytime? I'm using Egit in Eclipse 4.2.1 回答1: Struggled with this for a while too: Go to the Git Perspective -> Expand your Project -> Expand Remotes -> Expand the remote you want to save your password. Right-click on the Fetch or Push -> Select Change Credentials... Enter username and

Show annotations not working

三世轮回 提交于 2019-12-17 23:11:01
问题 I use Eclipse with egit plugin. When I click Team -> Show Annotations, it shows up nothing. But I could view annotations by going to the history and then right clicking on the desired change set. Shouldn't the first way show annotations from the latest version of that file I am working on? 回答1: I found eclipse bug 394161 that says the show annotations functionality won't work unless you set your EGit preferences to ignore whitespace changes. You can do that by going to Window -> Preferences -