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

form_for checkbox associated with label

I put a form with checkbox, submit button, and label in iteration block. And I wanted each label clickable. <%= @tasks.each do |task| %> <%= form_for task, remote: true do |f| %> <%= f.check_box :complete %> <%=... Continue →