Version management

From Bibliotheca Anonoma
Revision as of 12:22, 10 September 2019 by Ctrl-s (talk | contribs) (starting a page to tach noobs how to version management.)
(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

Gitting git

Windows

GUI master race CLI peasants

Linux

CLI peasants


git clone

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


git init

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


git pull

grab code from some remote host to an existing local repo

git push

write some local repo to some remote host