Solved

Using GIT on ubuntu

Posted on 2011-02-21
10
802 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
  • 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 500 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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 500 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 500 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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

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…
The purpose of this article is to demonstrate how we can use conditional statements using Python.
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

792 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