No video

Git Fundamentals

  Рет қаралды 148,844

Microsoft Visual Studio

Microsoft Visual Studio

Күн бұрын

Пікірлер: 58
@jessezamora6997
@jessezamora6997 7 жыл бұрын
The reason why you need origin/master for the merge command is that you're referencing the branch on the local filesystem, which uses the slash notation. When accessing the remote you use the as separate parameters. #nerdsforlyfe
@k4qdex
@k4qdex 2 жыл бұрын
actually no. git merge origin/master means that you are merging the remote master branch (hence "origin/.." ) to the local master branch, in which you are currently at. i dont see why people upvote your comment. this is wrong
@miloradowicz
@miloradowicz 2 жыл бұрын
@@k4qdexI think you are wrong and he is right. You are merging the current branch with the remote branch _that was previously fetched_ and now resides _on the local filesystem._ If what you said were true, there wouldn't be any need to fetch prior to merging. Prepending a remote branch name with the remote repository name must be just a way to distinguish between the local branch "master" (master) and the fetched local shadow of the remote branch "master" (origin/master). Notice how git merge only needs one parameter, because it always merges the specified locally residing branch into the _current branch,_ which -- being current -- doesn't need specifying. Git fetch/push use different syntax in commands like "git fetch/push origin master" because there you are specifying not the remote branch but your local one (master) that you want to be pushed or fetched. There must be a configuration variable or a hardcoded rule that puts the remote branch "master" into correspondence to the local branch "master", or something like that. In the full syntax the remote ref can be manually specified like so "git fetch/push origin master:remote-master". In contrast to git merge, here "origin" and "master" do not comprise an entity name -- they are two different things one is the source/destination, and the other is the branch to operate on (fetch/push here do not assume it to be the current branch).
@AlexCoEnginner
@AlexCoEnginner 7 жыл бұрын
One of the best explanations of how to use Git and Github in years. This is a thumbs up for Microsoft! Please continue given us wisdom!
@Robber7
@Robber7 6 жыл бұрын
Best video there is on GIT/Team servicies with VS. Absolutely brilliant. Thank you so much!
@_DeProgrammer
@_DeProgrammer 7 жыл бұрын
Props to MS, open sourcing. I'm a Mac user but use VS code. really like the direction MicroSoft is going , we notice.
@nayazpasha5963
@nayazpasha5963 3 жыл бұрын
from 21:00 to 51:00, it is shown to use with VS 2017. It helped a lot. Thanks!
@johnwalshgmail
@johnwalshgmail 4 жыл бұрын
I think to fully understand this , an explanation of origin/master was needed. It helps to know that origin/master is the *local* branch that tracks the remote branch, and not the remote branch as seems to be suggested in this video. Other than that a great demo of using GIT inside Visual studio
@L0RDeX
@L0RDeX 5 жыл бұрын
That’s awesome explanation to dive quickly in how to work with Git and terminology. Great job!!! Thank you!
@gsr4535
@gsr4535 4 жыл бұрын
Thanks for the calm explanation. Helped me a lot. 👍
@neman135
@neman135 7 ай бұрын
Robert thank you very much!
@Mattgyver31786
@Mattgyver31786 7 жыл бұрын
You need the slash because when you merge your pulling or drawing one into the other, much like merging on a freeway. Notice: where it says, master -> origin/master, merging origin w/ master.
@kanyagudipati8605
@kanyagudipati8605 4 жыл бұрын
Thank you for this wonderful video. You are a very good teacher. This video solved all my issues
@thesuperiorman8342
@thesuperiorman8342 4 жыл бұрын
I'm a beginner and I found this tutorial very helpful except you didn't show us how to go back to previous versions in git which is the reason I want to learn this. Thank you nevertheless and thanks to MS for providing this for free.
@alexanderzhukov6903
@alexanderzhukov6903 4 жыл бұрын
Wow! VS can handle Git so easily. What is awesome!
@jannetmascarella7653
@jannetmascarella7653 5 жыл бұрын
Thank you so much for the detailed explanation, it was incredibly helpful!
@buddyrowe7460
@buddyrowe7460 7 жыл бұрын
Nicely covered!! I appreciate the effort.
@kanyagudipati8605
@kanyagudipati8605 4 жыл бұрын
Awesome video. This is exactly what I am looking for
@timomynttinen6851
@timomynttinen6851 6 жыл бұрын
This was very, very useful and beneficial. Thank You very much!
@tombrennan1466
@tombrennan1466 3 жыл бұрын
Great video, thanks!
@johng5295
@johng5295 3 жыл бұрын
Thanks in a million. Awesome.
@arpitagarwal6540
@arpitagarwal6540 6 жыл бұрын
Thanks..superb video...All concept cleared
@johng5295
@johng5295 3 жыл бұрын
Thanks in a million. Awesome. A++
@frankng3111
@frankng3111 6 жыл бұрын
Awesome tutorial, thank you!
@tanxyrogue847
@tanxyrogue847 6 жыл бұрын
Really like how they designed the team service explorer 'manage connections' tab
@zahirjacobs716
@zahirjacobs716 5 жыл бұрын
Watch this at 1.5x speed. Life is too short.
@thesuperiorman8342
@thesuperiorman8342 4 жыл бұрын
Good idea
@hadend
@hadend 4 жыл бұрын
excellent suggestion
@arvforyoutuification
@arvforyoutuification 7 жыл бұрын
The command entered in the cmd were not visible. If you could have zoomed in while typing the commands would have been more helpful. Thanks.
@RullyRamadhan1
@RullyRamadhan1 5 жыл бұрын
Awesome Explanation!
@MahmoudFaragallah
@MahmoudFaragallah 4 жыл бұрын
Excellent, Thank you.
@narkotikov
@narkotikov 4 жыл бұрын
great stuff green!!
@Sushilkumar-yq7iy
@Sushilkumar-yq7iy 4 жыл бұрын
Best video! 👍👌
@rajperl
@rajperl 4 жыл бұрын
Very nice!!!
@leonardorodriguessucena8379
@leonardorodriguessucena8379 4 жыл бұрын
Nice content and nice explanation! keep the good work =D
@anarankovic9658
@anarankovic9658 6 жыл бұрын
This video helped me a lot! 👍🏻👍🏻👍🏻
@CezarLisboa1990
@CezarLisboa1990 5 жыл бұрын
Very useful!
@r_m5545
@r_m5545 4 жыл бұрын
THANKS MAN
@JalalDaulay
@JalalDaulay 5 жыл бұрын
best explanation, thank
@kishands
@kishands 3 жыл бұрын
Thanks in 2021
@pazzuto
@pazzuto 6 жыл бұрын
Very good video for the fundamentals; I learned a few things. Once thing is confusing though is why when resolving conflicts, you switch to "local master" then do a fetch from remote master, then switch back to feature1 and do a merge from remote master? What's the point to fetch into local master from remote? Looks like this is not needed.
@kanyagudipati8605
@kanyagudipati8605 4 жыл бұрын
Your local master branch should be in sync with remote master. So you are fetching the commits from remote to local. Then your feature should be merged with the new changes. So you need to merge with feature with remote master
@PlanoFool
@PlanoFool 6 жыл бұрын
I don't see the GitHub section in Team Explorer. I see my local Git Repositories and I've successfully manually fetched and pushed to GitHub and pulled from GitHub, but I haven't been able to build the connection between Visual Studio and my GitHub account. Any ideas on what I should do to connect Visual Studio with GitHub? I'll continue to search for a solution on my own, but if anyone has been down this path, please point me in the right direction. Thanks!
@flamecrow
@flamecrow 6 жыл бұрын
That deja vu moment when you misspell "refactored" twice haha
@Tech_DwivediJi
@Tech_DwivediJi 4 жыл бұрын
Hello Robert, Thank you so much for this great explanation. It helped me out a lot. I have few question if you can answer. First you didn't talk about Rebase. Second I am working with Bit bucket, but when I am merging my code I am getting error "You have uncommitted Changes you have to stash or commit you changes.". Though I have uncommitted changes but I don't want to commit those because I have changes in config files which is dedicated to my system only. So I want them as it is on my system for forever and want to keep them uncommitted. How do I do that? It is easily performed in TFVS. And how to stash something in visual studio. Can you please help me out in these scenario. Thanks
@ElCidPhysics90
@ElCidPhysics90 4 жыл бұрын
I don’t have a Git section in Team Explorer.
@jeepung4015
@jeepung4015 6 жыл бұрын
Thank you for the nice tutorial! But I have a question, in VSTS, why or reason you Commit then Sync before the Push? What's the value of Sync in this? Why not simply Push after the Commit?
@RAVIIPAVAN
@RAVIIPAVAN 6 жыл бұрын
Because we have to take latest version of code before pushing local code to server as someone else might have already modified server version.So sync does Pull + Push
@DooleysHouse
@DooleysHouse 6 жыл бұрын
Sync is just the category that Push, Pull, and Fetch are in.
@fc1984fc
@fc1984fc 4 жыл бұрын
How the hell do you revert a commit in Visual Studio 2019? The docs only refer to the previous versions and MS changed everything -- very lame!
@Indrayavam
@Indrayavam 6 жыл бұрын
Small font in the CMD kills it.
@tanxyrogue847
@tanxyrogue847 6 жыл бұрын
I'm speculating. It's Called a 'pull request' because You are Requesting the GitHub Server to Pull your Code to the it's Server.
@JoeMarGonzales
@JoeMarGonzales 6 жыл бұрын
it's a pull request because you are basically asking everyone working on the branch to "pull" changes from you
@michitamy
@michitamy 4 жыл бұрын
are these the same fundamentals in 2020?
@tehsimo
@tehsimo 7 жыл бұрын
15 mins in.. I'll just stick to GitKraken
@sumertheory
@sumertheory 6 жыл бұрын
14:32 and i actually don't know why. honest.
@kenichimori8533
@kenichimori8533 7 жыл бұрын
De codec solution name tool x Visual Studio = y3 Even Promotion Point Pretty Point P = P Point P
Design Patterns: Observer and Publish-Subscribe
18:18
Microsoft Visual Studio
Рет қаралды 23 М.
Git Tutorial for Beginners - Git & GitHub Fundamentals In Depth
43:06
Tech With Tim
Рет қаралды 829 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН
天使救了路飞!#天使#小丑#路飞#家庭
00:35
家庭搞笑日记
Рет қаралды 86 МЛН
Чёрная ДЫРА 🕳️ | WICSUR #shorts
00:49
Бискас
Рет қаралды 4,7 МЛН
Getting Started Faster with Git and GitHub
19:02
Microsoft Visual Studio
Рет қаралды 34 М.
SOLID Design Patterns
57:18
Microsoft Visual Studio
Рет қаралды 251 М.
Git Tutorial for Beginners
51:53
Telusko
Рет қаралды 748 М.
Git Tutorial for Beginners: Learn Git in 1 Hour
1:09:13
Programming with Mosh
Рет қаралды 2,4 МЛН
Intro to GitHub - Commits, Issues, Pull Requests, Releases, and more
1:09:28
So You Think You Know Git - FOSDEM 2024
47:00
GitButler
Рет қаралды 1,1 МЛН
Complete Git and Github Hands On Tutorial with Commands
31:24
Cloud Champ
Рет қаралды 39 М.
Lecture 6: Version Control (git) (2020)
1:25:00
Missing Semester
Рет қаралды 673 М.
Git and GitHub for Beginners - Crash Course
1:08:30
freeCodeCamp.org
Рет қаралды 4,1 МЛН
TypeScript Origins: The Documentary
1:21:36
OfferZen Origins
Рет қаралды 283 М.
Kind Waiter's Gesture to Homeless Boy #shorts
00:32
I migliori trucchetti di Fabiosa
Рет қаралды 11 МЛН