Git and GitHub Beginner Tutorial 5 - Branching and Merging

Git and GitHub Beginner Tutorial 5 - Branching and Merging

Automation Step by Step

8 лет назад

119,578 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@pallavisharma6682
@pallavisharma6682 - 09.02.2020 12:30

sir i want to know that,I don’t have any idea about coding And I did MCA,so Am i able to become a devops engg??

Ответить
@gandrabbhai5288
@gandrabbhai5288 - 27.02.2020 23:02

Hii sir can we use -b for direct create a branch and log into it and after delete branch locally we also use git push origin :branchname for dlt remote ly

Ответить
@ankitsethia6534
@ankitsethia6534 - 03.03.2020 10:32

Salute to your efforts. Awesome video for anyone to understand. Thanks!

Ответить
@walidnaceri9665
@walidnaceri9665 - 03.03.2020 21:36

Thank you very much for your explanation but what is the purpose of the branch?

Ответить
@adityapatel5843
@adityapatel5843 - 06.03.2020 21:03

Clear and to the point. Great video to get started with Git Branching!

Ответить
@mohammedzakaria8783
@mohammedzakaria8783 - 26.03.2020 23:33

How can we run a test project from the branch? I am confused. Thank you in advance.

Ответить
@Subodhhyd
@Subodhhyd - 30.03.2020 16:24

I want to keep the a branch permanently, it is possible?

Ответить
@Subodhhyd
@Subodhhyd - 30.03.2020 16:26

What if we do not do merge?

Ответить
@srinivaspklpkl
@srinivaspklpkl - 04.05.2020 18:12

I have watched so many videos for this, but i got from your video thank you so much

Ответить
@sadathossainchowdhury631
@sadathossainchowdhury631 - 06.05.2020 01:00

Excellent Explanation. Can you make video for git feature branch workflow ?

Ответить
@jeremylam9722
@jeremylam9722 - 10.05.2020 05:46

i really love how you add a little bit of repetition to your videos to make us use what we learnt. It also allows us to understand exactly whats going through in your head. good job well done keep up the good work.

Ответить
@srikanthbolisetty1417
@srikanthbolisetty1417 - 13.08.2020 22:21

Thanks, Raghav! Easy to understand.

Ответить
@rohithdasi
@rohithdasi - 19.08.2020 20:27

Raghav i had see more then 4 git videos from diffrent persons , but i understand now , thank you..

Ответить
@SahilKhan-mx1rp
@SahilKhan-mx1rp - 07.09.2020 22:47

Raghav - How can we undelete the deleted Branch in case we need it. Pls suggest.

Ответить
@gourangasamal
@gourangasamal - 25.09.2020 19:33

Hi Raghav, Thanks for Tutorial. You explain in very simple way I understand all git commands properly.

Ответить
@imtiazdahar8451
@imtiazdahar8451 - 21.12.2020 07:31

I have confusion in branches, Suppose, we have created two branches named "Master" and "MyBranch" and what if we have two same files in both branches and we update them parallelly in both branches. Now, we have committed our changes in both branches and we want to merge "MyBranch" into "Master" branch, what will happen?
If merge conflict occurs then how can we remove those merge conflicts because we might have lot of changes in both files and finding both changes could be difficult.

Suppose, we found errors in "Master" branch and some other errors in "MyBranch" and we have fixed both errors on both side, After that, we merge branches then how can we remove merge conflict.

I Hope you got my point, I'm new in Git and GitHub.

I look forward to hear from you.

Ответить
@shubhamagarwal2548
@shubhamagarwal2548 - 07.01.2021 22:58

Thank you very much for this tutorial

Ответить
@udaysabbisetty9509
@udaysabbisetty9509 - 09.01.2021 16:37

Awesome explanation

Ответить
@nooreinfatima4719
@nooreinfatima4719 - 10.01.2021 11:47

It was really helpful. Thanks a lot for such great video.

Ответить
@vasilevictordurlesteanu2435
@vasilevictordurlesteanu2435 - 29.04.2021 06:47

Hello Raghav Pal! First of all, thank you for the videos you upload, I have a question with regards to branching and merging: Why the branching and merging are not seen as contributions on the GitHub profile page (the green squares), or should those be seen at all? The reason I ask, is that I want to track my progress, and I want it to be visible on the contributions calendar bar. Thank you!

Ответить
@monikadixit2337
@monikadixit2337 - 13.05.2021 15:41

Sir but if i have two or more repo then how does the git know to which repo this branch will be pushed?

Ответить
@rockkersify
@rockkersify - 28.12.2021 14:23

