Git& GitHub
Efficient code Management with Version Control
Repositories branches commit & more
git
The local tool installed on your computer
Version control for web development projects
Organized in "repositories"
GitHub
Cloud hosting provider for "Git repositories"
Collaboration in & contribution to web development projects
The world's largest development platform
Human-computer Interaction
GRAPHICAL USER INTERFACE GUI - easier
COMMAND LINE INTERFACE CLI prompt
Terminal (z shell ) MacOS interface
Command prompt (cmd) windows
Command prompt
dir
Git Basics Theory
Working Directory Current project folder
Repository all tracked files and folders
Commit code snapshot
"Added image","fixed order button"
Branch Where commits are stored
main/master
feature
git branch
git remote add origin https://github.com/valery-22/web-dev-github.git
git push origin main
CLONE
New folder
git clone https://github.com/valery-22/web-dev-github.git .
Change something after clone
Just add change vs
git add .
git commit -m "added local text file after clone"
personal access token
settings
Dev
name
repo
workflow
write.packages
gist
notification
user
cancel
git push origin main
code
Collaborating projects
git pull
new
Contributing to projects
git status
git add.
git branch -D feature
Why and What are Git & Github
Git
the local tool installed on your computer
Version control for web development projects
Organized in "Repositories"
GitHub
Cloud hosting provider for "Git repositories"
Collaboration in & contribution to web development projects
The world's largest development platform
Why use GitHub
Cloud storage Projects
Portfolio Page
Collaboration
Contribution
New repository
Folk
Wrap up
Module summary
Git version management
code changes
git init = initialize
git add = bing changes
git commit -m = identify our code
code branch = different branches divisions and parts
git checkout -b =
Github
git remote add origin = establish connection
git push = project new actualizations
git pull =
git clone = clone code
personal token access
Comments
Post a Comment