GETTING STARTED
GIT & GITHUB

Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Every Git clone is a full-fledged repository with complete history and full revision tracking capabilities, not dependent on network access or a central server. Branching and merging are fast and easy to do.

About GitCrash course in gitGit book & The home of Git


Github & 1blankspace.com

The open 1blankspace js/jQuery user interface scripts are hosted on Github.

There are 2 key repositories:

1blankspace All js files including master.js Standard viewport (user views) interaction (controller) files - eg manage a contact person that is binding the CONTACT endpoint.   As used at 1blankspace.com
1blankspace-developer js files for the simple developer interface (IDE) The files for managing website/apps, structures etc - as used in developer.1blankspace.com
1blankspace-winrt Win8/RT example enterprise app. Visual Studio 2012 Expresss RC Solution files.

You can fork either repository to build your own app and then pull down the master incrementally as changes are made to it - with out effecting your own fork.

if you have some great sample code you want to show or re-use then gist it.


Basic Git Workflow Example

Thanks to heroku.

Using git bash:

Initialize a new git repository, then stage all the files in the directory and finally commit the initial snapshot.
$ git init
$ git add .
$ git commit -m 'initial commit'

Create a new branch named featureA, then check it out so it is the active branch. then edit and stage some files and finally commit the new snapshot. $ git branch featureA
$ git checkout featureA
$ (edit files)
$ git add (files)
$ git commit -m 'add feature A'

Switch back to the master branch, reverting the featureA changes you just made, then edit some files and commit your new changes directly in the master branch context.
$ git checkout master
$ (edit files)
$ git commit -a -m 'change files'

Merge the featureA changes into the master branch context, combining all your work. Finally delete the featureA branch.
$ git merge featureA
$ git branch -d featureA 

Full cheatsheet


Example as a ibcom/1blankspace repository owner with ssh key access:

$ git remote add origin git@github.com:ibcom/1blankspace.git
$ git pull origin master
$ git push -u origin master

Remove files that have been deleted:

$ git add -u
$ git commit 

 

 

git

github.com
Github Getting Started
Git cheat sheet
Git Reference
windows.github.com
mac.github.com
 
Download git
ibCom repository
Register your apps as mashups on programmableweb.com

 

Help!