RUVIDEO
Поделитесь видео 🙏

GIT Tutorial for Beginners #5 | Create your First Git Project | Use Git Basic Commands | git init

This Git Project video that runs Git basic commands is a part of my GIT Tutorial for Beginners Series
►Click here to access the complete course: https://www.youtube.com/playlist?list=PLLUtELdNs2ZZVQ-dLOMFWvmCCduzJ8c6R

►Click here to subscribe - https://www.youtube.com/stackdevelopers?sub_confirmation=1

Other Popular Stack Developers Series that can help you:-

►Laravel Advance E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZaHaFmydqjcQ-YyeQ19Cd6u

►Laravel API Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbcCsd4yAAiBU2L3ROREk8P

►Laravel Interview Questions - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbzB_1Jdp_yFcORwOfWP8RU

►jQuery Tutorial - https://www.youtube.com/playlist?list=PLLUtELdNs2ZbMYoUA46GIonOH29KcjtxA

►Laravel Basic E-commerce Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZY5drPxIWzpq5crhantlzp7

►Laravel Dating Series - https://www.youtube.com/playlist?list=PLLUtELdNs2ZZrPUnxjlomErJfNvkyS6Hf

Follow Stack Developers on Social Media to get updates and resolve your queries
►Like Facebook Page to get updates - http://facebook.com/stackdevelopers2/
►Join Facebook Group to resolve your queries - http://facebook.com/groups/stackdevelopers
►Follow on Instagram - https://www.instagram.com/stackdevelopers2/
►Follow on GitHub - https://github.com/stackdevelopers

In Part-5 of Git Tutorial, we will start using Git for our first sample Git Project. We will try to understand the basic commands of Git with this project. In upcoming videos, we will use Git for our live Laravel projects.

Create one folder testgit in which we will create below files:-
about.html
contact.html
index.html

We will write some dummy content in the above files.

If you are on Windows OS, then go inside testgit folder and right-click to choose "Git Bash Here".

After the Git Bash terminal open, try the below commands:-

git status

The "git status" command is used to understand what stage the files in a repository are at.

The output of this command not only tells you the stage of the files in your repository but also gives you some handy tips on what to do next.

Like if we will run this command now without initializing our project, It will give us a message that is “fatal: not a git repository (or any of the parent directories): .git”.
It is a message that says these files are not considered as a git repository. So we need to initialize our project first.

git init

"git init" initialize our project folder as a Git Repository. This command creates a Git repository skeleton(.git) which contains all necessary repository files in the current working directory.

Like we are going to run the "git init" command for our project folder testgit to initialize it as a Git Repository.

Now if we run the "git status" command again then we will get the files that are present in the folder. Also, it says these files are not tracked.

git add

The "git add" command is used to add files to the Staging Area of the Git.

Like to add all the files for our project folder testgit inside Git Repository we will type “git add --a”, which will add all these files to the staging area.

We can also add some particular files to Git Repository by specifying the name of the file with the "git add" command.

git commit

The "git commit" command is used to save your changes to the local repository. It captures a snapshot of the project's currently staged changes. We can also run this command with the -m option to record a short message that explains what we did and why.

Like we can run the "git commit -m 'Initial Commit" command to finalize our changes to the project.

#Git #GitTutorial #GitBasics

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «GIT Tutorial for Beginners #5 | Create your First Git Project | Use Git Basic Commands | git init», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.