While reading Deep into Pharo, in the profiling section I noticed the text old object has greater change to live
, it seems fairly clear that this should have a greater chance to live
. The code for this book is stored on https://github.com/SquareBracketAssociates/DeepIntoPharo. Steps for updating this:
Fork
on the far right: This should redirect you to the DeepIntoPharo repository in your Git account 0 Johns-MacBook-Pro$ git clone https://github.com/jborden23/DeepIntoPharo.git Cloning into 'DeepIntoPharo'... remote: Counting objects: 4054, done. remote: Total 4054 (delta 0), reused 0 (delta 0), pack-reused 4054 Receiving objects: 100% (4054/4054), 89.39 MiB | 5.41 MiB/s, done. Resolving deltas: 100% (2043/2043), done. Checking out files: 100% (429/429), done. 0 Johns-MacBook-Pro$
Installing git can be done from here, but I just used the default Mac install (version 2.13.6).
0 Johns-MacBook-Pro$ git add Profiling.tex
-m
flag with the message, however not using this flag and using the editor to create a descriptive commit message is a better practice:0 Johns-MacBook-Pro$ git commit -m 'Updated "greater change to" to "greater chance to".' [master 4b0d3585] Updated "greater change to" to "greater chance to". 1 file changed, 1 insertion(+), 1 deletion(-)
0 Johns-MacBook-Pro$ git push Username for 'https://github.com': jborden23 Password for 'https://jborden23@github.com': Counting objects: 4, done. Delta compression using up to 4 threads. Compressing objects: 100% (4/4), done. Writing objects: 100% (4/4), 442 bytes | 442.00 KiB/s, done. Total 4 (delta 2), reused 0 (delta 0) remote: Resolving deltas: 100% (2/2), completed with 2 local objects. To https://github.com/jborden23/DeepIntoPharo.git 3346f53b..4b0d3585 master -> master
Making config changes can remove the username question, copying your ssh key can remove the password prompt.
New pull request
: Fill in the details of why the changes are benificial.