How To Use GitHub + VSCode: Create a Repository & Merge Changes With a Pull Request

Поделиться
HTML-код
  • Опубликовано: 12 янв 2022
  • Learn how to open a repository in GitHub & use VSCode to create a new branch, make a commit and then push it. Then, learn how to create a Pull Request in GitHub to merge your branch (and commit) to the main branch.
    #github #vscode #pullrequest
  • НаукаНаука

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

  • @chukwukaosakwe3646
    @chukwukaosakwe3646 11 месяцев назад +26

    You watch this, and then you wonder why all the other Github tutorials can't just be this straightforward? Thank you.

    • @SoftwareEngineerTutorials
      @SoftwareEngineerTutorials  11 месяцев назад

      I’m very happy you found it so helpful!
      Please feel free to share any other topics you need help with!

    • @StacyJaxen
      @StacyJaxen 6 месяцев назад

      totally bro!

  • @yaredmekonnen3163
    @yaredmekonnen3163 Год назад +30

    This 6min video was more valuable than anything I watched on git and vs code. Thank you!

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

    The best ever 6 min spent for sure... I was struggling to figure out this one but you just solved one of the most biggest issues of my tech life

  • @jessemaccormac8192
    @jessemaccormac8192 2 года назад +5

    Thank you for the short and to the point tutorial!

  • @_BurningLight
    @_BurningLight Год назад +2

    Thank you for this. Most of the videos people do, for some reason, skip over the initial setup with cmd or skimp over key info in between.

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

    Thank-you for this! I finally grasped this concept. Subscribed!

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

    The best video, so clear and simple. Thanks!!

  • @m1erickson
    @m1erickson 11 месяцев назад

    Great! A clear & concise description of how to merge vscode into github...thanks!

    • @SoftwareEngineerTutorials
      @SoftwareEngineerTutorials  11 месяцев назад

      Not exactly how to merge VSCode itself but how to merge code you worked on in VSCode to GitHub! 🥳

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

    Thanks so much for the video, I was looking for a straightforward explanation and this is it :)

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

    Wow .. been looking for this for a surprisingly long time.. then found this.. Tysm

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

    This is really nice...it just brushed thought it all,and it was clear.

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

    Very helpful. Now it's clear. Thank you!

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

    Great video. Keep em coming!

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

    The best video that I have watched on the subject of VSCode and GitHub. Great job👌!!!

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

    Thanks a lot. Very helpful. Now it's clear. Thank you!

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

    Brilliant tutorial, thanks!

  • @suparnapaul3631
    @suparnapaul3631 4 месяца назад

    Thank you for the wonderful video.

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

    Great work i had to subscribe ..keep up with the great work

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

    Thank you so much. Good work!!!

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

    Thank you Sir, for clear explanation!)

  • @FC-uo6dh
    @FC-uo6dh Год назад +1

    Great tutorial!

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

    it still seems to work. Thank you!

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

    Thank you! You are awesome 👍🏻

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

    My man this 6 minutes video was GOLD ❤

  • @issiagaconde
    @issiagaconde 5 месяцев назад

    Thank you for this video.

  • @Vitality-UA
    @Vitality-UA 9 месяцев назад

    That's exactly what I was looking for, although before had to watch a coup-le of other videos

  • @RiPu-nj5qm
    @RiPu-nj5qm Год назад

    Awesome, thank you mate! helped a lot

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

    Perfect exactly what I wanted👍👍

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

    Best explanation ever ❤❤

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

    really helped me , thank you
    😊

  • @arshamna3076
    @arshamna3076 4 месяца назад

    Thanks for this video❤️

  • @carlosperetramos305
    @carlosperetramos305 4 месяца назад

    Great video!!

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

    You the man. Thanks. Looking to expand my skills since my university didn't told me anything about Git.

  • @benwinstanleymusic
    @benwinstanleymusic 5 месяцев назад

    thank you very helpful!

  • @shohruzbek
    @shohruzbek 2 года назад +2

    great work.

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

    it's very useful thank you so much

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

    you deserve a like comment and share❤

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

    Nice. Thank you!

  • @Mo-cn9kd
    @Mo-cn9kd Год назад

    extremely helpful tyvm

  • @a886-documentation-project
    @a886-documentation-project 5 месяцев назад

    Thank you!

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

    thank you for the video ..!!!

  • @esmaelmohamed8209
    @esmaelmohamed8209 6 месяцев назад

    Excellent

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

    Thank you so much.

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

    This was great, thank you! If you're open to requests, I'd love a follow up on resolving conflicts, and other aspects of using githib with vscode which I'm strruggling with.

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

      Thank you for the idea! What else are you struggling with?

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

      @@SoftwareEngineerTutorials Thank you! ❤❤The Github plugin is great, but I get a bit confused between the myriad of buttons and options. Just a pracitcal demo of a small project (even just one file) with a couple of branches, merging some conflicts etc, if it's possible would really help me, though I can't speak for everyone else of course. Either way thank you for this video! It really helped me when I was tearing my hair out and I'm slowly starting to get used to the process now :)

    • @SoftwareEngineerTutorials
      @SoftwareEngineerTutorials  11 месяцев назад +3

      Hi @alliedatheistalliance6776! I made the following video that shows how to resolve git merge conflicts using VSCode. I know it has been some time since you posted this comment but I hope that you, or others, will find it useful!
      ruclips.net/video/uIabV_PQFYI/видео.html

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

    very good video imo

  • @yashoda.myashu4519
    @yashoda.myashu4519 Год назад

    thank you😄

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

    It was awesome

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

    thank you ...

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

    Thanks

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

    nice

  • @lalithrockz
    @lalithrockz 2 года назад +4

    Please make the same video using commands, it would be really appreciated.

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

    Hello, so for example, in the follow-up features adding in the project. every time a new feature is added, a new local branch "my second/third feature" should be created?

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

      You should create a new branch for any new feature you're working on. Make sure you pull the latest changes for main branch (on main branch, "git pull"), and then create a new feature branch. You can call the new feature branch however you want! (on main branch, "git checkout -b pretty_button" -> this will create a new branch called "pretty_button" and checkout to this new branch).

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

    Thank you! How to add/change folder name and push it to GitHub/bitbucket?

  • @gebeyabirhanu3209
    @gebeyabirhanu3209 2 года назад +3

    great!! try to reduce your speed

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

    What about signing gpg key

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

    @Software Engineering Tutorials. Thoughts please. At time code 1:46 , creating a new branch: Source Control ->Branch ->Create new Branch - > Type "my_example_branch_". Git Erorr log "src refspec master does not match any". Thank you.

    • @SoftwareEngineerTutorials
      @SoftwareEngineerTutorials  Год назад +2

      Hi, I'm assuming your repository has a branch named "main" instead of "master" and that's what causing the error, although it's not clear to me why did it happen. Try to delete the repository from your computer and re-clone it. Did it help?

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

      @@SoftwareEngineerTutorials I will try your suggestions and report back. Thank you

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

    Hi. i have a challenge. i already created created a repository to host my website a few weeks back. however i made a few changes on the website using vscode and ill like to upload these changes to old repository so it reflects on my website. i am however unable to figure this out. i'll appreciate a detailed direction on how i can go about it ?

    • @SoftwareEngineerTutorials
      @SoftwareEngineerTutorials  5 месяцев назад

      Were you able to push your local changes (that were done by using VSCode) to your repository in GitHub?

  • @TheHadMatters
    @TheHadMatters 10 месяцев назад

    1) What I don't understand is how permissions come into this?
    How can you tell the difference between copying a repo you only have viewing access to, and copying a repo you're a registered owner or contributor of?
    For open source public repos that don't allow everyone to change their software, what's the procedure for offering new software changes to them, if you have an idea for a bug fix or something?
    Might seem like a question that's unnecessarily specific for something like this, but it's essential for me for collaborating with others on a repository I host...To me it seems like it would be a critical defining feature of copying and merging with a repo.
    2) Also! When I close a repo project folder in GitHub - how do I get back to it in the cleanest way? Does VisualStudio (or perhaps Git) remember that I worked on that folder before and where it is on my computer? Or do I have to fiddle around to make sure I copy into the right folder again?

    • @SoftwareEngineerTutorials
      @SoftwareEngineerTutorials  8 месяцев назад +1

      1. You can clone any public repository on GitHub. About making changes to a public repository, e.g. an open-source repository:
      1. Most likely the main branch is protected (search in Google for "GitHub protected branches").
      2. Each open-source repository would have its own rules about offering & making changes. Look for any .md files - they would most likely include these. If not - try to reach out to the owners of the repository, or to work based on other examples - Check how an Issue in the repository was used to create a Pull Request that was eventually approved & merged.
      2. You mean when you close a project folder in your computer? On your local computer, try:
      VSCode -> File -> Open Recent

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

      @@SoftwareEngineerTutorials Thank you so much, that's really helpful.
      Question 1 is fully answered, that'll help me navigate GitHub a lot.
      Yes, I think I typoed and meant to ask "when you close a project folder in VSCode (...)"
      I think I knew about "Recent Projects", but my question is what you'd do in order to reopen a folder and access its online (remote) git version control in VSCode without relying on that function (say if you're working on more projects than that option can handle, or if you're importing projects from a different hard drive.)
      I think I either hadn't realised or didn't fully understand how the .git folder in the project folder works. I believe as long as your .git folder isn't severely outdated/corrupted, a project folder would just open with all the file history and online repository links intact whenever you open a folder with a .git folder inside, right?
      The question is, how does it decide which remote repository it compares your local repository with? is that something that's handled with a git command, and is it always only one active "reference" repository that's marked as such in your .git folder somewhere?

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

    If i wants to do this using commands which commands i hv to use?

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

    1:58 starts

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

    hello how do u edit ur vids

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

    I get an error when making a new branch.
    fatal: 'HEAD' is not a commit and a branch 'home' cannot be created from it

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

      Are there any branches in your repository? Did try that from the folder of the repository (and not from a parent/child folders)?

  • @BOSRY
    @BOSRY 2 месяца назад

    its not working

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

    what about resolving conflicts ?

    • @SoftwareEngineerTutorials
      @SoftwareEngineerTutorials  11 месяцев назад +1

      I created a video just for that!! ruclips.net/video/uIabV_PQFYI/видео.html

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

    Great video, but sometimes when I try to commit a change it takes forever to do so, what is causing this issue?

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

      Thank you!
      Could be different reasons. I would recommend to search for similar questions asked on Stack Overflow or on Google.