• Mac OS X,  Mac OS X Server,  Mac Security,  Ubuntu,  Unix

    Basic Git Usage

    Previously we looked at installing Git on Mac OS X. Now let’s take a look at using it. The first step is to add a new local git repository that looks to a remote repository. In the following example I’m going to add a local repository called custom-safari based on the git repository at packages/custom-safari on git.krypted.com. git remote add custom-safari git://https://krypted.com//packages/custom-safari.git Next make sure you’re using the latest from the repository: git pull Then checkout from the master git branch: git checkout -b custom-safari/master Now pull the files you’ve checked out: git pull custom-safari master Now you can do your work. Edit the files, wok on them and when…