Skip to content

RenPen3/karens-git-cheatsheet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 

Repository files navigation

  1. Download and install git from git-scm
  2. Check git version
git --version
  1. Let Git know who you are
git config --global user.name "your name"
git config --gloabal user.email "your email"


4. Check the status of files/project
```bash
git status


# the short way
git status  --short

# ?? - Untracked files
# A - Files added to stage
# M - Modified files
# D - Deleted files
  1. Add a file to the staging enviroment
git add <"filename">
# or 
git add .
  1. Committing our project files
git commit -m "our message"

# or we can commit and add commands together

git commit -am "your message"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published