Railstutorial git branch edit: how do I "fill" the contents of README.md with the contents of Listing 1.13? -


working railtutorial.org on section "1.4.4 branch, edit, commit, merge", using cloud9's online ide, made new git branch instructed, , renamed readme.rdoc readme.md in shell. tutorial explains should "fill readme.md contents of listing 1.13"

normally, navigate readme.md in file navigator, open file, replace contents of file contents of listing 1.13, press ctrl+s save, , continue. however, since new git, want make sure changes i'm making file made appropriate way.

am supposed edit file way did (finding in navigator window, open, edit, save) or supposed change contents using unix shell?

i not while making changes, , unix shell output concerned me because different railstutorial, below, specifically, deletions.

my output:

 2 files changed, 5 insertions(+), 28 deletions(-)  create mode 100644 readme.md  delete mode 100644 readme.rdoc 

railstutorial output:

$ git commit -a -m "improve readme file" 2 files changed, 5 insertions(+), 243 deletions(-) delete mode 100644 readme.rdoc create mode 100644 readme.md 

in working further through tutorial, believe fine did above.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -