LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 11:25 AM   #1
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
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, 11:46 AM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2beta3 on Lenovo Thinkpad W520
Posts: 6,793

Rep: Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136Reputation: 2136
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, 11:47 AM   #3
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 672

Rep: Reputation: 94
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, 01:44 PM   #4
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
I wonder, how do you revert to a previous commit and then get back to a newer one?
 
Old 12-02-2009, 01:52 PM   #5
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Squeeze 2.6.32.9 SMP AMD64
Posts: 3,275

Rep: Reputation: 126Reputation: 126
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, 02:33 PM   #6
ozanbaba
Member
 
Registered: May 2003
Location: Tengiz
Distribution: Slackware64 14.1
Posts: 672

Rep: Reputation: 94
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, 05:05 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Original Poster
Rep: Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720Reputation: 720
Here's a nice video tutorial I found:

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:10 PM
why is git scm named 'git'? hottdogg Linux - General 5 02-03-2009 08:25 AM
inconsistency issue of git-clone ***/git/mesa/drm with the existing kernel source centguy Linux - Desktop 2 10-08-2008 11:36 PM
LXer: Tutorial: How to Write a Tutorial LXer Syndicated Linux News 0 08-01-2008 07:41 AM
LXer: Tutorial: An Easy Tutorial on IP Tables and Port Knocking LXer Syndicated Linux News 0 02-04-2008 05:20 PM


All times are GMT -5. The time now is 08:36 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration