Install Git

Use Git

Requirements

  1. Git from Git-scm.com/downloads

Git is essential. Yes for version control, BUT mostly helps you NOT to loose all your code.

  1. get Git from Git-scm.com downloads. Download and install.

Git IN YOUR PROJECT

In your project folder you can initialize our git repository and make an initial commit

1
2
3
git init
git add .
git commit -m "initial commit"

To see the .git folder you need to view hidden items the same way we showed extentions earlier.

Add a Global User Name and email - so you dont need to specify every repository (just yet)

Use your name or company name or alias Use your email or a hidden one (online git site like github provides them for security)

1
2
3
git config --global user.name "My Name"

git config --global user.email "myemail@example.com"

You also may need to learn about connecting your repository to a service like GitHub or BitBucket.

If you use VSCode you would simply try PUSH the git repository and it’ll prompt you as you go.

  • Make commits everytime after you make a few small changes. You can refine that process later.
  • Give the commit a descriptive name starting with a verb i.e. “FIX - display the correct icon”
Built with Hugo
Theme Stack designed by Jimmy