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

Поделиться
HTML-код
  • Опубликовано: 11 окт 2024
  • 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 RUclips 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 RUclips channel to get regular updates www.youtube.co...

Комментарии • 49

  • @chethannv2.0
    @chethannv2.0 6 месяцев назад +2

    I was looking for a perfect RUclips 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.

  • @DanGitschooldude
    @DanGitschooldude 4 года назад +4

    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.

  • @swathivenkatesh7761
    @swathivenkatesh7761 Год назад +1

    Thank you sir! Very simplified way of explaining

  • @zakiasmaa6834
    @zakiasmaa6834 Месяц назад +1

    Thank you a lot Sir, you simplified the concept and it's ver clear, thans again

  • @pradeepmca
    @pradeepmca 3 месяца назад

    Very crisp and super useful video. Very good and simple explanation. Thanks a lot!

  • @amarkallappa8057
    @amarkallappa8057 2 месяца назад +1

    It very wonderful platform to learn many things thanks lot sir ❤❤

  • @divya276
    @divya276 Год назад

    Excellent series of GitHub
    I am a student of UWA n your videos is very helpful for learn my concept ty

  • @sirigidivasu3567
    @sirigidivasu3567 Год назад +1

    Sir , your explanation skills are very nice 💚💚, i clearly understood, please sir can you make some more videos on git..

  • @terzuxtech
    @terzuxtech 2 года назад

    Can't stop watching
    Thank You very much

    • @Cognitive-Programmer
      @Cognitive-Programmer  2 года назад

      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 🙏

  • @sameerkumar1884
    @sameerkumar1884 2 года назад

    I like your pace.. Thank you for this informative video

  • @NirajNirala-e3o
    @NirajNirala-e3o 8 месяцев назад

    Excellent sir...simple and effective

  • @terzuxtech
    @terzuxtech 2 года назад +1

    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
    👍

  • @saikrishna12232
    @saikrishna12232 Год назад

    we can also use git switch to switch into different branch.

  • @lyricsque2240
    @lyricsque2240 8 месяцев назад

    Very good explanation!

  • @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 ruclips.net/p/PL_dsdStdDXbqK2e5knrsErF3VpRK3fyO5
      All the best for your learning.
      Thanks 🙏

  • @anandgomaskar2210
    @anandgomaskar2210 Год назад

    thanku so much sir great video understandeble very much

  • @arushsingh5590
    @arushsingh5590 8 месяцев назад

    bro you're good. Really good

  • @angelcastaneda4023
    @angelcastaneda4023 Год назад

    This was epic.

  • @sameerkumar1884
    @sameerkumar1884 2 года назад

    Dear Sir, How do we delete barnch simultaneously when we push it git ?

  • @MyCodeBytez
    @MyCodeBytez 7 месяцев назад

    Appreciate your efforts sir but why we need to do merge instead we can do push easily.

    • @Cognitive-Programmer
      @Cognitive-Programmer  7 месяцев назад

      Many people might be doing the changes simultaneously. hence we need to merge, Hope it helps. Thanks for your comment 🙏

    • @MyCodeBytez
      @MyCodeBytez 7 месяцев назад

      If we take pull before pushing is enough than merging, is not it?

    • @Cognitive-Programmer
      @Cognitive-Programmer  7 месяцев назад

      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 7 месяцев назад

      If you get time, could you make a video that shows difference between branch merging vs pull and push.

  • @terzuxtech
    @terzuxtech 2 года назад

    pls i want you to make a video on flutter_bloc package pls

  • @sanskritisinghrathore3022
    @sanskritisinghrathore3022 2 года назад

    Hican u pls make video on merge and rebase

  • @sanskritisinghrathore3022
    @sanskritisinghrathore3022 2 года назад

    Yourexplanatuon is to ood

  • @mondemlanshmi
    @mondemlanshmi 9 месяцев назад

    good video to learn heard things in simple way
    thank you