https://github.com/timhanewich/git-demo
A basic demonstration of git functionality!
https://github.com/timhanewich/git-demo
Last synced: 5 months ago
JSON representation
A basic demonstration of git functionality!
- Host: GitHub
- URL: https://github.com/timhanewich/git-demo
- Owner: TimHanewich
- Created: 2022-12-05T17:09:24.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-13T18:40:52.000Z (over 3 years ago)
- Last Synced: 2025-07-23T12:58:59.740Z (11 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Git Demo
This repository is designed to demo basic functionality of git as a version control system.
## Installing & Setting Up Git
Download & Install Git here: [https://git-scm.com/downloads](https://git-scm.com/downloads). *(see the "Download for Windows" button)*.
The installation wizard will take you through many menus and configuration options. It is fine to leave them all default and keep clicking **next**!
- After installation, open command prompt.
- Run `git --version` to check which version of git you have installed.
- If you get an error that sounds like *"___ is not recognized as an internal or external command"*, you may need to restart your computer.
- Run `git config --global user.email "me@email.com"`, replacing *me@email.com* with your email.
- Run `git config --global user.name "First Last"`, replacing *First Last* with your name.
## Cloning this repo locally
```
git clone https://github.com/TimHanewich/git-demo
```
## Some commands
- `git status` - Which files in this directory have been changed since the last commit?
- `git diff` - Specifically, what changed in those files since the last commit?
- `git add` - Add a file's changes to the staging area (prepare for a commit)
- `git commit` - Commit the staged changes to the change log (git)