Do we need to use git branch if we are using checkout ?

Ответить
@sklondon5855
@sklondon5855 - 04.02.2022 16:01

Hi Raghav sir can you please share the step to follow all activity in IDE instead of command prompt

Ответить
@rocksneha059
@rocksneha059 - 09.03.2022 22:39

awesome explanation

Ответить
@ramroy5942
@ramroy5942 - 27.08.2022 15:35

I am really a big fan of your style.Thank you uploading the videos

Ответить
@varsha5477
@varsha5477 - 26.10.2022 18:07

error: pathspec 'master' did not match any file(s) known to git I am getting this error whenever I use the git checkout master.. Pls help😞😞

Ответить
@kaltube4817
@kaltube4817 - 14.12.2022 20:34

Well Done!

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 16:58

you are on a mac i am on a windows machine how do i create a file at the cli touch doesnt work here ok? Lisa thxz

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 17:05

C:\Users\Main\Desktop\react\test_repo2>git push -u origin MyNewBranch
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

C:\Users\Main\Desktop\react\test_repo2>--did you fforget previous steps? it doesnt work Lisa

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 18:58

hello why do i have enter my passowrd and username each time? its so diffuct to paste the passowrd it doesnt always paste it--can you know how to automate it so we are alrwedy reconized as looged in? Lisa

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 19:01

i pushed the bracnjh master and it does not update on github like the merge on my local machine why?

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 19:05

hello i am super confused there is 3 branches --main, MyNewBranch, master--where does main come from? --im so confused mixed up--anyway master is merged and up to date on local and remote repos Lisa

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 19:07

totally confuised why is there a main? there is no main on my local machine-i do not underatnd- i cannot push to main cuz there is no main on my computer very lost whatever Lisa--its 2023 and its so confusng to fiund up to date lessons theey are all mixed up in versions

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 19:10

PS C:\Users\Main\Desktop\react\test_repo2> git checkout master Already on 'master'
Your branch is up to date with 'origin/master'.
PS C:\Users\Main\Desktop\react\test_repo2>
--i am really more consfused i tried to create a main bracnh which it did but whn i switch to master it says its already the master --how come in github main is not merged whaterver ok whatebv

Ответить
@pjmclenon
@pjmclenon - 07.05.2023 19:12

This branch is 2 commits ahead, 2 commits behind main. ----this is what it says in my master and MyNewBranch--how is this possible? on my local it says main IS master --i dont unberstand ok Lisa

Ответить
@philb4462
@philb4462 - 28.09.2023 19:47

I have been recommended to set up a branch for each developer where I work. Is that something you consider to be good practice? It's different to your example here where you have code being written for a specific purpose and then deleting the branch when the objectives have been achieved. Our branches are permanent.

Ответить
@aditimenon2767
@aditimenon2767 - 09.11.2023 08:06

Your entire channel is very informative and precise. Much much regards to you Sir.

Ответить
@jaminDNB
@jaminDNB - 12.11.2023 16:44

Your educational content, Raghav, is top-notch! 🚀 Clear explanations and well-chosen examples make learning a breeze. Thanks for expanding my knowledge. Keep the outstanding work coming! 🌟💻📚

Ответить
@sweetthirty2
@sweetthirty2 - 11.12.2023 11:44

git add -A , git add* and git add . all are the same commands??

Ответить
@MalluManish
@MalluManish - 15.12.2023 22:28

Manish...Thanks for Your hard work and uploading the stuffs for the Community, Really excellent and extraordinary explanation . Thank you Again..Now I can add my framework to git repository...Thank you sir............................

Ответить
@sureshpal5569
@sureshpal5569 - 12.01.2024 01:01

great explanation

Ответить
@andresyesidmorenovilla7888
@andresyesidmorenovilla7888 - 14.03.2024 20:08

Excellent tutorial, complete yet succinct and straight to the point. Thank you so much

Ответить
@amarnath1494
@amarnath1494 - 28.03.2024 23:04

Hi Raghav , To create a new file, $ Touch <filename> (or) dir> "<filename>", which on e to use?

Ответить
@maddysunshine4173
@maddysunshine4173 - 14.05.2024 22:14

Can git repo be managed without the command line as in if I have to integrate any application so that i can use it as version control and I already have a public online repository available, so can i manage to push the code on git

Ответить
@karishma08....20
@karishma08....20 - 21.11.2024 04:37

Amazing explanation

Ответить
@harshadaborade5712
@harshadaborade5712 - 07.12.2024 12:34

Can you explain pull, push , merge conflicts

Ответить