Skip to content

DWesl/git-cheatsheet

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 

Repository files navigation

Commands

Create

TODO: add explanation

git init

TODO: add explanation

git clone

Record changes

TODO: add explanation

git status

TODO: add explanation

git add

TODO: add explanation

git commit -v

View history and changes

TODO: add explanation

git log

TODO: add explanation

git diff

TODO: add explanation

git show

TODO: add explanation

git checkout

Undo things

TODO: add explanation

git reset HEAD

TODO: add explanation

git checkout --

TODO: add explanation

git revert

Branches

TODO: add explanation

git checkout -b

TODO: add explanation

git branch

TODO: add explanation

git branch -d

TODO: add explanation

git checkout

TODO: add explanation

git merge

Working with remotes

TODO: add explanation

git remote -v

TODO: add explanation

git remote add

TODO: add explanation

git fetch

TODO: add explanation

git pull

TODO: add explanation

git push

Vocabulary

  • HEAD:
  • branch:
  • check out:
  • clone:
  • commit:
  • fork:
  • index:
  • master:
  • remote:
  • repository:
  • staging area:
  • tag:
  • upstream:
  • version control system (vcs):

About

A cheat sheet for Git

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published