start with Git

Steps to start Github.com

  1. open the terminal

  2. in a local directory, say

    git init
    

    as like

    ~/projects/first_repo $ git init
    

    (before this step, install “git” on your laptop)

  3. and then, say

    git remote add origin repo_url
    

    with the repo URL (before this, open a github.com account & get a repo)

  4. then it worked. after that, whenever edit something on the directory (when have something to commit) use

    git status git add . 
    git commit -m "description"
    
  5. and when say finally,

    git push
    

    then it asks login ID & password at github.com

 
0
Kudos
 
0
Kudos

Now read this

Ruby block

I’ve been trying to figure out how it works. This morning I wanted to write it down my thinking process today, before I forget. block_given? block_given? is a method of Kernel module. In other words, it’s one of the same kind of puts,... Continue →