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
- git init
- git status
- git add .
- git commit -m "first commit"
- git remote add origin https://github.com/username/yourprojectname.git
- git push -u origin master
- enter your username and password of github
Comments
Post a Comment