Git Commands Tutorial | Git Clone, Add, Commit, Push, Pull, Checkout, Branch, Status

preview_player
Показать описание
Learn git commands with examples. This is a complete git tutorial as well as git bash tutorial to learn github commands step by step. Previously I shared common git commands and easy way to use git on Windows by using Git GUI, git bash and git for Windows. In this video I will show you how can you use those git commands with git bash or terminal. For MAC or Linux you have got your terminal. For Windows you have got command prompt or power shell. But I will prefer git for Windows. Git for Windows gives you git bash utility. That is similar to terminal. We will use git bash to clone repo from github. We will practice:

git clone
git add .
git commit
git commit -m "commit message"
git push
git push origin branch-name
git pull
git pull origin branch-name
git branch
git branch new-branch-name
git checkout
git checkout other-branch-name
git checkout -b new-branch-name
git status

These are common commands and in most cases you only need these to do the job.
Learn these are you are good to go with version control system.

To use git, you should generate SSH keys for PC and register these with github or gitlab to do all of this. This is how github recognizes your PC and allows files transfer between PC and your github repos.

Thank you!
❤️ LIKE 👍 Thumb up
🔔 Hit BELL icon
✍️ We read every comment. Write something.

#webstylepress #git #github #webdevelopment #deployment #commands #gitbash
Рекомендации по теме
Комментарии
Автор

This is the most clear and concise explanation of the git clone / branch commit / push commands I have ever seen. Thank you so much!!!

johnlcyborg
Автор

I just wanna say thank you very much!! I really like your content and it is easy to follow along!!!

albertomedina
Автор

clear and understandable. i've always had issiues understanding these concepts, but you have made it visually clear to me. THANK YOU !!! 🙏

ludo
Автор

This video is fantastic! Super clear, calm, and helpful.

kendallmcneil
Автор

I am a beginner to git commands. I have learnt a lot from this video. Thank you so much for making such an informative video :)

mohanjanapana
Автор

Excellent 👍. You made it look so simple. Thank you 🙏

soultouchingsongs
Автор

Very calm and good teacher i have ever seen not going too fast too slow best video i have watched 🙂❤️

maheshpatgar
Автор

Woow, thank you so much sir for this Git tutorial. For a week now I have been searching for suitable tutorials before I came across this. A very concise, , detailed and comprehensive tutorial with a great teaching style. Thank you once again and keep up

charlestoneoyoo
Автор

This is the most clean and best way to teach each and every things step by step. Thank u so much

rahulsingh-zzsd
Автор

I needed this for Hogeschool PXL Hasselt test in EB1055, tyvm sir!

madobrax
Автор

One of the best explanation by covering all the imp tpcs regarding git. Great work!

kushagrasinghsisodia
Автор

Excellent explanation about git commands.

ashokmarripudi
Автор

Thank you very much bro for this clear video

manikandanravichandran
Автор

good video, it was simple and easily understandable

justthompson
Автор

Your explanation is too good .After seeing this video all doubts cleared.thanks a lot👏

vyshnavikotipalli
Автор

nice video ...keep it up easyly can understand..

ramananv.m
Автор

Thank you so much for the wonderful explanation

faisalinayath
Автор

Thanks a lot Sir _/\_..Awesome explanation...Struggled a lot to understand git, But with your 30 min explanation everything is clear now...If possible please make a video on merger conflicts Sir

uppalasuresh
Автор

Thank you sir for making an awesome video, but I have to explore the merge and pull request. IF ANY VIDEOS U HAVE SHARE THEE LINK., . thanks again

CodewithAshwani
Автор

Thank you so for this explanation.. superb .. small doubt.. how to the parent branch of a branch ... For example I joined in a company they asked to create sub branch .. i created a sub branch not to main . To some other branch i created as a sub ... After one year i want to know my is sub to which branch how to find that

mamidivasudev