Git: Commit with git

Published: 19 October 2022
on channel: Block of code
245
1

So in current tutorial video you are going to see how to add a new commit to your project with git


steps:
1- open terminal window
2- you have to create a new project folder with git , so you have to type next command line and press enter : git init "type project folder name"
3- now you have to navigate to project folder , so to enter your project folder you have to use next command line , and press enter : cd "type project folder name "
4- in current step you have to move any file or any folder or you have to create a new folder or file ... in current example I have to create a new text file and add some text inside this file as you can see , so you have to type next command line , and press enter : echo "Text any text " "add less than sign " "type new file name or add text to any old text file"
5- add this file to your project , so to add current file to git you project with git you have to use next command lien and press enter : git add . Or ga .
Show less
6- finally you have to add commit , so to add a new commit you have to type next command line with commit and press enter : git commit -m "type commit "
OR
gc -m "type commit "


On this page of the site you can watch the video online Git: Commit with git with a duration of hours minute second in good quality, which was uploaded by the user Block of code 19 October 2022, share the link with friends and acquaintances, this video has already been watched 245 times on youtube and it was liked by 1 viewers. Enjoy your viewing!