![]() ![]() Unlike SVN, this is the only place you’ll find any git folders, it doesn’t make a. If you were to open the hidden directory you’d see something like this: my_app/ Initialized empty Git repository in ~/Desktop/my_app/.git/ Step 1: Create the repository: $ git init First open up the terminal, create a directory, and navigate into it: $ cd ~/Desktop The point is to have a history of your code that you can always go back to. Starting with the basics here, we’ll create a “repository”, make some changes, and “commit” those changes into the repository. If you haven’t already installed git on your machine, you should read the Installing Git article in this issue. I know, Linus has no beard, but he should. There are some full-featured GUI’s for git, but most developers find the command line coupled with a GUI viewer to be more efficient. This article is all about Git, and using git from the command line. Working from multiple machines was a drag and collaborating with others was nearly impossible before the bearded computer geniuses came up with stuff like Git, my source control program of choice. It allows you to make mistakes and be experimental without worrying about getting back to an application that once worked. Part of the issue Git Your Act and Deployment Together.Įvery current or aspiring developer, member of a team or work-from-home freelancer, ought to be using source control for their code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |