Afrikaans
Akan
Albanian
Amharic
Arabic
Armenian
Azerbaijani
Basque
Belarusian
Bemba
Bengali
Bihari
Bosnian
Breton
Bulgarian
Cambodian
Catalan
Cebuano
Cherokee
Chichewa
Chinese (Simplified)
Chinese (Traditional)
Corsican
Croatian
Czech
Danish
Dutch
English
Esperanto
Estonian
Ewe
Faroese
Filipino
Finnish
French
Frisian
Ga
Galician
Georgian
German
Greek
Guarani
Gujarati
Haitian Creole
Hausa
Hawaiian
Hebrew
Hindi
Hmong
Hungarian
Icelandic
Igbo
Indonesian
Interlingua
Irish
Italian
Japanese
Javanese
Kannada
Kazakh
Kinyarwanda
Kirundi
Kongo
Korean
Krio (Sierra Leone)
Kurdish
Kurdish (Soranî)
Kyrgyz
Laothian
Latin
Latvian
Lingala
Lithuanian
Lozi
Luganda
Luo
Luxembourgish
Macedonian
Malagasy
Malay
Malayalam
Maltese
Maori
Marathi
Mauritian Creole
Moldavian
Mongolian
Myanmar (Burmese)
Montenegrin
Nepali
Nigerian Pidgin
Northern Sotho
Norwegian
Norwegian (Nynorsk)
Occitan
Oriya
Oromo
Pashto
Persian
Polish
Portuguese (Brazil)
Portuguese (Portugal)
Punjabi
Quechua
Romanian
Romansh
Runyakitara
Russian
Samoan
Scots Gaelic
Serbian
Serbo-Croatian
Sesotho
Setswana
Seychellois Creole
Shona
Sindhi
Sinhalese
Slovak
Slovenian
Somali
Spanish (Latin American)
Sundanese
Swahili
Swedish
Tajik
Tamil
Tatar
Telugu
Thai
Tigrinya
Tonga
Tshiluba
Tumbuka
Turkish
Turkmen
Twi
Uighur
Ukrainian
Urdu
Uzbek
Vietnamese
Welsh
Wolof
Xhosa
Yiddish
Yoruba
Zulu
[Music]
hello my name is stacey here and today i
would like to talk to you about what's
new with our git tooling in visual
studio 2022
the first new feature i am excited about
is multi-repo support
visual studio 2022 better supports
cross-team collaboration by enabling you
to seamlessly work in a solution with
projects hosted on different
repositories
you no longer need to switch between
repositories or use different instances
of visual studio
to get started just make sure that the
feature flag under tools options
is enabled for multi-repo support
once you do that you can
start by loading your solution
and
visual studio will load the solution and
activate all of your repos
you can also go to solution explorer
and see that both of your solutions are
there
and the status bar is indicating that
both
repositories are active
you can also get started by adding
projects to your solution and so as long
as your projects are under source
control
your visual studio will detect them
you can also click on the feature branch
on the status bar
which would open the git repository
window as you can see
both of the repos both of my
repositories are showing there where i
can browse
and see my commits
and now to demonstrate how multi-repo
works in visual studio
let's
add a new method on our math library
and then consume that method in our
multi-label calculator project
so as you can see i am under the math
library
i have the simple math.cs document open
and i have just pasted the multiply
method
now let's go to the program.cs
if we go to the get changes window we'll
be able to see that the changes we made
are shown
for both of the repositories we can also
filter
and focus on a single repository using
the repository drop-down or choose to
view both
repositories
and
be able to commit our changes across
these two repos with a single step
we can see the confirmation confirming
that we have been able to commit across
the two repositories if we click on the
outgoing incoming link you'll be able to
see our comment in the outgoing section
for
both
repositories here
the git repository window also supports
network operations so i can click on
push to push my changes that i have just
committed
and i get the confirmation
the get repository window also supports
creating new branches and even checking
out the branch which is becoming quicker
as we have been improving the
performance of visual studio
i can also focus on a single repository
and push my changes through the get
changes window on the side
the second feature i'd like to
demonstrate is about how easy it is to
create git repositories in visual studio
2022
and add your code to github and or azure
devops
for those of you who haven't been using
git let me just say that tracking your
progress with git is very helpful even
if if you are the only developer in your
organization and don't need to
collaborate with a large team
okay as we can see here visual studio is
providing me with an option to add to
source control in the status bar
indicating that
this new project i'm on is not tracked
by
source control if we go to the get
changes window i also get an option to
create a git repository there
and for those who are new to get i
highly recommend that you view our
documentation
now let's get started by creating our
get repository
by clicking the create repository button
as we can see visual studio
pre-populates our
create repository dialog
and the only thing we need to worry
about is provide an optional description
and then create and push to to github
it is important to note here that by
default the repository you are going to
be creating is going to be private
which means that you are the only one
who is going to be able to view your
code
if you would like to to create a good
repository on azure devops instead just
use the azure devops option on the side
which will also pre-populate the form
for you
the only thing you'll need to
adjust is the project that you would
like to create a new repository to and
then create and push
as we can see now visual studio is
working on creating and pushing
our code to azure devops
and
once that is done i get a confirmation
that that it has been a
successfully created and pushed
i hope you found this talk useful
feel free to view other talks about
visual studio 2022
thank you and have a wonderful day
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.