This repository was created to help me understand how to use git on the command line. The files in this repo were pushed using git on the command line.
Another purpose of this repository is to learn how to use and deploy on Netlify. I plan to use Netlify in the future after my Namecheap hosting plan expires.
These are the basic git commands that I learned thoughtout this tutorial. I will be learning more advance git commands in the future.
git config
- Configures your global Git account (user.name
and user.email
)
git init
- Initializes your Git repo
git status
- Checks the status of your Git repo
git add
- Tracks the files in your directory
git commit
- Commits your tracked files
git push
- Uploads your files to your Git repo
git pull
- Downloads your files from your Git repo
git clone
- Creates a clone or copy of an existing repo
git branch
- Lists all of your branches
git branch <new branch>
- Creates a new branch using the current commit
git checkout
- Switches your branch and navigates to another branch
git log
- Shows all of your commit in your current branch
git merge
The files are just basic HTML and CSS files. They don't contain anything important. I created these files so that I have something to commit and push to this repo using the command line. You can see the files live here.