Version management

From Bibliotheca Anonoma
Revision as of 12:26, 10 September 2019 by Ctrl-s (talk | contribs) (more shitty work)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Why use version management? Because it's nice to be able to undo changes to your work. When you have a past version saved there's much less anxiety about making big changes. When you want to collaborate it helps a lot to be able to keep track of what's going on. Knowing what's changed and when is really helpful when you're managing code.

Why git? Because I already know a little, okay?

Git[edit]

Gitting git[edit]

https://git-scm.com/downloads

Windows[edit]

GUI master race: TODO CLI peasants:

Linux[edit]

CLI peasants:

Gitting gud[edit]

https://git-scm.com/book

git clone[edit]

copy a remote repo to a local dir e.g. git clone git://example.com/gits/somerepo.git


git init[edit]

start a new repo in some local dir e.g. git init my_new_repo/ e.g. git init .


git pull[edit]

grab code from some remote host to an existing local repo

git push[edit]

write some local repo to some remote host

Links[edit]

https://help.github.com/en