egit

Eclipse with EGit, git-blame info is hard to see

谁说胖子不能爱 提交于 2019-12-04 22:20:57
using Eclipse Indigo Service Release 2, with EGit plugin and JDK 1.7. I've seen that it should support blame annotations, but I can't get it to show like I see here on Eclipse Wiki . Here's how it looks for me, you can't see the pointer but I'm hovering over the vertical brown line: Anyone know how to expand the annotations view? tmikulcek Right-click on the brown line, Revisions -> Show Author . 来源: https://stackoverflow.com/questions/10208495/eclipse-with-egit-git-blame-info-is-hard-to-see

importing a project into eclipse using egit

狂风中的少年 提交于 2019-12-04 19:16:19
I am trying to import this project into eclipse using the egit plugin. I have been using this tutorial to learn how. But the problem is figuring out what to enter into the dialog box within eclipse. Neither of the links above provide adequate information about that. I am including a picture of the eclipse dialog box below. Can anyone show me what to put into each input field in the dialog box? Here's what you do Right-click Project Explorer and select Import > Import... Select Git/Projects from Git. Click next . Select URI and next . Enter https://github.com/SpringSource/spring-mvc-showcase

Can't add new file to repository in EGit

怎甘沉沦 提交于 2019-12-04 18:41:33
问题 I'm using EGit with Eclipse Juno. I worked with a local repository and the world was good. Even adding a GitHub repository seemed to be fine. I added it to my local repository under "Remotes", so I can easily push commits to github. But after a while, I noticed that no new files are added to the repository, even if I'm commiting changes. They just are not under version control. They have no symbol, which should mean they are ignored. This is my .ignore .gwt gwt-unitC ache Versandanzeige_Web

How to git merge squash in Eclipse

浪尽此生 提交于 2019-12-04 11:01:57
Sometimes I need to merge squash from Eclipse. I know I can do it in command line, but it will be really useful to have graphic option integrated in Eclipse. Do you know how to do it? You can start an interactive rebase in EGit , and select squash for the commits you want squashed. Note: for squashing the last few commits, historically the other way was a soft reset (see this thread ) select in history the first commit which I don't want to squash right-click and say " Team->Reset->Soft " right-click and say " Commit ". This commit will contain all the changes of the last m commits together

How do I create a proper new local and remote branch combination in EGit?

核能气质少年 提交于 2019-12-04 09:21:38
问题 I would like to do the following in EGit: $ git checkout -b newbranch $ git push -u origin newbranch This gives me a new local branch, pushes it to the upstream server and creates the right tracking reference . How do I do the same in EGit? 回答1: For the first operation, you can read the EGit manual "Creating a New Local Branch " Select Team > Switch To... > New Branch For the push, see Vogella's Egit tutorial, but also the "Push ref specification" Note: robinst has opened bug 378960 "Allow to

Controlling eGit's treatment of symbolic links

可紊 提交于 2019-12-04 04:25:36
I am setting up a project that will be shared among several programmers at my organization. We are using git--to which I am a newcomer. The project directory includes symbolic links to documentation directories that should not be under version control. I want to maintain the symlinks under version control as symlinks, rather than having them dereferenced and all of the content of the symlinked directory placed under version control. I find that the git command line tool behave the way I want: git add -A . However if I try to use the Eclipse version of git, eGit, to add all the currently

EGit not showing changed files.

故事扮演 提交于 2019-12-04 03:51:49
问题 I have been using EGit to upload my stuff to github for a few months now. But off late I do not see what files have been changed, and I dont know why. Please help. As you can see I have updated some files and I cannot see a list of files in the files section. 回答1: As the comment 2 at the Eclipse bug 446534 mentioned, calling table.pack() will solve this problem for a single tableviewer. 回答2: This looks like a problem with Mac OS X 10.10 and SWT, see Eclipse bug 446534 for details. Note that

Can't add files to my repository with Eclipse EGit

纵饮孤独 提交于 2019-12-04 03:16:18
I use Eclipse (Helios) with PDT and EGit. I have a project without versioning, so I created a git repository for it by doing: Team -> Share Project When I try to add the files of my project to the repository: Team -> Add I get an exception: Failed to add resource to index Failed to add resource to index Exception caught during execution of add command When I add the files manually on the command line, everything is working fine. Any ideas? EDIT: The error eclipse gives is: Caused by: org.eclipse.jgit.errors.ObjectWritingException: Unable to create new object: Z:\eage_layout\.git\objects\60

Eclipse EGIT: Current branch not configred for pull

流过昼夜 提交于 2019-12-04 02:28:25
I am working on a tilebased RPG with a friend of mine who has to go away for weeks and we decided it was time to use version control/git. I am starting to regret that. After a few hours we managed to get it working to the point where: I create a repository on github, add him as collaborator. I commit project in eclipse to git, push He pulls, gets it imported in his workspace I make some changes, commit push, he pulls the changes. He makes some changes, commits and pushes successfully. Changes appear in repo I try to pull changes, get errors (see image), unsuccessful. I make some changes, try

Eclipse + Maven + Git + Multi-Module projects = Unhappiness

时间秒杀一切 提交于 2019-12-04 00:43:47
We've got a multi-module project using Eclipse and Maven. The only way I could get it to work in the past was to use a flat layout for the projects, where the parent module was a peer to the other modules. This worked fine with m2eclipse and Subversion. Now we'd like to move to Git and GitHub. I'd like to expose the entire project, along with all the modules, as a single project on GitHub. The problem is that EGit, the Eclipse/Git plugin, wants to manage projects one at a time, not groups of projects, and so if you've got a flat layout, you can't do it. The right answer is to use a standard