egit

Git: Different Working Directory and Repository location

隐身守侯 提交于 2019-12-11 06:32:12
问题 I made a home server where i'm using Git on a website I'm doing. I created a git on that home server, but I'm editing the files from another computer remotely connecting to it, and using an IDE(Eclipse+Egit) I'm using it. but its kinda slow. So is there a way to get my repository on my own system, but the actual working directory to the server? Currently my server git is on Z:/sites/my_site/.git I want my git to be on: C:/git/my_site/.git but still work on the Z:/sites/my_site/ files, and my

Workspace and repo paths arrangement for eclipse and git

▼魔方 西西 提交于 2019-12-11 04:44:23
问题 I've seen similar questions but some are very old and some are not quite what I'm looking for or have no answers. I have projects in Eclipse under /workspace/project1 and /workspace/project2 . They are Gradle projects and are dependent on each other. I also have /workspace/project3 which is a Gradle project but independent. I need to "upload" them to a git repo on Bitbucket. I installed EGit to help me with this. It asks me where my local repo is located and I don't know what to tell it.

Eclipse (GGTS) “Computing Git status for repository [username]”

跟風遠走 提交于 2019-12-11 04:12:17
问题 Each time I save an edit in Eclipse (GGTS/STS v3.4) it automatically runs the task: Computing Git status for repository [username]. The CPU usage rockets but it never seems to make any progress. I've left the process running for up to 15 minutes before giving up and stopping it manually. It then restarts the next time I save a change. Presumably EGit is trying to synchronise but it isn't really clear what or why. Does anyone know why this might be happening and how to stop it? 回答1: Older

Gradle- double-tier multi-project? In Eclipse with .git folders?

白昼怎懂夜的黑 提交于 2019-12-11 03:59:57
问题 A few months back I asked this question about multiprojects with neighboring project folder dependencies. I have a similar problem but with one complication. In each "project" folder, I put the .git folder and the actual project folder. So it is the same structure except I have to move up and move down two levels. | \ workspace | \ MyProject | \ MyProject //contains src and build.gradle .git | \ DependencyA | \ DependencyA //contains src and build.gradle .git I have tried to put this into my

JGit/EGit crashing on branch deletion/creation

半城伤御伤魂 提交于 2019-12-11 03:41:49
问题 I am trying to delete a branch from Git repositories view in eclipse Juno, running on Mac OS X lion, 64 bit. I get the following error log while I try to do so, and the changes are not reflected in the remote repository. org.eclipse.jgit.errors.RevisionSyntaxException:refs/remotes/origin/IMAdNetwork_3.5.4@8578 at org.eclipse.jgit.lib.Repository.resolve(Repository.java:649) at org.eclipse.jgit.lib.Repository.resolve(Repository.java:383) at org.eclipse.egit.ui.internal.repository

Problem occurs when using EGit for cloning repository in Eclipse (Missing unknown)

半腔热情 提交于 2019-12-11 03:39:57
问题 there. I am using EGit to import a project into Eclipse under Ubuntu 10.10. But at the end of the import, Eclipse complains as follows: Git repository clone failed. Missing unknown f499261f24471928b916bf066d018d995bcaccd9 Here is the git link: git://github.com/shogun-toolbox/shogun.git Can anyone gives a hint? Thank you. 回答1: This is a know bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=314853 However, upon further research, updating to the latest nightly build of EGit and a full update

Why is EGit showing unstaged changes in a freshly cloned repository?

最后都变了- 提交于 2019-12-11 02:38:31
问题 I'm running this on Windows Server 2003, and using the Cygwin version of the Git command line tools. I have a Subversion repository containing a set of Eclipse projects, and am testing migration of this repository into Git. From the command line I've used git svn to create the git repository, and git clone to clone the new repository locally. In Eclipse I use the import wizard "Import->Projects from Git->Existing local repository" to import the projects from the local clone. Once the projects

How to use git to sync code without committing?

馋奶兔 提交于 2019-12-11 00:59:33
问题 I use egit in Eclipse to sync my code between two locations using a repository on bitbucket. I want to be able to work on the code from either location. What I usually do is commit the changes at the end of the day. Is there another way I should be doing this, as I end up with a lot of commits for code that I'm still working on that is still broken? I thought the idea was that you are meant to only commit when the code is working. What is best practice so I can update the code in the

git - duplicate parent

霸气de小男生 提交于 2019-12-10 23:26:28
问题 I seem to have managed to have a commit with two duplicate parents using eGit (Eclipse's git client, powered by JGit). The 2nd parent causes that green 'branch to nowhere' that we can't get rid of. I've been googling ways to perform some surgery on the commit to remove the extra parent, but to no avail. Running cat-file I get: $ git cat-file -p 26dc6a5b44373f766d81513ab84c5eecaf876736 tree 527df208ee66f52bc414948b1de0fa6607cfb81c parent bc9d55d0451b325b4ad5a758be8b30c1418b3af9 parent

where should I put .gitignore to affect all projects?

无人久伴 提交于 2019-12-10 23:16:45
问题 where should I place a .gitignore file so that all my projects use those settings? I tried various folders and I can only get it to work if I put it in my project folder, but then the settings (of course) only are applied to that project... not my other projects. 回答1: You need to use the command line . The reason is, that you need to place the gitignore file in the parent directory of your Eclipse projects, but you cannot see that directory in the Eclipse workbench (as Eclipse projects are