egit

Controlling eGit's treatment of symbolic links

橙三吉。 提交于 2019-12-12 08:46:42
问题 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:

Can't run project in Eclipse imported from Git

自作多情 提交于 2019-12-12 08:36:34
问题 I have a project in my Eclipse workspace from Github (via File -> Import -> Projects from GIT). However, I am unable to run the example because the only option I have under "Run As" is "Run Configurations." After going to "Run Configurations" I click "browse" and the project that I imported from GIT isn't there. Any ideas? 回答1: The question is already answered in the comments but I am providing this answer to possibly clear up some misunderstandings. In order to recognize a folder as a (Java)

Need for a bare repo in GIT

巧了我就是萌 提交于 2019-12-11 23:59:24
问题 While reading the tutorials I keep hearing that I need to create something known as a bare repository for sharing all the files in the repo. I also hear that a bare repo does not contain any of the worfiles. If it does not have any workfiles then what will the other users clone on their local machines??? I currently have a directory in my linux server which i need to share among several users which will be accessing through eclipse ide's. Can anyone explain the issues highlighted above in

eclipse not showing git repository status

允我心安 提交于 2019-12-11 21:53:47
问题 we're using eclipse Oxygen.1a, release 4.7.1a. Earlier my eclipse was running slow and i was trying some things to speed it up(like disabling automatic updates, disabling validations etc. from this thread: How can you speed up Eclipse?). I also tried steps mentioned in few blogs. I dunno which exact thing did this, but now i can no more see the git sync status for my projects in package explorer view, it looks like this: Whereas earlier, against the project name it used to show [master], up

Github - Can't connect to any repository: error occurred during unpacking on the remote end: index-pack abnormal exit)

纵然是瞬间 提交于 2019-12-11 14:03:14
问题 I'm using eclipse Juno and Egit plugin to manage my repo. I try to push my repo to github to this link, https://github.com/datomnurdin/worklight-mobile Then I got this error during push to github. https://github.com/datomnurdin/worklight-mobile: error occurred during unpacking on the remote end: index-pack abnormal exit Thanks a lot in advance. 回答1: I'm just using the -clean argument. Thats all. 来源: https://stackoverflow.com/questions/20646903/github-cant-connect-to-any-repository-error

How do EGit versions map to Git versions

…衆ロ難τιáo~ 提交于 2019-12-11 10:49:13
问题 The Git Source Code Mirror on GitHub (https://github.com/git/git) says that the most recent version of Git is 2.7.4. I'm using EGit 3.5.2 on Spring Tool Suite (Eclipse Luna SR1), so that version number obviously doesn't correspond to a Git version. Is there any way to trace back what version of Git this version of EGit is based off of? I checked here, but it only maps versions of EGit to versions of Eclipse... https://wiki.eclipse.org/EGit/FAQ#What_is_Git.3F 回答1: As you noticed, EGit does not

Egit eclipse: resolve conflict without commit all files

旧街凉风 提交于 2019-12-11 09:21:49
问题 When in a git repository there is a conflict, after marking as resolved the conflicted file, in eclipse I can't commit only that file, but yes in sourcetree. Is there any way to commit only one file in egit when there is a conflict? Thanks! 回答1: Yes. After resolving the conflict right click on the file go to Team > Add to Index , then right click on the included project go to Team > Commit . Note that ADD ONLY those file to GIT index in which you are interested in commit next time. If

Rebase using egit

徘徊边缘 提交于 2019-12-11 08:35:40
问题 I'm on a feature branch, and I've just done a succesful rebase (Team > rebase > master) so my branch doesnt get too far from master. Now in the Eclipse git history, I can see the 5 commits of my branch are on top of master, which is the expected result. But there are some indicators next to the project name, saying [up-arrow] 7 [down-arrow] 5, and when I try to push my branch on the remote branch, it says : "rejected non-fast-forward" (I'm working alone on this remote repository and I have

How to see egit console output

帅比萌擦擦* 提交于 2019-12-11 07:59:29
问题 I want to see the output of the egit (eclipse plugin for git) when doing some operations like pulling, pushing in eclipse, just like the SVN plugin. Anyone knows how to do it? I'm using Elcipse Kepler which already contains egit. Thanks in advance. 回答1: You can install additional tool from opensource contribution http://rherrmann.github.io/gonsole/repository/ Look at post http://www.codeaffine.com/2014/07/09/gonsole-weeks-a-git-console-for-eclipse/ 回答2: The simple answer is that this is not

Unable to use egit to clone a repository with ssh

本秂侑毒 提交于 2019-12-11 07:55:04
问题 I try to clone a GIT repository with EGit using SSH. I can log on to the machine, see the available branches and choose where to put everything locally. Then when I proceed to actually do the cloning, I get an Eclipse "Problem Occured" box stating: "Cloning from ssh://[my user name]@[my address] has encountered a problem. ssh://[my user name]@[my address]: Password:". The details for the problem only list "ssh://[my user name]@[my address]: Password:" twice. The only possible reason I can