Gitting Started - Creating and Working With A Local Git Repo

preview_player
Показать описание
Git is a powerful tool for collaborating with teammates but can also be extremely handy when working alone. It makes experimenting with new features and preventing breaking things in your code a lot easier. Let's take a look at how to setup git for a local project so we can take advantage of feature branches and gits version tracking support.

This will introduce some of the basic git commands and will setup a simple .NET Core project and put it under git source control. Then we'll create a simple feature branch, checkout the new branch and implement the feature. Finally we'll switch back to our master branch and merge the feature into the main branch. It's simple, but easy.

There are a number of great options for adding online git repo's if you want to take your project one step further:

Рекомендации по теме
Комментарии
Автор

use "git add -u" to add all updates (and not accidentally commit passwordfiles or configfiles). nice video.

commonpike
Автор

Exactly the info I needed! Thanks for this.

iDreamOfOkra
Автор

Thank you, dawg. This is incredibly helpful.

powerful_smr
Автор

Really Outstanding Explanation! Loved it

mehjabeenkhan
Автор

Took me 30 seconds to get the pun in the Gitting Started. Nice video btw.

goliveiradev
Автор

Great video. The way you explain the features with analogies are much easier for me to grasp than other tutorials I've watched. Thanks for taking the time to share! Also, what text editor are you using?

mattanderson
Автор

Hey ... good video.. thanks. Can you advice on how to make my terminal show the same status and branch as yours? Thanks in advance.

faraonlatino
Автор

Great video! Very informative and great delivery. ... If you turn the sound off, you look like you're rapping...

DaminalTheAminal
Автор

First: F1 is to open the console at 2:10
Second: Is it possible to link to a clone repository on the same disk? Say if you had a networked folder in an offline network for the project (a problem I'm facing at the moment - not allout to use git or even a privat bitbucket repository T_T), only one person could work on it, as the checkout branch is what is actually in there. What if you want to have some secondary branch in another working folder. Say ./Gitexample2 or something, which then also can commit changes

DandragonDe
Автор

I don't understand why did not just add files using vscode gui

turbojv