Learn Git, Sourcetree & BitBucket Tutorial: A Crash Course for Beginners

  Рет қаралды 17,156

Cameron McKenzie

Cameron McKenzie

Күн бұрын

Want a top-tier Git GUI tool to help accelerate your version control tasks?
This complete Git, BitBucket and SourceTree tutorial will show you how to:
- Install SourceTree
- Clone remote repositories
- Connect to BitBucket and GitHub
- Push, Pull and fetch from remote repos
- Reset and revert commits in Sourcetree
- Create and merge branches with Sourcetree
- Resolve merge conflicts in Sourcetree
- Rebase within the Sourcetree tool
0:00 What is Sourcetree?
1:00 Sourcetree tutorial overview
2:00 Install Sourcetree
5:30 Create BitBucket repos
6:00 Clone remote repos
13:00 Reset and revert
22:00 Sourcetree branching
45:00 resolving merge conflicts
52:15 Sourcetree rebase
58:59 GitHub & Sourcetree
61:00 Agile, Scrum and Java

Пікірлер: 59
@cameronmcnz
@cameronmcnz 10 ай бұрын
Here's the Sourcetree tutorial I did and published over on TheServerSide: www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/sourcetree-tutorial-bitbucket-git-course-branch-merge-conflict-install-download-rebase-reset
@viwesvideos
@viwesvideos 8 ай бұрын
You are like a weird combination of "the Bob Ross of Git" and a Vlogger, and it's AWESUMMM
@cameronmcnz
@cameronmcnz 8 ай бұрын
This will go down as the greatest compliment I have ever received in my life! I'm glad you enjoyed the video. I'll make sure to add some happy little trees in my next video to really nail the combo!
@glenspringle7337
@glenspringle7337 13 күн бұрын
After working with SourceTree for a few years, you explained some of the "features" that I felt were to dangerous to try with my live projects. Knowing that you know what "federalism" is, gives away your Canadian roots. Subscribed!
@cameronmcnz
@cameronmcnz 13 күн бұрын
Thanks so much for the kind words! And indeed, I try to slide in a hockey, Tim Hortons or other Canadian reference into all my videos. :)
@mhalappatengale8980
@mhalappatengale8980 26 күн бұрын
what a great explanation! never ever find this kind of content on youtube
@cameronmcnz
@cameronmcnz 26 күн бұрын
Thanks for the kind words! Lots of smarter and more handsome people out there getting way more views than me. But I'm glad you enjoyed my approach to teaching Sourcetree and Bitbucket!
@layonoliveira8
@layonoliveira8 8 ай бұрын
gosh! you just save me on my job.. nobody was able to explain sourcetree in such clearly way to me on my job, and I was pretty confused about all the merge stuffs my coworkers was doing.. also, there's a lot of different branches where I'm working and that was just crazy to understand with no good explanations lol Now I just understand how the sourcetree and the merges works, Thanks a lot !!!
@cameronmcnz
@cameronmcnz 8 ай бұрын
Meh. You saved yourself. Being awesome means knowing how to find answers to your questions. All the praise goes to you! This Git and Sourcetree tutorial covered a lot of advanced topics quickly. If you got past the branch and merge stuff, you're well on your way to becoming a Git expert!
@layonoliveira8
@layonoliveira8 8 ай бұрын
@@cameronmcnz , Thanks a lot again !! :) I Wish u all the best too. Congrats on your channel!
@ivanphone4917
@ivanphone4917 10 ай бұрын
Makes git, source tree and bitbucket pretty easy to learn.
@cameronmcnz
@cameronmcnz 10 ай бұрын
Honestly, it's pretty easy to learn Sourcetree and Bitbucket. This was one of the easier Git tutorials I've ever put together.
@BlissfulPrem
@BlissfulPrem 7 ай бұрын
SourceTree was confusing for me as I'm new to it. This is a great Tutorial and I've come across luckily and it helped understanding it in a simpler way. Thank you so much! Very well Explained!!
@dimitrishat8659
@dimitrishat8659 2 ай бұрын
Hey, thanks for your job ! Great tutorial.
@cameronmcnz
@cameronmcnz 2 ай бұрын
I really enjoyed putting this together. I think Sourcetree is one of the most underrated Git tools out there!
@dimitrishat8659
@dimitrishat8659 2 ай бұрын
@@cameronmcnz I agree with you
@davidchika2134
@davidchika2134 5 ай бұрын
Best tutorial I have ever come across on GIT and Sourcetree. Thank you
@cameronmcnz
@cameronmcnz 5 ай бұрын
You just turned a mediocre Friday into a great one! I'm doing a while series so check out the other ones!
@stephanedemers2797
@stephanedemers2797 4 ай бұрын
I just watched this crystal clear video for beginners a the right time in my learning curve, very useful for me.
@cameronmcnz
@cameronmcnz 4 ай бұрын
Honestly, my videos move fast and aren't great for absolute beginners. If you found value in this you've already got a pretty good head on your shoulders. This video covers some advanced stuff that would leave a newbie spinning. If you were able to keep up, I grant you expert status!
@sebastiandemartino
@sebastiandemartino Ай бұрын
Thanks!!! It has been really useful!!!
@cameronmcnz
@cameronmcnz Ай бұрын
Happy to help! I enjoyed putting this sourcetree tutorial together!
@julienb2764
@julienb2764 4 ай бұрын
Best tutorial on this subject. Thanks !!
@cameronmcnz
@cameronmcnz 4 ай бұрын
Thanks for the kind words! Honestly, I really enjoyed putting together this sourcetree and bitbucket tutorial. Sourcetree really makes Git a lot easier to work with.
@Darkrexjunior-dm5gc
@Darkrexjunior-dm5gc 3 ай бұрын
awesome tutorial !! very well explained
@cameronmcnz
@cameronmcnz 3 ай бұрын
Thanks! I had a lot of fun making this video.
@walrider7374
@walrider7374 3 ай бұрын
Thank you for this, for real, thank you so much.
@cameronmcnz
@cameronmcnz 3 ай бұрын
Happy to be of service! But honestly, Sourcetree and BitBucket do a pretty good job of making Git easy to use. Have fun with it!
@Yura745
@Yura745 5 ай бұрын
thx you for the video! really help me out
@cameronmcnz
@cameronmcnz 5 ай бұрын
Honestly, this was one of the most fun videos to make. SourceTree and GitKraken are two pretty awesome Git Gui tools. Thanks for the kind words, and thanks for watching!
@ganapatimahale4040
@ganapatimahale4040 2 ай бұрын
Thank You SIR 🙏🙏🙏🙏🙏
@AmongUs-qt3uo
@AmongUs-qt3uo 8 ай бұрын
this is a lifesaver! Thank you sir! This will be very useful in my new job
@cameronmcnz
@cameronmcnz 8 ай бұрын
Glad I could help! I was honestly surprised how few modern Git and Sourcetree tutorials there were on KZfaq. Happy BitBucket!
@AmongUs-qt3uo
@AmongUs-qt3uo 8 ай бұрын
@@cameronmcnz yes! As a fresher working with this stuff is scarier than my actual tasks! I'm gonna take my own sweet time and carefully learn these things and fix them in my head. You're an Angel
@aarondrew3275
@aarondrew3275 5 ай бұрын
very helpful. Thank you!
@cameronmcnz
@cameronmcnz 5 ай бұрын
Glad I could help! I'm a big fan of Sourcetree and Bitbucket!
@philip-niron
@philip-niron 8 ай бұрын
Great Tutorial ❤ Keep up the good work 🎉
@cameronmcnz
@cameronmcnz 8 ай бұрын
You enjoyed it? I worked really hard on this one. Thanks for the kind words!
@philip-niron
@philip-niron 8 ай бұрын
Really enjoyed it ❤
@mugen8108
@mugen8108 5 ай бұрын
thank you
@cameronmcnz
@cameronmcnz 5 ай бұрын
Thanks for watching! I really enjoyed doing this tutorial with Git and Sourcetree. A very cool tool that can speed you up and keep your Git repos honest. I've got a 2 hour Git and Bitbucket video coming out today or tomorrow. Stay tuned!
@denys205
@denys205 8 ай бұрын
Very cool tutorial. Will be good if you explain something about Remotes and stashs. Thank you for this tutorial.
@cameronmcnz
@cameronmcnz 8 ай бұрын
One of my most popular tutorials is actually setting up a remote to add a local project to a BitBucket/GitHub/GitLab server. Similarly with git stash! It's always always a challenge to decide which concepts to cover in an introductory tutorial. You want there to be a lot of substance, but at the same time you don't want to overwhelm someone new to Git, SourceTree and Bitbucket. Good suggestions though. I might add those next time. I'm not sure I did rebase and squashes here? That's another topic I sometimes do and other times avoid. Important topics, but potentially overwhelming.
@denys205
@denys205 8 ай бұрын
@@cameronmcnz thank you for so fast reply. You said only about rebase in this video. Idk what squashes are:)
@cameronmcnz
@cameronmcnz 8 ай бұрын
@@denys205 Squashes are yummy treats we eat at Thanksgiving. A squash can also combine multiple commits into one.
@ayosoul7590
@ayosoul7590 7 ай бұрын
Nice tutorial, I have a question though. Upon cloning a repository into Visual Studio Community do you need to set up parameters to be able to maintain the repository at Bitbucket ? Or can can anybody who clones be able to update the repository ?
@saravanasai2391
@saravanasai2391 6 ай бұрын
The explnations are really good. Its my personal suggestion to make a intro on UI of soruce tree for 1-2 min.
@cameronmcnz
@cameronmcnz 6 ай бұрын
It's funny but I struggle with that. On the one hand, I feel I should start with more of a preview and overview. On the other hand, I personally really like tutorials where they just jump into it and get going. Maybe I assume people watching this tutorial have poked around in the tool a bit, whereas that might not actually be the case. I'm doing more tutorials on GitHub and GitLab and BitBucket. I'll experiment with your suggestion and do a bit more groundwork at the start.
@glenspringle7337
@glenspringle7337 13 күн бұрын
Once question I have...If I start a local repo, and then decide I want it under Bitbucket. How would I do that? How do I put it under Bitbucket without loosing any change history?
@cameronmcnz
@cameronmcnz 13 күн бұрын
You'll want to do a git remote add origin. I talk about a 'cheat' method in this video, and honestly, that's the easiest way to do it if you're the only one working on the repo. Instead of git remote add origin, you just create the repo in bitbucket, clone the repo, then copy your files into the repo folder, git add ., git commit -m "first commit" and then a git push. Super easy! kzfaq.info/get/bejne/oNdhhbJzzNOpqqs.html
@Reeendom
@Reeendom 3 ай бұрын
how to search commits by date in this app?
@cameronmcnz
@cameronmcnz 3 ай бұрын
I think CTRL+3 takes you to search. Is there a date search option there? I'll go check.
@Reeendom
@Reeendom 3 ай бұрын
​@@cameronmcnz No, there is no such option in the Windows application. but on mac it is
@cameronmcnz
@cameronmcnz 3 ай бұрын
@@Reeendom Darn those lucky Mac users!
@thecrossedtheroadfund4289
@thecrossedtheroadfund4289 Ай бұрын
Why not simply allow the users to drag and drop their files and be done with it? Nothing is plug and play anymore. It has to be unnecessarily complicated
@sanjaybhan1585
@sanjaybhan1585 5 ай бұрын
1st Feb, 2024
@cameronmcnz
@cameronmcnz 5 ай бұрын
?
@sanjaybhan1585
@sanjaybhan1585 5 ай бұрын
It's just a notation mark for me to go over content at specific timestamps, btw I loved your explanation, easy-to-use methods.
@cameronmcnz
@cameronmcnz 5 ай бұрын
@@sanjaybhan1585 Time stamp away! And I'm super-happy to hear you're enjoying the tutorial. I had a lot of fun putting this Git and SourceTree tutorial together!
Git and GitHub Crash Course For Beginners | Complete Tutorial [2024]
1:53:19
Git Tutorial - Git Crash Course using BitBucket
36:03
Emad Zaamout
Рет қаралды 186 М.
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31
1❤️
00:17
Nonomen ノノメン
Рет қаралды 13 МЛН
Final muy increíble 😱
00:46
Juan De Dios Pantoja 2
Рет қаралды 48 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
How to Push Code to a GitHub Repository
15:29
Cameron McKenzie
Рет қаралды 39 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1 МЛН
Git MERGE vs REBASE
16:12
Academind
Рет қаралды 1 МЛН
Git  - SourceTree на практике
11:12
Тимофей Коваленко
Рет қаралды 30 М.
"I Hate Agile!" | Allen Holub On Why He Thinks Agile And Scrum Are Broken
8:33
Github vs Gitlab vs Bitbucket - Which Is Better?
7:23
Monsterlessons Academy
Рет қаралды 29 М.
How to add a new project to an existing Bitbucket repository
5:46
Cameron McKenzie
Рет қаралды 27 М.
Git Tutorial for Beginners: Learn Git in 1 Hour
1:09:13
Programming with Mosh
Рет қаралды 2,3 МЛН
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1 МЛН
ROCK PAPER SCISSOR! (55 MLN SUBS!) feat @PANDAGIRLOFFICIAL #shorts
00:31