Git Tutorial - Git Crash Course using BitBucket

  Рет қаралды 186,461

Emad Zaamout

Emad Zaamout

Күн бұрын

Git Tutorial - Git Crash Course using BitBucket
Welcome back,
In this tutorial, we go through how to use Git for complete beginners. We will be using BitBucket since Bitbucket is free for private repositories. It does not matter what remote origin you use, pulling and pushing code is the same.
Full blog posted at www.ahtcloud.com/git-tutorial...
Git Commands
Set up User name and email - displayed in git history.
git config --global user.name "Emad Zaamout"
git config --global user.email "support@ahtcloud.com"
Git Change Git Default Editor.
git config --global core.editor emacs
git config --global core.editor nano
git config --global core.editor notepad
git config --global core.editor '"C:/Program Files/Notepad++/notepad++.exe"'
Git Check your Settings.
git config --list
Git Initializing a Repository in an Existing Directory.
git init
Git Close your remote repository locally.
git clone
Git Fetch modifications.
git pull
View Git status and your local changes.
git status
Git Add all files & commit.
git add .
git commit -m "My Commit Message"
Git Local branch - track a remote branch
git branch --set-upstream-to master origin/master
Git Show local + remote branches
git branch -a show remote branches only
git branch -r delete remote branch
Git Delete Remote Branch
git push -d remote_name branch_name
Git Delete Local Branch
git branch -d branch_name
Git Hooks Crash Course
• Git Tutorial - Git Hoo...
wanna help support my channel ? buy me a coffee ☕️ www.buymeacoffee.com/emad.zaa...
Follow us
Github - github.com/emad-zaamout
Chapters
0:00 Introduction
0:07 Definitions
0:28 What is Git
1:01 Git Remotes
2:25 BitBucket Signup
2:50 Creating Remote Repository
4:28 Installing Git
5:48 First time git set up
8:27 Initializing Repository in a Directory
9:23 Adding Remote Origin
10:21 Branches Introduction
13:12 Tracking Remote Branches
16:55 Creating & Pushing Branches
19:56 Fetching Changes
21:28 Deleting Branches
23:40 Merging + Conflicts
28:52 Git Revert
31:15 Git Stash
33:56 Git Ignore

