Git Branches - Creating and Managing Branches in git Using Git Branch, Git merge and Git Checkout

  Рет қаралды 34,971

Cognitive Programmer

Cognitive Programmer

3 жыл бұрын

Welcome to the video series on git, a source control a.k.a Version control system or VCS
Git is one of the widely used and powerful distributed version control system. It was originally created in 2005 by Linux Community and Linus Torvalds (The Creator of Linux). Git has grown a lot after that and github (www.github.com) is a preferred repository for storing, managing and distributing open source code.
This is the 3rd video of git series, where we're understanding the concept of branching in git. You may consider this as branching git tutorial for beginner because it's a simplest possible way to understand the concept of branhing in git. If you're totally new to git, I'll recommend you to go ahead and see the introductory video of git series @ • Introduction to Git - ...
In this git tutorial video, I'm starting with the purpose and need for the branching in general before diving down to how to create branches in git. I'm using my own github page to demonstrate the same, because in all probability you'll end up working with a remote server or something similar to github. Here are the list of commands I'm explaining in this video
git branch - The command to create a new branch
git checkout - Command to go to a particular branch
git log - Command to see the HEAD status in the git
git remote - Command to set and check the remote server e.g. github
git merge - Command to merge the changes between multiple branches
git commit - Command to commit the changes to the local branch which was cloned using git clone
#git #github #branch #vcs #versioncontrol
-----------------------------------------------------------------------------------------------------------------------
Hi I am Daksh Deepak K Gupta (nickname & Preferred:- Daksh). I am a software developer and creating software since 1999. During the course of my career I've worked as a software Developer, Architect as well as Chief Technology Office.
I started this channel to share my knowledge and understanding of Software Development which I believe will help people in writing better and quality code. This channel covers broad set of Computer Science and Software Engineering topics including but not limited to Programming.
Here is the kind of contents you can expect from my KZfaq Channel i.e. both existing and upcoming
1. Data Structures and Big O Notations, Algorithms and Algorithm complexity
2. C++ programming (latest specifications C++17 and C++20 ) tutorial. Learn How to create high performance system applications using one of the oldest and still relevant programming Language.
3. Learn modern Python Programming (Python 3.x) and understand how python is used for Data Science, Data Analytics and Machine Learning.
4. Learn Python libraries like NumPy, Scipy, Scikit-learn, Pandas and more
5. Learn JAVA, one of the widely used and most versatile Programming Language. Explore Java Libraries like Spring and SpringBoot
6. Learn JavaScript and understand how JavaScript can be used for Functional Programming as well as for Reactive Functional Programming. Explore JavaScript libraries like ReactJs, BaeconJS, Mocha and ChaiJS
7. Learn Golang, an extremely fast, microservices ready programming language with goroutines
8. Systems Programming including details about writing memory and multi Core CPU efficient codes.
9. Understand Machine learning and Neural Networks and create prediction engines. Lean Languages, tool, and libraries for the same
10. Understand and explore Neural Network with PyTorch, Keras, OpenCV and TensorFlow
11. How to Create cross platform mobile apps
12. Explore SQL and NoSQL databases like PostgreSQL, MongoDB, Redis, Apache Spark, neo4j and Apache Cassandra
6. Learn source with git, which is one of the most widely used decentralized source control. Learn more about branches merge and commit
7. Learn about persistent nosql databases like mongodb using my mongodb tutorial as well as in memory nosql databases like redis using my redis tutorial. you'll also learn about using redis nodejs
8. Understand the concept of handling large data e.g. Big Data
9. Learn about graph theory and graph database
Please subscribe to my KZfaq channel to get regular updates kzfaq.info?sub_...

