eclipse上用bitbucket git管理代码的部署环境
2015-12-25 12:02
561 查看
How to Configure BitBucket Git Repository in your Eclipse Environment? Git version control with Eclipse (EGit)
Here are quick steps to setup BitBucket Repository to you Eclipse Environment.
Step-1
Register for Bitbucket.地址:https://bitbucket.org/
Step-2
Create Private/Public repository
Step-3
On Overview page https://bitbucket.org/dashboard/overview, look
for your repository information.
Mouse hover will give you
Repository URLwhich we will use later
to import project into Eclipse.
Step-4
Now let’s make Eclipse ready for Git.Open Eclipse
Click on
Helpmenu
Click
Install New Software
Step-5
Install eGit into Eclipse. Git version control with Eclipse (EGit) – Tutorial. How to use bitBucket with EGit in Eclipse.URL:
http://download.eclipse.org/egit/updates
Step-6
Select Eclipse Git Team Providerand
JGitform
option and
click nextand
finishinstall.
Step-7
Now Open Perspective and choose Gitfrom
list.
Step-8
Click Clone Repository Button
Step-9
Enter your Bitbucket URL and User Information as mentioned in below diagram. Click Nextand
Finish.
No need to change other configuration in next window.
Step-10
You should see your Bitbucket repository now in eclipse.
Step-11
Now you may want to import the project so you can work on the source code.Click
‘Windows’ >
‘Open Perspective’ >
‘Resource’
Click
‘File’ >
‘Import’ >
‘Git’ >
‘Projects from Git’ >
‘Existing local repository’ >
‘Select a Git Repository’ >
‘Import as General Project’ >
‘Next’ >
‘Finish’
The code should then appear in your ‘Project Explorer’ window as a normal project
Now make changes to your file as you want
Look at ‘Git Staging’ view to see your changed files and Click ‘
Commit and Push‘
Do let me know if you encounter any issue while setting this up. Now what? Now
setup SmartGit with your BitBucket repository to do all kind of commit, put, etc GIT operations.
相关文章推荐
- 好大滴坑, Spring MVC覆盖了Trsaction
- Spring学习第二天
- springJAR包和配置文件
- java内存泄漏问题定位
- 深入理解java类加载器ClassLoader
- java接口用法:向上转型和接口回调
- Java实现几种常见排序方法
- Java设计模式 状态模式(State)
- IE浏览器请求json数据弹出下载框问题【在springmvc中配置如下内容,可以避免】
- Java Servlet (1) —— Filter过滤请求与响应
- MD5加密类~~可以直接使用的(java)
- Struts2工作原理
- eclipse 运行前保存所有文件 自动补全
- throw Java(二)
- eclipse常用快捷键
- 深入Struts2的配置文件
- JDK目录说明
- eclipse 中文注释的乱码问题解决方案
- javaSE复习系列之集合篇-HashMap与Hashtable
- Java多线程编程总结