Skip to content

snskshn/code_segments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is the code segment repository for simple linux-based applications.
You can use this for learning system call or linux library through simple test routines.

Belows are how to make this git repository at http://github.com
---------------------------------------------------------------
1. register free accounts at http://github.com.
2. install git
    apt-get insatll git-core git-gui git-doc
3. make ssh key pairs
    ssh-keygen -t rsa -C "snskshn@gmail.com"
4. register public key at github.com.
5. test connection to github.com
    ssh -T git@github.com
6. global account settings at host
    git config --global user.name "Seokshin Son"
    git config --global user.email "snskshn@gmail.com"
    git config --global github.user snskshn
    git config --global github.token j29083fj02983fj09283j09fj09823f (from www.github.com)
7. make repository (code_segments) at http://github.com
8. commit at host
    git init
    git add README
    git commit
    git remote add origin git@github.com:snskshn/code_segments.git
    git push -u origin master
9. always fetch from default branch
    git config branch.master.remote origin
    git config branch.master.merge refs/heads/master
10. download repository to specific directory
    git clone git@github.com:snskshn/code_segments.git
    git clone https://snskshn@github.com/snskshn/code_segments.git
    git clone git://github.com/snskshn/code_segments.git

How to use git?
---------------
1. reverting edited source file to HEAD revision (equivalent to "svn revert")
    git checkout HEAD filename

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published