diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e530305 --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +.PHONY: serve + +serve: + xdg-open http://localhost:8000 + livereload -p 8000 . diff --git a/atom-one-dark.css b/atom-one-dark.css new file mode 100644 index 0000000..1616aaf --- /dev/null +++ b/atom-one-dark.css @@ -0,0 +1,96 @@ +/* + +Atom One Dark by Daniel Gamage +Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax + +base: #282c34 +mono-1: #abb2bf +mono-2: #818896 +mono-3: #5c6370 +hue-1: #56b6c2 +hue-2: #61aeee +hue-3: #c678dd +hue-4: #98c379 +hue-5: #e06c75 +hue-5-2: #be5046 +hue-6: #d19a66 +hue-6-2: #e6c07b + +*/ + +.hljs { + display: block; + overflow-x: auto; + padding: 0.5em; + color: #abb2bf; + background: #282c34; +} + +.hljs-comment, +.hljs-quote { + color: #5c6370; + font-style: italic; +} + +.hljs-doctag, +.hljs-keyword, +.hljs-formula { + color: #c678dd; +} + +.hljs-section, +.hljs-name, +.hljs-selector-tag, +.hljs-deletion, +.hljs-subst { + color: #e06c75; +} + +.hljs-literal { + color: #56b6c2; +} + +.hljs-string, +.hljs-regexp, +.hljs-addition, +.hljs-attribute, +.hljs-meta-string { + color: #98c379; +} + +.hljs-built_in, +.hljs-class .hljs-title { + color: #e6c07b; +} + +.hljs-attr, +.hljs-variable, +.hljs-template-variable, +.hljs-type, +.hljs-selector-class, +.hljs-selector-attr, +.hljs-selector-pseudo, +.hljs-number { + color: #d19a66; +} + +.hljs-symbol, +.hljs-bullet, +.hljs-link, +.hljs-meta, +.hljs-selector-id, +.hljs-title { + color: #61aeee; +} + +.hljs-emphasis { + font-style: italic; +} + +.hljs-strong { + font-weight: bold; +} + +.hljs-link { + text-decoration: underline; +} diff --git a/content.md b/content.md new file mode 100644 index 0000000..cad47ef --- /dev/null +++ b/content.md @@ -0,0 +1,425 @@ + + +# Introducción a Git y Github + +--- + + + +# Objetivos + +- Gestionar versiones con Git +- Aplicar las mejores prácticas de Git +- Trabajar con repositorios remotos (GitHub) +- Trabajar de forma colaborativa + +--- + +# Contenidos + +
+
+
+
+---
+
+# Sistema de control de versiones
+
+ $ git commit -m "my recent changes"
+
+ $ git init myfile.txt
+ $ git commit -m "my recent changes"
+
+
+ $ git add myfile.txt
+ $ git commit -m "my recent changes"
+
+ $ git commit -m myfile.txt "my recent changes"
+ $ git checkout HEAD
+
+ $ git checkout HEAD script.py
+
+ $ git checkout HEAD~1 script.py
+
+ $ git checkout [ID_last_commit] script.py
+
+ Ambos 2 y 4
+
+
+La vida surgió unos 1000e6 de años después de su creacion.
+
+
+La Tierra se formó hace aproximadamente 4550e6 de años.
+
+
+La vida surgió unos 1000e6 de años después de su creacion.
+La Tierra se formó hace aproximadamente 4550e6 de años.
+
+
+Error because you have changed tierra.txt without committing the changes
+
+git pull origin main
+git add
+git commit
+git push origin main
+
+
+
Chat with Less.js users and contributors
in '+f+" ";var p=function(e,t,n){void 0!==e.extract[t]&&c.push('
{content}
+
+
+
+
+
+
+