Solved

Using GIT on ubuntu

Posted on 2011-02-21
10
799 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

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Article by: gr8gonzo
Git can be a complicated version control system for beginners, but it definitely is one of the best ones out there. Since this article assumes that you're starting at square one, it will skip over things that Git -can- do and will focus on the typic…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

776 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