Version management: Difference between revisions

From Bibliotheca Anonoma
(starting a page to tach noobs how to version management.)
(No difference)

Revision as of 12:22, 10 September 2019

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