簡體   English   中英

如何將我的Eclipse工作目錄與使用egit的git倉庫目錄分開?

[英]How to separate my eclipse working directory to git repository directory working with egit?

如何將我的eclipse工作目錄(eclipse-workspace)與git倉庫工作目錄(git-workspace)分開?

嘗試使用eclipse“團隊”向導將我的新Java項目java-hello-world置於git源代碼管理下(放入名為git-workspace的本地目錄存儲庫中),eclipse將eclipse項目(java-hello-world)從eclipse-工作區目錄到git-workspace目錄。

我正在使用面向Web開發人員的Eclipse Java EE IDE。 版本:Oxygen.2 Release(4.7.2)Build ID:20171218-0600

我已經安裝了:-Egit from- http : //download.eclipse.org/egit/updates-git版本2.16.0.windows.2

一種方法是(如此處所示 ):

  • 將項目導入Eclipse(不涉及EGit)
  • 檢查您的源代碼是否仍然存在(未復制到Eclipse工作樹中)
  • 然后與Git共享您的項目(如果Git回購,EGit將識別存在):
    Team -> Share / Git

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM