-
Introduction to Git (and version control)
-
what does it do / why use it
-
how does it work
-
tracking changes in hidden file in your directory
-
process overview (like that slide/visual in learn enough git to be dangerous)
-
Setup
-
downloading git in terminal
-
Introduction
-
account walkthrough (browser GUI tour)
-
Create Github account
-
create account
-
Install Github CLI
-
Create Github repository (from browser GUI)
-
Intro
-
Its just way better...
-
Installing
-
`brew install gh`
-
`brew upgrade gh`
-
`gh repo create`
-
Create Github repository (from terminal ) how to: https://docs.github.com/en/get-started/importing-your-projects-to-github/importing-source-code-to-github/adding-locally-hosted-code-to-github
-
`git init` initialize a new repository (aka 'activate') git functionality to track changes in your folder. Note: you have to have some file in your repository to initialize a repository (cant be empty).
-
`git clone` copy an existing repository to your local machine
-
`git status` "what's the status with this directory?"
-
`git add` "stages changes"
-
`git commit` "commits staged changes"
-
`git push` "pushes commit into repo"
-
`git log`
-
`git log -p`
-
`git diff` "what changed...?"
-
`git branch` displays the current branches
-
`git checkout`
-
`git checkout ` checkout the branch
-
`git checkout -b ` create new branch, and checkout the branch
-
Notifications
You must be signed in to change notification settings - Fork 0
serpuniversity/learn-git
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published