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

Gitting git

https://git-scm.com/downloads

Windows

GUI master race: TODO CLI peasants:

Linux

CLI peasants:

Gitting gud

https://git-scm.com/book

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

Links

https://help.github.com/en