SHARE
TWEET

Untitled

a guest Dec 8th, 2015 98 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ``` bash
  2. Last login: Tue Dec  8 18:58:10 on ttys000
  3. daniel-helmicks-imac:~ Dan$ cd code
  4. daniel-helmicks-imac:code Dan$ ls
  5. address-bloc
  6. daniel-helmicks-imac:code Dan$ pwd
  7. /Users/Dan/code
  8. daniel-helmicks-imac:code Dan$ ls
  9. address-bloc
  10. daniel-helmicks-imac:code Dan$ cd address-bloc
  11. daniel-helmicks-imac:address-bloc Dan$ ls
  12. address_bloc.rb entries.csv     models
  13. controllers     entries_2.csv   spec
  14. daniel-helmicks-imac:address-bloc Dan$ git status
  15. fatal: Not a git repository (or any of the parent directories): .git
  16. daniel-helmicks-imac:address-bloc Dan$ git init
  17. Initialized empty Git repository in /Users/Dan/code/address-bloc/.git/
  18. daniel-helmicks-imac:address-bloc Dan$ git status
  19. On branch master
  20.  
  21. Initial commit
  22.  
  23. Untracked files:
  24.   (use "git add <file>..." to include in what will be committed)
  25.  
  26.         address_bloc.rb
  27.         controllers/
  28.         entries.csv
  29.         entries_2.csv
  30.         models/
  31.         spec/
  32.  
  33. nothing added to commit but untracked files present (use "git add" to track)
  34. daniel-helmicks-imac:address-bloc Dan$ git add --all
  35. daniel-helmicks-imac:address-bloc Dan$ git status
  36. On branch master
  37.  
  38. Initial commit
  39.  
  40. Changes to be committed:
  41.   (use "git rm --cached <file>..." to unstage)
  42.  
  43.         new file:   address_bloc.rb
  44.         new file:   controllers/menu_controller.rb
  45.         new file:   entries.csv
  46.         new file:   entries_2.csv
  47.         new file:   models/address_book.rb
  48.         new file:   models/entry.rb
  49.         new file:   spec/address_book_spec.rb
  50.         new file:   spec/entry_spec 2.rb
  51.  
  52. daniel-helmicks-imac:address-bloc Dan$ git commit -m "migrate address-bloc"
  53. [master (root-commit) 1194edd] migrate address-bloc
  54.  8 files changed, 318 insertions(+)
  55.  create mode 100644 address_bloc.rb
  56.  create mode 100644 controllers/menu_controller.rb
  57.  create mode 100644 entries.csv
  58.  create mode 100644 entries_2.csv
  59.  create mode 100644 models/address_book.rb
  60.  create mode 100644 models/entry.rb
  61.  create mode 100644 spec/address_book_spec.rb
  62.  create mode 100644 spec/entry_spec 2.rb
  63. daniel-helmicks-imac:address-bloc Dan$ git remote add origin git@github.com:dhelmick103/address-bloc.git
  64. daniel-helmicks-imac:address-bloc Dan$ git remote -v
  65. origin  git@github.com:dhelmick103/address-bloc.git (fetch)
  66. origin  git@github.com:dhelmick103/address-bloc.git (push)
  67. daniel-helmicks-imac:address-bloc Dan$ git push -u origin master
  68. Saving password to keychain failed
  69. Identity added: /Users/Dan/.ssh/id_rsa ((null))
  70. Counting objects: 12, done.
  71. Delta compression using up to 4 threads.
  72. Compressing objects: 100% (10/10), done.
  73. Writing objects: 100% (12/12), 2.89 KiB | 0 bytes/s, done.
  74. Total 12 (delta 0), reused 0 (delta 0)
  75. To git@github.com:dhelmick103/address-bloc.git
  76.  * [new branch]      master -> master
  77. Branch master set up to track remote branch master from origin.
  78. daniel-helmicks-imac:address-bloc Dan$
  79. ```
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top