filmov
tv
A Git Commit Example || How to do Your first Git commit || #Git #GitHub #GitLab #Python #JavaScript
Показать описание
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!
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!