LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2009, 10:25 AM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
git Tutorial


I wanted to use git version control for my programming projects, but I can't find a very good explanation of how to use it. Maybe you can give me some hints or show me a simple tutorial?
 
Old 12-02-2009, 10:46 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,062

Rep: Reputation: Disabled
http://www.kernel.org/pub/software/s...ttutorial.html

and of course "man git" or "info git.

Google is you friend
 
Old 12-02-2009, 10:47 AM   #3
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by MTK358 View Post
I wanted to use git version control for my programming projects, but I can't find a very good explanation of how to use it. Maybe you can give me some hints or show me a simple tutorial?
GitWine is a nice tutorial. it might be a little specific for wine but it has general usage information, too.
 
Old 12-02-2009, 12:44 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
I wonder, how do you revert to a previous commit and then get back to a newer one?
 
Old 12-02-2009, 12:52 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Quote:
Originally Posted by MTK358 View Post
I wonder, how do you revert to a previous commit and then get back to a newer one?
Could you use a branch for this; i.e. create a branch before you revert? I admit that I'm not much of a git user.
 
Old 12-02-2009, 01:33 PM   #6
ozanbaba
Member
 
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 778

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by MTK358 View Post
I wonder, how do you revert to a previous commit and then get back to a newer one?
git reset and git revert are used for this
git reset makes sure that last commit is not done

check man pages they have examples
 
Old 12-02-2009, 04:05 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443

Original Poster
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Here's a nice video tutorial I found:

http://www.gitcasts.com/posts/page/1
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP-MySQL tutorial and Linux Networking tutorial needed Please dlux45 Linux - Software 6 04-19-2010 01:10 PM
why is git scm named 'git'? hottdogg Linux - General 5 02-03-2009 07:25 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 10:36 PM
LXer: Tutorial: How to Write a Tutorial LXer Syndicated Linux News 0 08-01-2008 06:41 AM
LXer: Tutorial: An Easy Tutorial on IP Tables and Port Knocking LXer Syndicated Linux News 0 02-04-2008 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration