Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Weng Jeff Lee
Weng Jeff Lee
12,865 Points

How can i use git in real life?

I just learn git basic at treehouse here. I understand the concept of it but how can I really get start?

I'm using MAMP environment for my work. I'm doing my project without using VCS before. Because I doing it alone and my project are not complicated. But I really want to try using VCS on my next project.

I'm new on VCS, I just curious how can VCS really use on my code. I do appreciate for people who try to explain. Thanks

1 Answer

Ken Alger
STAFF
Ken Alger
Treehouse Teacher

Weng;

In a nutshell, use it just like in the Git Basics course. As you are developing a project use git on your local machine and commit changes along the way. If you want them hosted elsewhere or want to share them others, you can push them up to gitHub.

I read an interesting article the other day about the way an author utilizes git for his writing. That may give you some additional examples or thoughts on uses.

For your own project(s) to try it out, play around with some of the options, make some branches, revert some changes, etc. Then take a look at what it enables you to do in your project(s).

Just some quick thoughts. Git is way more powerful than that, but it should get you started.

Ken

Weng Jeff Lee
Weng Jeff Lee
12,865 Points

Thanks Ken!

I been trying and explore just now and I think I understand how it really work on my project already! Appreciate your helping!