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

  Рет қаралды 142,658

Software Engineer Tutorials

Software Engineer Tutorials

2 жыл бұрын

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 10 ай бұрын
You watch this, and then you wonder why all the other Github tutorials can't just be this straightforward? Thank you.
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials 10 ай бұрын
I’m very happy you found it so helpful! Please feel free to share any other topics you need help with!
@StacyJaxen
@StacyJaxen 5 ай бұрын
totally bro!
@yaredmekonnen3163
@yaredmekonnen3163 Жыл бұрын
This 6min video was more valuable than anything I watched on git and vs code. Thank you!
@jessemaccormac8192
@jessemaccormac8192 2 жыл бұрын
Thank you for the short and to the point tutorial!
@_BurningLight
@_BurningLight Жыл бұрын
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.
@siddharthdyavanapalli4617
@siddharthdyavanapalli4617 6 ай бұрын
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
@sherryab3964
@sherryab3964 Жыл бұрын
Thank-you for this! I finally grasped this concept. Subscribed!
@StevenSteel7
@StevenSteel7 Жыл бұрын
Wow .. been looking for this for a surprisingly long time.. then found this.. Tysm
@m1erickson
@m1erickson 10 ай бұрын
Great! A clear & concise description of how to merge vscode into github...thanks!
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials 10 ай бұрын
Not exactly how to merge VSCode itself but how to merge code you worked on in VSCode to GitHub! 🥳
@joshel4278
@joshel4278 Жыл бұрын
This is really nice...it just brushed thought it all,and it was clear.
@aliazim1
@aliazim1 Жыл бұрын
The best video, so clear and simple. Thanks!!
@williamlynch589
@williamlynch589 6 ай бұрын
The best video that I have watched on the subject of VSCode and GitHub. Great job👌!!!
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials 6 ай бұрын
Thank you!! So happy to hear that
@vagabondideas9685
@vagabondideas9685 Жыл бұрын
Very helpful. Now it's clear. Thank you!
@mariopalma1132
@mariopalma1132 6 ай бұрын
Thanks so much for the video, I was looking for a straightforward explanation and this is it :)
@salahalsamarraaee650
@salahalsamarraaee650 Жыл бұрын
Thanks a lot. Very helpful. Now it's clear. Thank you!
@damitandabiri7377
@damitandabiri7377 Жыл бұрын
Great video. Keep em coming!
@fuataltunbas6557
@fuataltunbas6557 2 жыл бұрын
Thank you so much. Good work!!!
@rashadetaydinli7782
@rashadetaydinli7782 Жыл бұрын
Brilliant tutorial, thanks!
@FC-uo6dh
@FC-uo6dh Жыл бұрын
Great tutorial!
@suparnapaul3631
@suparnapaul3631 2 ай бұрын
Thank you for the wonderful video.
@medsalemdeddah8853
@medsalemdeddah8853 7 ай бұрын
My man this 6 minutes video was GOLD ❤
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials 7 ай бұрын
Perfect!
@priscillam8414
@priscillam8414 Жыл бұрын
Great work i had to subscribe ..keep up with the great work
@Vitality-UA
@Vitality-UA 8 ай бұрын
That's exactly what I was looking for, although before had to watch a coup-le of other videos
@icydive4223
@icydive4223 8 ай бұрын
You the man. Thanks. Looking to expand my skills since my university didn't told me anything about Git.
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials 7 ай бұрын
Same here :)
@LEmpireDesSignes
@LEmpireDesSignes 11 ай бұрын
it still seems to work. Thank you!
@zohaib87
@zohaib87 Жыл бұрын
Thank you! You are awesome 👍🏻
@pavelkharytonau
@pavelkharytonau Жыл бұрын
Thank you Sir, for clear explanation!)
@RiPu-nj5qm
@RiPu-nj5qm Жыл бұрын
Awesome, thank you mate! helped a lot
@carlosperetramos305
@carlosperetramos305 3 ай бұрын
Great video!!
@abdeslam_blc
@abdeslam_blc Жыл бұрын
really helped me , thank you 😊
@issiagaconde
@issiagaconde 4 ай бұрын
Thank you for this video.
@andrews13
@andrews13 11 ай бұрын
Perfect exactly what I wanted👍👍
@shohruzbek
@shohruzbek 2 жыл бұрын
great work.
@arshamna3076
@arshamna3076 3 ай бұрын
Thanks for this video❤️
@benwinstanleymusic
@benwinstanleymusic 4 ай бұрын
thank you very helpful!
@mohdadnan7983
@mohdadnan7983 8 ай бұрын
Best explanation ever ❤❤
@RizaHariati
@RizaHariati Жыл бұрын
Nice. Thank you!
@banupriya3443
@banupriya3443 Жыл бұрын
it's very useful thank you so much
@Mo-cn9kd
@Mo-cn9kd Жыл бұрын
extremely helpful tyvm
@a886-documentation-project
@a886-documentation-project 4 ай бұрын
Thank you!
@alliedatheistalliance6776
@alliedatheistalliance6776 Жыл бұрын
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 Жыл бұрын
Thank you for the idea! What else are you struggling with?
@alliedatheistalliance6776
@alliedatheistalliance6776 Жыл бұрын
@@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 10 ай бұрын
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! kzbin.info/www/bejne/q3rEk4mVhbZ5j6s
@aratiuikey6326
@aratiuikey6326 Жыл бұрын
thank you for the video ..!!!
@chiomaokafor3892
@chiomaokafor3892 Жыл бұрын
Thank you so much.
@bro5384
@bro5384 Жыл бұрын
you deserve a like comment and share❤
@esmaelmohamed8209
@esmaelmohamed8209 5 ай бұрын
Excellent
@lalithrockz
@lalithrockz 2 жыл бұрын
Please make the same video using commands, it would be really appreciated.
@villanuevajoshua2143
@villanuevajoshua2143 2 жыл бұрын
Like my comment sir if theres commands tutorial
@niclasthegoat
@niclasthegoat 2 ай бұрын
very good video imo
@yashoda.myashu4519
@yashoda.myashu4519 Жыл бұрын
thank you😄
@nharika8636
@nharika8636 Жыл бұрын
It was awesome
@premularai7836
@premularai7836 6 ай бұрын
thank you ...
@viv1650
@viv1650 Жыл бұрын
Thank you! How to add/change folder name and push it to GitHub/bitbucket?
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials Жыл бұрын
Use "git mv ", for example: git mv src src2
@gaarisocda1438
@gaarisocda1438 Жыл бұрын
Thanks
@gebeyabirhanu3209
@gebeyabirhanu3209 2 жыл бұрын
great!! try to reduce your speed
@santhush830
@santhush830 8 ай бұрын
nice
@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).
@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 Жыл бұрын
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
@TheHadMatters
@TheHadMatters 9 ай бұрын
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 7 ай бұрын
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 7 ай бұрын
@@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?
@cleopatra3933
@cleopatra3933 6 ай бұрын
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 3 ай бұрын
Were you able to push your local changes (that were done by using VSCode) to your repository in GitHub?
@klient9151
@klient9151 7 ай бұрын
What about signing gpg key
@bandicootcollector
@bandicootcollector 7 ай бұрын
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 7 ай бұрын
Are there any branches in your repository? Did try that from the folder of the repository (and not from a parent/child folders)?
@ksdnsdkumar1375
@ksdnsdkumar1375 6 ай бұрын
1:58 starts
@abhishekcode
@abhishekcode 8 ай бұрын
If i wants to do this using commands which commands i hv to use?
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials 7 ай бұрын
Can you please specify for which actions do you want to use commands?
@underemployed7136
@underemployed7136 Жыл бұрын
hello how do u edit ur vids
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials Жыл бұрын
I use the pre-installed Photos app on Windows 10, it has video editing tools :)
@BOSRY
@BOSRY Ай бұрын
its not working
@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.
@ButchCassidyAndSundanceKid
@ButchCassidyAndSundanceKid Жыл бұрын
what about resolving conflicts ?
@SoftwareEngineerTutorials
@SoftwareEngineerTutorials 10 ай бұрын
I created a video just for that!! kzbin.info/www/bejne/q3rEk4mVhbZ5j6s
GitHub Basics Made Easy: A Fast Beginner's Tutorial!
23:30
Skill Foundry
Рет қаралды 67 М.
Using Git & GitHub in VSCode: Stage, Commit, and Push
14:51
Max on Tech
Рет қаралды 27 М.
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 18 МЛН
Пробую самое сладкое вещество во Вселенной
00:41
Stupid Barry Find Mellstroy in Escape From Prison Challenge
00:29
Garri Creative
Рет қаралды 21 МЛН
Git MERGE vs REBASE: The Definitive Guide
9:39
The Modern Coder
Рет қаралды 86 М.
Git It? How to use Git and Github
12:19
Fireship
Рет қаралды 724 М.
Using Git & GitHub in VSCode: Branches, Pull Requests & Merges
8:17
Git Branching and Merging - Detailed Tutorial
54:28
SuperSimpleDev
Рет қаралды 188 М.
Visual Studio Code | How to use git and github
16:21
Automation Step by Step
Рет қаралды 567 М.
How to use Github with Visual Studio 2022
23:46
Programming w/ Professor Sluiter
Рет қаралды 153 М.
Git Tutorial For Dummies
19:25
Nick White
Рет қаралды 1 МЛН
13 Advanced (but useful) Git Techniques and Shortcuts
8:07
Fireship
Рет қаралды 893 М.
How to create a new branch on GitHub // Commit & Push
8:28
Kahan Data Solutions
Рет қаралды 294 М.
SSD с кулером и скоростью 1 ГБ/с
0:47
Rozetked
Рет қаралды 565 М.
ПОКУПКА ТЕЛЕФОНА С АВИТО?🤭
1:00
Корнеич
Рет қаралды 3,2 МЛН
Cadiz smart lock official account unlocks the aesthetics of returning home
0:30
CY Superb Earphone 👌 For Smartphone Handset
0:42
Tech Official
Рет қаралды 826 М.
Gizli Apple Watch Özelliği😱
0:14
Safak Novruz
Рет қаралды 4,3 МЛН
cute mini iphone
0:34
승비니 Seungbini
Рет қаралды 5 МЛН