@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.
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?
Hi, I am having trouble sicing the fact that the deleted branch does not exist anymore on my local computer. Pull does not do the trick. Do you have a quick fix?
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 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 :)
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! th-cam.com/video/uIabV_PQFYI/w-d-xo.html
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?
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).
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?
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
@@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?
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 ?
You watch this, and then you wonder why all the other Github tutorials can't just be this straightforward? Thank you.
I’m very happy you found it so helpful!
Please feel free to share any other topics you need help with!
totally bro!
This 6min video was more valuable than anything I watched on git and vs code. Thank you!
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
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.
Thank you for the short and to the point tutorial!
Great! A clear & concise description of how to merge vscode into github...thanks!
Not exactly how to merge VSCode itself but how to merge code you worked on in VSCode to GitHub! 🥳
The best video that I have watched on the subject of VSCode and GitHub. Great job👌!!!
Thank you!! So happy to hear that
My man this 6 minutes video was GOLD ❤
Perfect!
Wow .. been looking for this for a surprisingly long time.. then found this.. Tysm
Thanks so much for the video, I was looking for a straightforward explanation and this is it :)
Excelente vídeo. Tiene aspectos claves que no tienen otros vídeos para entender globalmente cómo usar Git y desplegar usando VS Code. Gracias.
You the man. Thanks. Looking to expand my skills since my university didn't told me anything about Git.
Same here :)
Thank-you for this! I finally grasped this concept. Subscribed!
@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.
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?
@@SoftwareEngineerTutorials I will try your suggestions and report back. Thank you
This is really nice...it just brushed thought it all,and it was clear.
That's exactly what I was looking for, although before had to watch a coup-le of other videos
Hi, I am having trouble sicing the fact that the deleted branch does not exist anymore on my local computer. Pull does not do the trick. Do you have a quick fix?
The best video, so clear and simple. Thanks!!
Thanks a lot. Very helpful. Now it's clear. Thank you!
Thank you! How to add/change folder name and push it to GitHub/bitbucket?
Use "git mv ", for example: git mv src src2
Please make the same video using commands, it would be really appreciated.
Like my comment sir if theres commands tutorial
Best explanation ever ❤❤
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.
Thank you for the idea! What else are you struggling with?
@@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 :)
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!
th-cam.com/video/uIabV_PQFYI/w-d-xo.html
Very helpful. Now it's clear. Thank you!
it still seems to work. Thank you!
1:58 starts
you deserve a like comment and share❤
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?
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).
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?
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
@@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?
This was great, thank you!
Great work i had to subscribe ..keep up with the great work
Thank you! You are awesome 👍🏻
Thank you for the wonderful video.
Thank you Sir, for clear explanation!)
Perfect exactly what I wanted👍👍
Brilliant tutorial, thanks!
Thank you so much. Good work!!!
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 ?
Were you able to push your local changes (that were done by using VSCode) to your repository in GitHub?
Great video. Keep em coming!
Great tutorial!
Thank you for this video.
Thanks for this video❤️
it's very useful thank you so much
I get an error when making a new branch.
fatal: 'HEAD' is not a commit and a branch 'home' cannot be created from it
Are there any branches in your repository? Did try that from the folder of the repository (and not from a parent/child folders)?
thank you very helpful!
What about signing gpg key
great work.
hello how do u edit ur vids
I use the pre-installed Photos app on Windows 10, it has video editing tools :)
really helped me , thank you
😊
thank you for the video ..!!!
If i wants to do this using commands which commands i hv to use?
Can you please specify for which actions do you want to use commands?
Nice. Thank you!
Great video!!
extremely helpful tyvm
great!! try to reduce your speed
Thank you!
Thank you so much.
Excellent
very good video imo
thank you😄
thank you ...
It was awesome
Thanks
its not working
nice
Great video, but sometimes when I try to commit a change it takes forever to do so, what is causing this issue?
Thank you!
Could be different reasons. I would recommend to search for similar questions asked on Stack Overflow or on Google.
what about resolving conflicts ?
I created a video just for that!! th-cam.com/video/uIabV_PQFYI/w-d-xo.html
Awesome, thank you mate! helped a lot