在Windows下,比较好的git实践是怎样的?
滿天的星座
滿天的星座 2017-04-28 09:06:23
0
7
669

描述

问题比较宽泛.
假设我在Windows下面做Java开发(必须使用IDE啊),希望自己的一个项目能够同github同步.

现在我是这样做的:
建立文件夹c:/a/b/c与github保持连接,然后使用IDE把项目建立到此文件夹下.现在我把代码推送到github上面=>每次都跑到此文件夹下面git bash=>git push origin master.
太蛋疼了.

使用的Java_IDE是IDEA, IDEA里面是否有更好的git功能?
恳请给点经验

滿天的星座
滿天的星座

reply all(7)
洪涛

The soul of git lies in its powerful commands, but you insist on ide...

Ty80

idea itself supports git

Menu Bar - VCS - Git

https://www.jetbrains.com/idea/features/version_control.html

世界只因有你

You can use Tortoise Git, a visual client, with your own scripts. Because github is not very convenient, I use Oschina's git a lot. Oschina's git warehouse can use ssh key to verify the identity, which is very convenient for submission.
In addition, intellij itself comes with scm plug-in.

黄舟

I am from .net, and VS2013 integrates git. However, I am still not used to it. I like semi-command and semi-interface. There are many git plug-ins in VS that can also be used.

滿天的星座

The Git operation integrated by IDEA is already very powerful. Even other win clients may not be much better than it. It is recommended that you read the following IDEA help manual carefully, which is very detailed. If you must process it outside of IDEA, then SourceTree is recommended, which is better than other GUI clients (but I think it is not perfect yet). As for best practices, of course you have to use Git from the command line, but the windows command line is a bit more fiddly.

为情所困

http://eclipse.org/egit/

仅有的幸福

For this, I highly recommend sourcetree, which is a very beautiful git client that is also very practical.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template