*Played around with git and maybe Github
!100Devs
Microsoft Azure you a real one
Command Line Interface vs. Graphical User Interface
(print working directory) shows where you are
(make directory) create a folder
(change directory) move to a different folder
goes up a folder
go back to home folder
create a file
shows you all the files in a folder
shows you all the files in a folder with more info
shows you all the files in a folder including hidden
removes a file
removes a folder
removes everything even protected files - be careful!
clears what is currently being displayed
Opens file in VS Code
In VS Code:
view -> Command Palette ->
Shell Command: Install 'code' command in PATH
(for today)
(save points)
A really fancy way of tracking changes
This has a deeper meaning, but similar to save points
Just the term for creating that save point
No more file -> save as -> folder132
(for today)
(for life)
Install Homebrew:
$ /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
$ brew install git
Debian / Ubuntu
$ sudo apt-get update
$ sudo apt-get install git
Setup User Name and Email
$ git config --global user.name "Leon Noel"
$ git config --global user.email "leon@leonnoel.com"
*If you get stuck, leonnoel.com/discord
Creates a special folder to hold all of your snapshots (commits)
Adds file to staging area (not yet in that special folder)
Adds all html files to staging area (not yet in that special folder)
Adds everything to staging area (not yet in that special folder)
Shows everything in staging area (not yet in that special folder)
Removes index.html from staging area
Adds everything in staging to the special folder as a snapshot
If you get stuck in vim:
i -> then type your message -> escape -> type :wq -> enter
Adds everything in staging to the special folder as a snapshot
Changes name of staging area to main
Find out if you are on main first
Creates a new branch for you to make changes on without affecting the rest of your code!
Moves you to new branch where you can make changes without affecting the rest of your code!
git add .
git commit -m "changes made"
Moves you back to main branch
Adds changes from other branch to main
60 hours of free compute time
Freelancer Repo We Just Created
"GitHub flow is a lightweight, branch-based workflow. The GitHub flow is useful for everyone, not just developers. For example, here at GitHub, we use GitHub flow for our site policy, documentation, and roadmap."
https://docs.github.com/en/get-started/quickstart/github-flow
git pull git checkout or just .
Commit has issue number
Ex: Added company name #1