Version management: Difference between revisions

From Bibliotheca Anonoma
(starting a page to tach noobs how to version management.)
 
(more shitty work)
 
Line 10: Line 10:
== Git ==
== Git ==
== Gitting git ==
== Gitting git ==
https://git-scm.com/downloads
=== Windows ===
=== Windows ===
GUI master race
GUI master race:
CLI peasants
TODO
CLI peasants:
 
=== Linux ===
=== Linux ===
CLI peasants
CLI peasants:


== Gitting gud ==
https://git-scm.com/book


=== git clone ===
=== git clone ===
Line 34: Line 39:
=== git push ===
=== git push ===
write some local repo to some remote host
write some local repo to some remote host
== Links ==
https://help.github.com/en

Latest revision as of 12:26, 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[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