install git


root@billie-laptop:/home/billie/Desktop/git-1.6.3.3# apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libdigest-sha1-perl liberror-perl
Suggested packages:
  git-doc git-arch git-cvs git-svn git-email git-daemon-run git-gui gitk gitweb
The following NEW packages will be installed:
  git-core libdigest-sha1-perl liberror-perl
0 upgraded, 3 newly installed, 0 to remove and 220 not upgraded.

git tips

>>>
[billie@localhost Tinylion]$ git rm peter
rm 'peter'
[billie@localhost Tinylion]$ git commit -a -m "rm peter"
[master da45311] rm peter
 1 files changed, 0 insertions(+), 1 deletions(-)
 delete mode 100644 peter
[billie@localhost Tinylion]$ git add git_tip.c
[billie@localhost Tinylion]$ git commit -a -m "add git_tip.c"
[master af5c049] add git_tip.c
 1 files changed, 2 insertions(+), 0 deletions(-)
 create mode 100644 git_tip.c
[billie@localhost Tinylion]$ git push
warning: You did not specify any refspecs to push, and the current remote
warning: has not configured any push refspecs. The default action in this
warning: case is to push all matching refspecs, that is, all branches
warning: that exist both locally and remotely will be updated.  This may
warning: not necessarily be what you want to happen.
warning:
warning: You can specify what action you want to take in this case, and
warning: avoid seeing this message again, by configuring 'push.default' to:
warning:   'nothing'  : Do not push anything
warning:   'matching' : Push all matching branches (default)
warning:   'tracking' : Push the current branch to whatever it is tracking
warning:   'current'  : Push the current branch
Counting objects: 9, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (7/7), done.
Writing objects: 100% (8/8), 1.02 KiB, done.
Total 8 (delta 0), reused 0 (delta 0)
To git@github.com:billie666/Tinylion.git
   4d05060..96f862a  master -> master

// get modified files
[billie@localhost Tinylion]$ git pull
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (3/3), done.
remote: Total 3 (delta 0), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From git@github.com:billie666/Tinylion
   e0b0dd0..6c84d17  master     -> origin/master
Updating e0b0dd0..6c84d17
Fast forward
 adduser |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 adduser
[billie@localhost Tinylion]$ gitk

>>>>