?
Solved

Using GIT on ubuntu

Posted on 2011-02-21
10
Medium Priority
?
808 Views
Last Modified: 2013-12-15
I'm totally new to CVCS and DVCS repositories and somehow managed to understand  the difference between them. In my office CVS and Eclipse is being used and I don't have much knowledge of them other than installing. I'm asked to replace cvs with git.
I planning to use GIT on ubuntu machine. I used the following to install git on ubuntu desktop:
 
apt-get install git-core gitosis

Open in new window

I saw all the command line interface in the google when I searched about git. Anybody could help me in doing the following things graphically:


- How do I share repos/projects with the other developers so that everyone update the repos/project with Egit?.
I created a GIT project and shared it(Team>share). How do I share this project with other developer on another computer(on which git-core gitosis installed) and how do I push and pull the changes and how do I make sure the changes are updated between these two computers graphically with Egit.


IF anybody is using GIT, Egit & Eclipse on ubuntu, please help me...
0
Comment
Question by:Thyagaraj03
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
10 Comments
 

Author Comment

by:Thyagaraj03
ID: 34957342
No one is egit on ubuntu?. Could anyone add this to many relevant zones?
0
 

Author Comment

by:Thyagaraj03
ID: 34957357
Somehow I installed Egit plugin for eclipse.
0
 
LVL 6

Accepted Solution

by:
LeeeRussell earned 2000 total points
ID: 34995235
Have you seen this page on the git wiki?

https://git.wiki.kernel.org/index.php/InterfacesFrontendsAndTools

I know you specifically asked for graphical solutions for git, but may I suggest that you spend some time on the command line.  If you give it some time I think you'd find that the command line is much more flexible, and I think that it's easier in the long run.
0
Command Line Tips and Tricks

The command line is a powerful tool at the disposal of every Linux user. Although Linux distros come with beautiful user interfaces, it's worthwhile to learn the command line because it allows you to do a number of things that you otherwise cannot do from the GUI.  

 

Author Comment

by:Thyagaraj03
ID: 35003443
I've no problem learning and using git commands but the developers, they need egit gui
0
 
LVL 6

Assisted Solution

by:LeeeRussell
LeeeRussell earned 2000 total points
ID: 35004866
OK, this is the tutorial I used to learn git, and I think it will help answer some of the questions you have:

http://gitimmersion.com/index.html
0
 

Author Comment

by:Thyagaraj03
ID: 35005028
I cloned a project from another computer successfully with Egit.

Where I'm failing to do is, how to check the changes(file modification, creation or deletion of files/directories) made on a remote computer. I tried push/fetch with ssh via Egit and I'll get up-to-date message.

Generally after editing a file or creating file/folder, i'm doing Team>Add and Team>Commit and after going to remote computer I'm doing Team>pull but I could not see the file changes or newly created files/directories(created on source) on this remote computer.

Ofcourse I don't musch knowledge of CVCS/DVCS, i may be missing proper way of doing push & pull.  I don't know about checkout, branch, tag, rebase ...

After having cloned the project from remote computer, if anyone could post the steps here on how to perfectly fetch/pull and push changes to appear on remote computer, then I'm done and I could explain to the deveopers and implement it.

Thanks!
0
 
LVL 6

Assisted Solution

by:LeeeRussell
LeeeRussell earned 2000 total points
ID: 35005858
I think you are missing the proper way to do push and pull.  Git is very different from other version control you may have used, and it does take some getting used to.  It may make your life easier if you work to a specific model within git.  If you want to try that then may I suggest you work through this model, and see if you can map what it is saying to egit:

http://nvie.com/posts/a-successful-git-branching-model/
0
 

Author Comment

by:Thyagaraj03
ID: 35146328
I'll try that
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month11 days, 10 hours left to enroll

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question