this is for holding javascript data
John Blischak Avoid mention of branches in main text.
about 9 years ago
Commit id: 79138527fa7a45fc0c3992e3fd10a81a031ff067
deletions | additions
diff --git a/share-your-code.tex b/share-your-code.tex
index dd85d16..8b7a6a0 100644
--- a/share-your-code.tex
+++ b/share-your-code.tex
...
$ git push origin master
\end{lstlisting}
We first specify the remote repository,
"origin", followed by the name of "origin".
Second, we tell Git to push to the
branch name "master".
Branches are parallel versions "master" copy of the
code, but repository - we
will not cover them in depth won’t go into other options in this
tutorial (Box 2).
As we have seen, we can already accomplish a lot when only using one branch. tutorial, but Box 2 discusses them briefly.
Pushing to GitHub also has the added benefit of backing up your code in case anything were to happen to your computer.
Also, it can be used to sync your code across multiple machines, similar to a service like Dropbox, but with the added capabilities of Git.