Liliana Kastilio
Technical Services Architect at @snyksec #typescript ♥ ❯ Organiser of @devs_london ❯ Polyglot ❯ dnb ♥ ❯ aerialist ❯ she/her #javascript #nodejs #python #django
@lilianakastilio
bit.ly/githubfun
1. Git → git-scm.com
2. Sublime → sublimetext.com
3. iTerm → iterm2.com
$ mkdir gitfun
1. Create a new folder in the terminal
2. Go inside the folder
$ cd gitfun
Git is a version control system.
It is free and open source!
$ git init
1. Create a new git repo
You can now use the git commands in this folder to track your changes. Hurray!
1. Create a new file in Sublime
My name is Lili
2. Add a line in the file
name.txt
3. Save the file in our folder as
1. See what changed
$ git status
2. Stage a file to be commited
$ git add name.txt
1. Commit changes
$ git commit
2. Add a meaningful commit message:
Created a new name.txt file
Github is a web based Git repository hosting service
Create an account on github.com
and login.
Create a new repository : github.com/new
Tell Git about your remote repo
$ git remote add origin https://github.com/user_name/your_repo.git
You can now push all you local changes to the github repo
$ git push origin master
By Liliana Kastilio
Technical Services Architect at @snyksec #typescript ♥ ❯ Organiser of @devs_london ❯ Polyglot ❯ dnb ♥ ❯ aerialist ❯ she/her #javascript #nodejs #python #django