Пікірлер: 45
@chethannv2.026
@chethannv2.026 2 ай бұрын
I was looking for a perfect KZfaq channel for a simplified and easy understanding and have seen more than 50 youtube channels and finally happy that i found your channel sir. Thank You so much you filled confidence in me. I am happy to learn.
@Cognitive-Programmer
@Cognitive-Programmer 2 ай бұрын
Thank you so much for your kind comment 🙏
@pradeepmca
@pradeepmca 11 күн бұрын
Very crisp and super useful video. Very good and simple explanation. Thanks a lot!
@Cognitive-Programmer
@Cognitive-Programmer 2 күн бұрын
Thank you so much for your kind words 🙏
@DanGitschooldude
@DanGitschooldude 3 жыл бұрын
Nice vid! Some more information for the git newbies out there: 1. HEAD is a shortcut for "the commit this repo is currently checked out to" 2. A git branch is just a pointer to a single commit that can move when actions (merge, checkout, reset, rebase) are taken 3. Branches in git are largely ephemeral -- where they point changes over time and there's no precise record of where any branch has pointed in the past. This is largely not a problem because the true history of the repo lies within commits and their parental relationships. 4. At 10:00, the merge of develop into master is fast-forward, so master just moves from beca713 to 40c841c without the creation of a merge commit. Fast-forward merges happen when there's no divergence in code between the branches being merged. This is atypical (and often not allowed) for merge/pull request workflows.
@Cognitive-Programmer
@Cognitive-Programmer 3 жыл бұрын
Thanks for your valuable insights 🙏🙏🙏
@swathivenkatesh7761
@swathivenkatesh7761 10 ай бұрын
Thank you sir! Very simplified way of explaining
@Cognitive-Programmer
@Cognitive-Programmer 9 ай бұрын
Thank you so much 🙏
@sameerkumar1884
@sameerkumar1884 Жыл бұрын
I like your pace.. Thank you for this informative video
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks for your comment
@divya276
@divya276 Жыл бұрын
Excellent series of GitHub I am a student of UWA n your videos is very helpful for learn my concept ty
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you so much 🙏
@saikrishna12232
@saikrishna12232 Жыл бұрын
we can also use git switch to switch into different branch.
@terzuxtech
@terzuxtech Жыл бұрын
Can't stop watching Thank You very much
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks a lot for taking time out to write the comment.. Thanks again 🙏
@Dileepkumar-es6rm
@Dileepkumar-es6rm Жыл бұрын
@@Cognitive-Programmer can u do further videos on git
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you for reaching out.. will definitely consider 🙏
@user-jj6ym1sq4n
@user-jj6ym1sq4n 4 ай бұрын
Excellent sir...simple and effective
@Cognitive-Programmer
@Cognitive-Programmer 3 ай бұрын
Thank you so much for your comment
@lyricsque2240
@lyricsque2240 5 ай бұрын
Very good explanation!
@Cognitive-Programmer
@Cognitive-Programmer 3 ай бұрын
Thanks for your comment
@sameerkumar1884
@sameerkumar1884 Жыл бұрын
Dear Sir, How do we delete barnch simultaneously when we push it git ?
@terzuxtech
@terzuxtech Жыл бұрын
Your video helped me alot Thank You...If we were to rate videos, I would have given you 5 stars but for now, it is a thumbs up 👍
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you so much for your kind words 🙏
@anandgomaskar2210
@anandgomaskar2210 11 ай бұрын
thanku so much sir great video understandeble very much
@Cognitive-Programmer
@Cognitive-Programmer 11 ай бұрын
Thanks you so much for watching my video 🙏
@angelcastaneda4023
@angelcastaneda4023 Жыл бұрын
This was epic.
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks for your comment 🙏
@arushsingh5590
@arushsingh5590 5 ай бұрын
bro you're good. Really good
@Cognitive-Programmer
@Cognitive-Programmer 3 ай бұрын
Thank you so much for your comment
@sirigidivasu3567
@sirigidivasu3567 Жыл бұрын
Sir , your explanation skills are very nice 💚💚, i clearly understood, please sir can you make some more videos on git..
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thanks for your comment & valuable suggestion 🙏
@terzuxtech
@terzuxtech Жыл бұрын
pls i want you to make a video on flutter_bloc package pls
@joshuaafolabi80
@joshuaafolabi80 Жыл бұрын
Thank you sir. I love your teaching. It is so simplified. Please i want to learn Python. Put me through.
@Cognitive-Programmer
@Cognitive-Programmer Жыл бұрын
Thank you so much for your appreciation. Thanks a lot. I do have a python playlist, have a look kzfaq.info/sun/PL_dsdStdDXbqK2e5knrsErF3VpRK3fyO5 All the best for your learning. Thanks 🙏
@sanskritisinghrathore3022
@sanskritisinghrathore3022 2 жыл бұрын
Hican u pls make video on merge and rebase
@Cognitive-Programmer
@Cognitive-Programmer 2 жыл бұрын
Thanks for your comment and valuable suggestion 🙏
@MyCodeBytez
@MyCodeBytez 4 ай бұрын
Appreciate your efforts sir but why we need to do merge instead we can do push easily.
@Cognitive-Programmer
@Cognitive-Programmer 4 ай бұрын
Many people might be doing the changes simultaneously. hence we need to merge, Hope it helps. Thanks for your comment 🙏
@MyCodeBytez
@MyCodeBytez 4 ай бұрын
If we take pull before pushing is enough than merging, is not it?
@Cognitive-Programmer
@Cognitive-Programmer 4 ай бұрын
Hi This may work if you have small co located teams.. but in the larger systems you may not able to control when someone does the checking Hope it helps Thanks
@MyCodeBytez
@MyCodeBytez 4 ай бұрын
If you get time, could you make a video that shows difference between branch merging vs pull and push.
@sanskritisinghrathore3022
@sanskritisinghrathore3022 2 жыл бұрын
Yourexplanatuon is to ood
@mondemlanshmi
@mondemlanshmi 6 ай бұрын
good video to learn heard things in simple way thank you
@Cognitive-Programmer
@Cognitive-Programmer 6 ай бұрын
Thank you so much 🙏
WHO DO I LOVE MOST?
00:22
dednahype
Рет қаралды 82 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 73 МЛН
He sees meat everywhere 😄🥩
00:11
AngLova
Рет қаралды 11 МЛН
GIT 3 Branching Strategy | Github and GitLab Branching Strategy | Must know for all engineers
15:52
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 88 М.
Learn to Create Branches and Merge Them in GIT | GIT Tutorials
14:22
Learn Git Rebase in 6 minutes // explained with live animations!
6:43
The Modern Coder
Рет қаралды 770 М.
Git Branching and Merging - Detailed Tutorial
54:28
SuperSimpleDev
Рет қаралды 189 М.
1.2: Branches - Git and GitHub for Poets
11:55
The Coding Train
Рет қаралды 404 М.
Introduction to Git - Branching and Merging
28:48
David Mahler
Рет қаралды 485 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1 МЛН
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 572 М.
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 5 МЛН
Tag her 🤭💞 #miniphone #smartphone #iphone #samsung #fyp
0:11
Pockify™
Рет қаралды 18 МЛН