#Adding an existing project to GitHub using the command line
Simple steps to add existing project to Github.
In Terminal, change the current working directory to your local project.
##2. Initialize the local directory as a Git repository.
git init
| /* See blog post for details: http://www.suburban-glory.com/blog?page=173 */ | |
| ;(function(window, document, undefined) { | |
| // for browsers without navite bind support | |
| if (!Function.prototype.bind) { | |
| Function.prototype.bind = function(oThis) { | |
| if (typeof this !== "function") { | |
| // closest thing possible to the ECMAScript 5 internal IsCallable function | |
| throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); |
| (function () { | |
| 'use strict'; | |
| angular.module('myApp') | |
| .controller('SomeCtrl', SomeCtrl); | |
| SomeCtrl.$inject = ['$scope', '$http', ' alertService']; | |
| function SomeCtrl($scope, $http, alertService) { | |
| $http.put('http://some.url/user/44', { |