开发者

IDEA IntelliJ git clone

I am new to git and IntelliJ. I would like to get the source code for a project from a remote git repository and work on it using IntelliJ. I am use to Eclipse and SVN which has a "Checkout as Project" dialog.

I tried using "Check out from version control" but w/o any success.

  • As the "GIT Repo URL" I entered git+ssh://user@devserver.dev.org:/var/git/myProject
  • As the "Parent Dir" I added local directory /home/myName
  • As the "Dir Name" I added myProject

I pressed the clone button and nothing happend on the IDE. It does create the directory /home/myName/myProject with the .git configs but nothing has been fetched from the remote repository nor has the "New Project" Wizzard come up.

Can someone shed some light on how this would be done u开发者_如何学Gosing IntelliJ and Git compared to Eclipse and SVN? I am using IDEA 10.5 and Fedora LINUX OS.


With IntellIJ 12.0.3 VCS/Check out from Version Control/Git

IDEA IntelliJ git clone


With intelliJ, there is always going to be something that could do with improvement. In this particular instance, you will have a fetching progress indicator at the bottom of your window.

If you create a blank project (with no modules) first, then use the Version Control -> Checkout from version control -> Git, you will have a "version control" tab at the bottom of your window where you can at least see the commands sent to git. There is still no progress shown, and if you are lucky like me, it'll sit there silently for ages while git drip feeds the repo with 40kb/s (and we're on a 100 MB connection).

Eventually, it'll allow you to then create a new project for this repo and the tags/branches in your repo will spew out in the version control info panel (that other tab). It works, but its too damn quiet.


I use IntelliJ IDEA 2019.3 and this works to clone, import and (optionally) open the project in intelliJ:

File --> New --> Project From Version Control...
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