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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
12-02-2009, 11:25 AM
|
#1
|
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
|
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?
|
|
|
12-02-2009, 11:47 AM
|
#3
|
Member
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 779
Rep:
|
Quote:
Originally Posted by MTK358
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.
|
|
|
12-02-2009, 01:44 PM
|
#4
|
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
|
I wonder, how do you revert to a previous commit and then get back to a newer one?
|
|
|
12-02-2009, 01:52 PM
|
#5
|
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,410
Rep:
|
Quote:
Originally Posted by MTK358
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.
|
|
|
12-02-2009, 02:33 PM
|
#6
|
Member
Registered: May 2003
Location: İzmir
Distribution: Slackware64 15.0 Multilib
Posts: 779
Rep:
|
Quote:
Originally Posted by MTK358
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
|
|
|
All times are GMT -5. The time now is 10:35 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|