Skip to content

Instantly share code, notes, and snippets.

View kudko's full-sized avatar

Ievgenii kudko

  • Toronto, ON
View GitHub Profile
@kudko
kudko / Git_cheatsheet.md
Last active October 8, 2016 21:21
Git Cheatsheet

Git Cheatsheet

Recently I took a great introductory course to Git/GitHub from Udacity. Those of you who are interested in what Git and GitHub is or simply want to add a better structure to your knowledge, please, follow this link. Here I decided to post a cheat sheet with some basic commands and a bit of theory behind them that I learned from that course.

Initialize the repository

git init

git init should be executed when you are located in your working directory. When you initialize a repository, Git creates a hidden folder named .git. This folder keeps track of all the history and changes that have ever been done to your files.

Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.