Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 

Repository files navigation

Git Basics


Objectives

  • Start use a git and initilize repository in order to track changes.
  • Make a new branch to isolate your change.
  • Replace new or chagned files into the staging area to prepare them for a commit.
  • Edit and remove files from the staging area before a commit.
  • Commit new and changed files to a git repository.
  • Know how to Fork, Clone and PR concept.

GIT != GITHUB

Why Git


We're as developers needs to track our changes on code and files and collaborators with other developers. So we need to use Version Controll as GIT. Git is the most commonly used version control system. Git tracks the changes you make to files, so you have a record of what has been done, and you can revert to specific versions should you ever need to. Git also makes collaboration easier, allowing changes by multiple people to all be merged into one source.

Git Repositories

A Git repository (or repo for short) contains all of the project files and the entire revision history. You’ll take an ordinary folder of files (such as a website’s root folder), and tell Git to make it a repository. This creates a .git subfolder, which contains all of the Git metadata for tracking changes.

On Unix-based operating systems such as macOS, files and folders that start with a period (.) are hidden, so you will not see the .git folder in the macOS Finder unless you show hidden files, but it’s there! You might be able to see it in some code editors.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors