Stage this hunk [y,n,q,a,d,s,e,?]? ?
y - stage this hunk
n - do not stage this hunk
q - quit; do not stage this hunk or any of the remaining ones
a - stage this hunk and all later hunks in the file
d - do not stage this hunk or any of the later hunks in the file
s - split the current hunk into smaller hunks
e - manually edit the current hunk
? - print help
@@ -4,7 +4,7 @@
resources :cats
resources :dogs
-resources :lizards, only: [:index, :create]
+resources :lizards, only: [:index, :create, :show]
resources :ninjas
-resources :turtles, only: [:index, :create]
+resources :turtles, only: [:index, :create, :show]
resources :xylophones
Stage this hunk [y,n,q,a,d,s,e,?]?
--::-- Using SSH --::--
#### Create SSH key ####
$ ssh-keygen -t ed25519 -C "<YourEmail>@<Domain>.com"
#### Copy the SSH key ####
$ cat /path/to/private_key_file.pub
#### Add the SSH key to your GitHub account ####
$ echo "# myPracticeRepo" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git branch -M main
$ git config core.sshCommand 'ssh -i /path/to/private_key_file'
$ git remote add origin git@github.com:<UserName>/<RepoName>.git
$ git push -u origin main
--::-- Using HTML --::--
$ echo "# myPracticeRepo" >> README.md
$ git init
$ git add README.md
$ git commit -m "first commit"
$ git branch -M main
$ git remote add origin https://github.com/<UserName>/<RepoName>.git
$ git push -u origin main