How To Install Git 1.9.0 On Ubuntu 14.04,13.10,12.10,12.04,10.04, Linux Mint 16,14,13 And Elementary OS 0.2

$ sudo add-apt-repository ppa:git-core/ppa

$ sudo apt-get update


$ sudo apt-get install git



Push Your App to GitHub

Check if Git is installed

In the terminal type git --version (1.8 or higher preferred)

If not, download Git [here] (http://git-scm.com/downloads). Then, setup your local Git profile - In the terminal:

Type git config --global user.name "your-name"

Type git config --global user.email "your-email"

To check if Git is already config-ed you can type git config –list

Push your app to GitHub using the command line

  1. git init
  2. git status
  3. git add .
  4. git commit -m "first commit"
  5. git push -u origin master
  6. enter your username and password of github

GIT and REPO CheatSheet


Comments

Popular posts from this blog

Bluetooth Data Transfer Example

DeCompile .apk file on ubuntu 14.04