Skip to content

serpuniversity/learn-git

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

README

  • 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

  • Github

  • Introduction

  • account walkthrough (browser GUI tour)

  • Create Github account

  • create account

  • Install Github CLI

  • Create Github repository (from browser GUI)

  • Github CLI

  • 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

  • Commands 101

  • `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

  • Collaborating 101

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published