A Git Commit Example || How to do Your first Git commit || #Git #GitHub #GitLab #Python #JavaScript

preview_player
Показать описание
Here's a quick Git tutorial on how to create your first git commit.

It's not hard, although you must first install Git.

Then create a folder for your project an in that project issue the git init command.

Then add a file to the folder and then issue the following command to add that file to the Git staging index:

git add .

Then commit the file!

git commit -m "My First Commit"

If you run the git reflog command afterwards you'll see the commit!
Рекомендации по теме