actually repository once more
so what we want to do now is we want to clone
the are the get repository from from get up to
all ok machine so that can work locally
and in order to do that we just click on the green but here
and we can copy the u l here and then we can
go to the command
first thing we need to do here is we need to switch
to the repository to do the directory where we want to have
to repository and this is actually
workspace eclipse workspace so i we already did that and now
we say gave no no
case the url that we just copied from from the
get a page and say return and
it will clone repository to workspace and now we
did it already did was was much faster than you who
had on the slow so we need to go
to the clips not eclipse now we already open that
i'm trying to speed up years you notice many
and we say we want to have a huge our project and then you
to our project will be called kept don't want
and i'm going to slow it down because this is
important what you're doing here is we're naming the job project
the same way we named or repository that will lead to the fact
that eclipse will just create a photo or noticed
the order is already there and it would
then just create all the files which we need for that java
project inside the existing for which is all good repository
so if we just click finish now yeah
we have travel project now in here and you
can see the redoing means already that and maybe you already
noticed that there was some kind of with
symbols things and that means eclipse
also notice that this repository of this
directory is good because of that so you could use
the builders support for good in eclipse from now on
actually we don't really like that so all we rather used to
command for that so let's have a look want to the command-line
what happened there so that what happened in our different
for the two or we
want to do a status not repository yet of
course we need to go into repository for so now we're in the
workspace we need to go to the directory so c d e
one of those you can see you can use it had to
our complete those were not so familiar with the command i'm
very slow in type i mean and then
get status again get status get actually you know you have
to type that again you could also use something else which
i will show you next time so we can
see there's a couple files here which are
are rare and that means it kind of doesn't
know them yet so they they are there it sees them
but they're not added to the stage here
so we do that so we set it at now we can either
do that for each of the files or we can do it just
for all and this is not just thought and it's as at all of
these finds we do that
we can do it says again
using just the arrow up which says give me they would command
that it says that you're kind of with that
it's green they were at their wedding but they're not permitted
yet so before we can read this isn't the real
so this is a project already but i want a far
and we need some code there
so vector it lets here we have to source or maybe you
saw that it doesn't have the photo in there and this is because
it doesn't at mt photos so on let's have a new class
were again mean fly the main
method and it says the use of evil advantage is discouraged
and we actually also to discover that and this is
why we say let's it put it in a package
you already know we either the backwards you l thing in order
to have unique identifiers or package that we
try to call it t e they guy kept through
finish that there is
we have i have here and now let's go back to the command-line
to get started once more and now we see
the source code or as also there abstract you
know tracked and it also includes all five such as holderness
of that so random one
status again and now we also see the fires in the source for
that we all the other photos the packages
and now on we can actually committed so here
and that's as message so that's kind of shortcut
we give the message say in english
we show him
the input ok so now we have all itself and is it on it
no now it's not because we just created a committee
at this commit is locally so we know that
all there all the comments will be on several
yeah machines later on to also take account
capabilities it's a distributed
version control system and in order to make it more less public
to make it available to the master or to
get up in this case which is the region
all repository we have to push it there so we've got to logan
commit right now and we're going to push this
is the it push it would have thought that
and knows writing or the objects and it's a as yet
total ten objects pushed from all local most
to the remote last so that we wrote one from it
so let's have a look at it no
leaders you think but if you refresh
we can see we've got cast at it ignore five of
the project orders so in the
great project i wanna had
so what do you do know i don't do anything not
i do something i go to you it's a hit hong and ran like you
project could you please add me as a collaborators so that
i can probably work together with you
if i just wanted to see what's in your project
in there just want to check it out i can do it without asking
you because public so i can do that but let's say i want to
really work with your collaborate with you
therefore i need you to have the we are the possibility or
the rights to push to your repository or at least it would
simplify techniques if so how do we do that there
is some but with things we just settings
and he we have the collaborators that sounds like a good option
for what what to do and now we can at
good users so i could have user so
it's what's your name r and then more or less then
so you know laws allows it up
for the story you can find all sell it tall some you answer
has taken i could have and i will that causes
a collaborator brought now has to
say well yes i want to collaborate with you
you also
can and then i can also push to your report to you