Skip to content

RyanSpittler/git_warmup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Warmup

for Building the Toolbelt of a Junior Ruby on Rails Developer


This is an inclass practice project for Git and Github.

Steps:
Command line:

    echo '2.1.5' > .ruby-version
    echo 'this_folder' > .ruby-gemset
    cd .
    mine .

RubyMine
Create Gemfile with:

source 'https://rubygems.org'

gem 'guard-rubocop'

Command line:

    bundle install
    guard init rubocop
    guard

RubyMine
Create .rubocop.yml with:

AllCops:
  Exclude:
    - 'Guardfile'
StringLiterals:
  Enabled: false

Command line:

    git init
    git status
    git add .rubocop.yml .ruby-version .ruby-gemset Gemfile Gemfile.lock Guardfile Readme.md
    git commit -m 'Initial Commit'
    git log

Browser:
Create a new repository at https://github.com/new Copy the "existing repository" link with SSH clicked

Command line:
Paste into command line and press return
For future pushes:

    git push

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages