Get Started with Git and GitHub

Overview

Git is a version control system. With Git, you can track your changes that you make to your app's source code as it matures and progresses. If you use a version control system like Git, you won't have to worry about losing your app's code; going back to previous changes is a snap.

GitHub is a free website for posting your coding projects online. GitHub makes it easy to share your code with others. Indeed, all of Cytoscape's code is publicly available on GitHub. With GitHub, you can easily take someone else's code and play with it by forking.

In this section, we'll show you how to install Git on your machine and setup a free account on GitHub. Later in the ladder, we'll show you how to submit your app's code to GitHub using Git.

Process

1. Install Git

Windows

This will install a "Git Bash Shell", among other things. Use this to run Git commands - use Unix commands rather than the DOS commands used in a typical Windows command shell.

Mac

From GUI Installer

From Homebrew

From your terminal, type:

    brew install git

Linux

Other Git Tools

2. Create an account on GitHub

Creating an account is easy! Just go to https://github.com to create an account.

3. Learn how to use Git

If you're new to Git, we recommend reading Pro Git, chapters 1-3 and 5. The book is fairly short, and it should not take more than a couple hours.

Cytoscape_3/AppDeveloper/Cytoscape_App_Ladder/GetStartedWithGit (last edited 2015-02-18 17:18:54 by KeiichiroOno)

MoinMoin Appliance - Powered by TurnKey Linux