Пікірлер: 122
@user-yc5qv1qj6v
@user-yc5qv1qj6v 2 жыл бұрын
Просто замечательно! Спасибо большое за такой понятный и четкий курс!
@SuperSimpleTechie
@SuperSimpleTechie 8 ай бұрын
Best straight forward practical tutorial on internet. Keep doing the good work.
@focusiam2027
@focusiam2027 Жыл бұрын
I can really see the amount of effort and quality you put for this amazing tutorial, just wonderful!!
@guinguin_simmons7100
@guinguin_simmons7100 Жыл бұрын
Concise, clear, easy, organized tutorial, GOAT, quickly to understand both GIT and bitbucket! AWESOME!!!! 🤩
@maheshachinnaswamy8868
@maheshachinnaswamy8868 2 жыл бұрын
The best tutorial for a beginner. Thank you.
@kannathasant103
@kannathasant103 2 жыл бұрын
This tutorial is right on the money. Thank you for your effort.
@syedmutahar7328
@syedmutahar7328 2 жыл бұрын
Exactly what I was looking for, couldn't ask for a better tutorial. Thank you
@emadzaamout
@emadzaamout 2 жыл бұрын
Thank you very much :) Please don't forget to subscribe
@suresh1686
@suresh1686 Жыл бұрын
I have gone through many videos on git, this one made things very easy and understandable. Good one.!
@rohanayush
@rohanayush Жыл бұрын
Absolute gold. Thank you 😊
@shahhussain56
@shahhussain56 2 жыл бұрын
This is very crisp and point to point. Thanks 😊
@Mark-nm9sm
@Mark-nm9sm Жыл бұрын
30 minutes of nothing but elegant straight to the point tutorial
@samehsoliman1015
@samehsoliman1015 Жыл бұрын
Excellent tutorial and straight to the point in 30 min, thanks a lot
@narendrar9940
@narendrar9940 Жыл бұрын
Great tutorial, provides enough information to be immediately functional, thanks for posting!
@shoghi2547
@shoghi2547 Жыл бұрын
Love your content. It is the easiest understanding tutorial for me so far. Thank you a lot for making this.
@user-bz5kf5jn7q
@user-bz5kf5jn7q 10 ай бұрын
Excellent video. Everything you wanna know is there. To the point. Thank you.
@hart253
@hart253 Жыл бұрын
Almost cover all the things which I am looking for as beginner, Appreciated your efforts.
@RAAMASHAAMYC
@RAAMASHAAMYC 13 күн бұрын
Wonderful tutorial, I knew nothing about git commands. It is very beginner friendly and can't express my gratitude in words.
@himanshu2149
@himanshu2149 2 жыл бұрын
Amazing man! Complex topic in brief
@Italya3343
@Italya3343 2 жыл бұрын
Amazing video brother!!! many thanks for sharing and for all these examples! don't stop making more videos with your amazing way of explaining! thx
@AbdulRehman-ui3nj
@AbdulRehman-ui3nj Жыл бұрын
Very good video, just watched first 1 minute and liked and subscribed, very to the point tutorial with no trash talk
@AgaGrusz
@AgaGrusz 2 жыл бұрын
You explain it so clearly, so easily. Bravo
@sauravkumar6666
@sauravkumar6666 Жыл бұрын
Simple and exactly explained .
@stanimirhadzhinikolov71
@stanimirhadzhinikolov71 Жыл бұрын
Thank you for the brilliant presentation. I am sharing it with more people to use!
@ShahrukhKhan-tw3tf
@ShahrukhKhan-tw3tf 2 жыл бұрын
Explained in great manner
@freddyvalenzuela1068
@freddyvalenzuela1068 8 ай бұрын
Excelente video y muy bien explicado. Ahora, lo voy a poner en práctica. Saludos desde Santiago, CHILE
@fatemehsefishahpar3626
@fatemehsefishahpar3626 2 жыл бұрын
Easy, Short and to the point great video thank you!!!
@AfrikaMia1109
@AfrikaMia1109 Жыл бұрын
Muchas gracias por tu tutorial, me ayudó muchísimo. Gracias por tu tiempo y por compartir tus conocimientos
@shreyasvisweshwaran9573
@shreyasvisweshwaran9573 5 ай бұрын
Seriously dude....Thanks a million !
@shirishdee
@shirishdee Жыл бұрын
Nice explanation.. very clear and straight to the point explanation... worth 30 minutes to watch... thank you
@josephnduati1214
@josephnduati1214 3 ай бұрын
Great! Thank you Sir.
@sreejatechtalks4269
@sreejatechtalks4269 Жыл бұрын
Your video really helped me alot, thanks alot, please keep posting more and more videos on technical, it is so practical, I am able to undeestand everything at ease😀
@skaterham23
@skaterham23 11 ай бұрын
thank you for such a fantastic tutorial!
@techwan7
@techwan7 2 жыл бұрын
The best one, thank you!
@pavanadds9394
@pavanadds9394 2 жыл бұрын
Easy, Short and to the point great video thank you
@knowledgebytes67
@knowledgebytes67 15 күн бұрын
Loved your video
@mohammedrazmeen1177
@mohammedrazmeen1177 2 жыл бұрын
Clean and clear explanation, Thanks for the content.
@sushanttodkar8294
@sushanttodkar8294 5 ай бұрын
Its really good session to understand the Git basics. Thanks for your information.
@kennyferrer8387
@kennyferrer8387 2 жыл бұрын
Hey, nice tutorial. It definitely helped me to understand how to push and branching in bitbucket via git. Keep it up! Thank you for this tutorial!
@emadzaamout
@emadzaamout 2 жыл бұрын
Thank you I'm happy to hear that :)
@charanreddy2970
@charanreddy2970 2 жыл бұрын
this video is too clean and clear, Thank for making this kind of video
@sweetfamily_007
@sweetfamily_007 2 жыл бұрын
Nice tutorial with clear explanation
@FahadAndMusic
@FahadAndMusic 2 жыл бұрын
برافو عليك!! Excellent overview of git, short concise, and direct
@vijaysarde385
@vijaysarde385 2 жыл бұрын
Hi there, thank you for sharing. You're doing great work! Appreciate it.
@SH-cy6lh
@SH-cy6lh 2 жыл бұрын
great video bro..Huge thanks for you.Was looking many videos but this is the best one for learn bitBucket
@Abhi_data_anayst
@Abhi_data_anayst Жыл бұрын
Thank you for the video, It so useful, I am subscribing your channel.
@dixiemoxie5965
@dixiemoxie5965 11 ай бұрын
Bravo sir, very detailed and understandable
@Sir_Allwyn
@Sir_Allwyn Жыл бұрын
Thank you!
@Growth__Hub_2805
@Growth__Hub_2805 Жыл бұрын
Highly useful bro!
@KrishnaDhakate
@KrishnaDhakate Жыл бұрын
After a long search, I found my actual solution.🤗
@fvillarrealg
@fvillarrealg Жыл бұрын
Thank you for sharing this information
@tommystephen9146
@tommystephen9146 Ай бұрын
Great tutorial. I don't remember to have seen you ask the viewers to subscribe to your channel!!!
@prabhakaranthirugnanam14
@prabhakaranthirugnanam14 7 ай бұрын
excellent tutorial
@mohammadshahbaz7037
@mohammadshahbaz7037 2 жыл бұрын
Just one word about tutorial is excellent
@kannankarmegam5559
@kannankarmegam5559 2 жыл бұрын
Thanks perfect for beginners
@intensity9523
@intensity9523 Жыл бұрын
thank you for this video its amazing!
@israttazinahsan6492
@israttazinahsan6492 2 жыл бұрын
Good one. Thank you for your effort to do such a nice and self explanatory tutorial. Surely it will help me. Best wishes!
@stefkostov9745
@stefkostov9745 Жыл бұрын
very helpful thank you
@arif2336
@arif2336 Жыл бұрын
you are awesome dude
@anjaneyuluuppu314
@anjaneyuluuppu314 Жыл бұрын
Nice video, it helps me lot Thanks you so much
@NarattamHalder
@NarattamHalder 3 ай бұрын
Thank you.
@bewithjoy8164
@bewithjoy8164 Жыл бұрын
That is super useful video.. I love it❤
@Chethinhontam
@Chethinhontam 2 жыл бұрын
So helpful! Thanks a lots
@abdulsami8987
@abdulsami8987 2 жыл бұрын
worthy content, keep on creating , thanks
@gabrielx8252
@gabrielx8252 Жыл бұрын
superb video
@anilkumarkaramsetti9173
@anilkumarkaramsetti9173 9 ай бұрын
Your explanation is master piece 👏👏 Tqsm❤
@alikhalil28
@alikhalil28 Жыл бұрын
Good explanation it's really help me
@harshamadhushan1174
@harshamadhushan1174 Жыл бұрын
thank you so much
@sameerparab8210
@sameerparab8210 2 жыл бұрын
Very Nice !
@gandharavkatyal822
@gandharavkatyal822 10 ай бұрын
awesome for quick revision , please add rebase and cherypick commands as well
@atulagrawal3100
@atulagrawal3100 2 жыл бұрын
very well explained.
@AHMED-nd7zt
@AHMED-nd7zt 25 күн бұрын
‏‪ok that is great video❤
@emadzaamout
@emadzaamout 2 жыл бұрын
Hello guys. I want to thank you all for your kinds words. Please subscribe help me reach 1k subscribers this would mean the world to me :) New tutorial. Git Hooks crash course kzfaq.info/get/bejne/m82WqNqAyp7SiJc.html
@anaralizada8884
@anaralizada8884 2 ай бұрын
Thank you
@darrenlim5345
@darrenlim5345 2 жыл бұрын
rly helpful, thanks!
@kmjkj2
@kmjkj2 2 жыл бұрын
Wow nice one but fast for beginners...but I suggest newbies watch more than once and pause an replay if necessary and actually do the steps shown this in great video!!!
@issaissifou4959
@issaissifou4959 2 жыл бұрын
Very good tutorial, thank you so much.
@genephillip4233
@genephillip4233 2 жыл бұрын
best tutorial of bitbucket ever
@ak_ros
@ak_ros 2 жыл бұрын
very useful learnt a lot of Merge branch conflict
@HosseinSangrody
@HosseinSangrody Жыл бұрын
Crystal and great explanations. But tons of advertisements.
@directorinformationtechnol5627
@directorinformationtechnol5627 2 жыл бұрын
Good stuff mate!
@vikasni95
@vikasni95 2 жыл бұрын
This is incredible ❤️
@rajivsivalingam5266
@rajivsivalingam5266 2 жыл бұрын
Very nice..
@priyeshpotdar490
@priyeshpotdar490 2 жыл бұрын
Superb tutorial.. Thanks
@jaihindreviews8730
@jaihindreviews8730 2 жыл бұрын
Very good tutorial... Thank you
@ChamberOfTraders
@ChamberOfTraders 2 жыл бұрын
Excellent material
@pauljonessoftware
@pauljonessoftware 2 жыл бұрын
Informative video. Good work.
@vannispanu6814
@vannispanu6814 Жыл бұрын
This tutorial worth a million €
@junaidhassan156
@junaidhassan156 2 жыл бұрын
Million dollars tutorial
@malarmannan6156
@malarmannan6156 Жыл бұрын
This is the best tutorial available for git & BitBucket. I have one question can we have multiple files pointing to the master in the same repository.
@rishiraj2548
@rishiraj2548 Жыл бұрын
Gratitude
@jenifer.p1125
@jenifer.p1125 2 жыл бұрын
thank you.
@karthikyarlagadda9719
@karthikyarlagadda9719 2 жыл бұрын
Like + subscribed ...you're explination is clean and clear 👌keep going
@emadzaamout
@emadzaamout 2 жыл бұрын
Thank you so much 🙂
@prudhviraj4141
@prudhviraj4141 2 жыл бұрын
Great content boss....Sukhibhava 🙂
@emadzaamout
@emadzaamout 2 жыл бұрын
Thank you. I'm glad you liked it :)
@bhushan_m_patil
@bhushan_m_patil 2 жыл бұрын
Request you to add a precautionary note where you have explained the command (this wipes out existing files if you have not done a pull ever)- git push -u -f origin master
@santhoshkt08
@santhoshkt08 2 жыл бұрын
Thank you so much man, Really i understand clearly. Can you mak a video for Intellij push/pull things. It will so useful.
@emadzaamout
@emadzaamout 2 жыл бұрын
Thank you very much. And this sounds like a great idea I will definitely do one :)
@Growth__Hub_2805
@Growth__Hub_2805 Жыл бұрын
Please add ssh key adding procedure for bitbucket in linux os
@SoulSeeker770
@SoulSeeker770 Жыл бұрын
why do you need the double quote and single quote when setting the editor?
@cdkeys1457
@cdkeys1457 Жыл бұрын
This is fantastic, I am a noob and keep going back to this tutorial. thank you though I do have one question. you set your core.editor to nano but when you were making changes you were using visual studio...shouldn't your core.editor be visual studio?
@MindMap3
@MindMap3 Жыл бұрын
The terminal he was using to type git commands was Nano (default text editor for git). Visual studio was the IDE he was using to work (write/modify/etc) on his code.
@katin1348
@katin1348 5 ай бұрын
Should there be some step between adding the remote origin and tracking the remote branches? Because if after adding the remote I write git branch -vv, I get nothing. So should there be a pull from remote to local after adding the remote origin? At least in my Windows + git + bitbucket setup I don't e.g. see the .gitignore in my local directory as you do at video point 36:02
@TaprobanaOrg
@TaprobanaOrg 2 жыл бұрын
💖💖💖💖💖💖👍👍👍👍
@Growth__Hub_2805
@Growth__Hub_2805 Жыл бұрын
Hi bro, I am not able push any fiels as it is giving fatal or https error
Learn Git, Sourcetree & BitBucket Tutorial: A Crash Course for Beginners
1:03:10
Git Tutorial for Beginners: Learn Git in 1 Hour
1:09:13
Programming with Mosh
Рет қаралды 2,3 МЛН
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 79 МЛН
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 88 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1 МЛН
Creator of git, Linus Torvalds Presents the Fundamentals of git
1:10:15
Developers Alliance
Рет қаралды 13 М.
Everything You'll Need to Know About Git with ThePrimeagen | Preview
14:43
Git Complete Course with Github and Bitbucket 👍🔥
1:09:40
SkoonCode
Рет қаралды 75 М.
Git For Beginners 2023
2:00:37
Telusko
Рет қаралды 198 М.
OAuth 2.0 and OpenID Connect (in plain English)
1:02:17
OktaDev
Рет қаралды 1,7 МЛН
Git and GitHub Tutorial for Beginners
46:19
Kevin Stratvert
Рет қаралды 1,2 МЛН
Hisense Official Flagship Store Hisense is the champion What is going on?
0:11
Special Effects Funny 44
Рет қаралды 2,5 МЛН
В России ускорили интернет в 1000 раз
0:18
Короче, новости
Рет қаралды 1,3 МЛН
ИГРОВОВЫЙ НОУТ ASUS ЗА 57 тысяч
25:33
Ремонтяш
Рет қаралды 319 М.