Ayan Choudhury
Founder & CEO - TheoreX | Startup Enthusiast | Open Source Enthusiast | Wikimedian | Mozillian
?
$ git init myproject
$ cd myproject
$ git add .
$ git commit -m "Importing my
first code"
doug . $ git checkout master
doug . $ git commit -a -m "My new logo"
doug . $ git push
dana . $ git checkout -b danasfeature
dana . $ git commit -a -m "My feature code"
dana . $ git push origin danasfeature
doug . $ git checkout master
doug . $ git commit -a -m "My new logo"
doug . $ git push
dana . $ git checkout -b danasfeature
dana . $ git commit -a -m "My feature code"
dana . $ git push origin danasfeature
doug . $ git pull
doug . $ git merge danasfeature
$ git add -p Myreport.markdown
$ git commit -m "Added latest statistics"
$ git log --graph --decorate
FEDORA >
sudo yum install git
DEBIAN / UBUNTU >
sudo apt-get install git
ARCH LINUX >
$ pacman -S git
$ git config --global user.name "your_username"
$ git config --global user.email "yourmail@mail.com"
$ ssh-keygen -t rsa -C "your_email@example.com"
$ ssh-add id_rsa
..git is
By Ayan Choudhury
How to setup Git and other stuffs regarding GIT
Founder & CEO - TheoreX | Startup Enthusiast | Open Source Enthusiast | Wikimedian | Mozillian