×

We use cookies to help make LingQ better. By visiting the site, you agree to our cookie policy.

image

Programming, Git It? How to use Git and Github

Git It? How to use Git and Github

[Music]

when it comes to development most tools

that you come across have a limited

shelf life but despite this constant

churn there's one thing that remains

consistent and that's good it's easy to

take it for granted but when you take a

step back you'll find that git has

completely revolutionized the software

world it's essentially a history book of

your code and services like github make

open source software accessible to the

world in today's video I'll show you the

basics of get along with some advanced

pro tips and I'll even invite you to

collaborate with me on a pull request on

github in exchange for a free sticker I

think that's a pretty good deal so if

you're new here like and subscribe and

I'll give you further instructions

throughout this video so what is get

exactly it's a version control system

but really what that boils down to is a

system for managing your files building

software is a series of small milestones

where each milestone is just writing

code and a bunch of different files your

app will constantly move from a state of

chaos to stability and gate gives you a

way to keep track of all of these

changes and it does so in a way that

allows you to create multiple branches

or paths that you can go down and then

merge them in later facilitating

collaboration between large groups of

developers so today I'm going to show

you how this all works by building a

piece of open source node software that

we can all collaborate on the software

itself is a command-line utility that

will allow you to encrypt your mailing

address and then add it to the github

repo so I can mail you a sticker in my

current working directory I just have an

index J s file and a package.json I'll

go ahead and click on the source control

icon and you'll notice it says no source

control provider is registered the first

thing we'll need to do is initialize get

to start tracking our files and there

are two ways we can do this we can

either do it directly in vs code or we

can do it from the command line you

should definitely try to memorize all

the commands I show you in this video

but it's often faster to run them with

vs codes integrated tooling and I'll

show you both methods throughout this

video so first we'll go ahead and run

get an it from the command line and

you'll see that initializes an empty git

repository in our current working

directory you'll notice it adds our two

files to the changes list in the source

control panel so this tells us which

files have changed since the previous

snapshot of the source code because

we're in a brand-new project both these

files have a u icon

which means untracked or that their

newly created on this working directory

now a quick pro tip when you initialize

it get repo it creates a hidden get

directory if you want to completely

uninitialized it or remove it from your

project you can just remove that

directory but be careful with that one

now a second pro tip is to install the

get lense plugin for vs code it embeds

all kinds of useful information directly

in your code and gives you this extra

panel where you can easily navigate your

git history the next important thing

when setting up a github repo is to

create a git ignore file you don't want

everything in source control for example

you definitely want to keep out any

sensitive private API keys and you'll

also want to filter out the source code

for your dependencies like your node

modules and any unnecessary log files

git will automatically look at this get

ignore file and filter out anything that

matches the file path or pattern you can

create this file manually but the pro

way to do it is to use AVS code plug-in

to automatically generate all the

defaults for your environment so that

saves us a bunch of time and now we can

move on to the next concept of how do I

take a snapshot or a commit of my

current working directory a commit is

like a page in a history book that has

its own unique ID and can't ever be

changed without get knowing about it the

first thing we want to do is stage the

files that we want included in this

commit use stage files by running git

add and you can add individual files or

the entire working directory by just

using a period and BS code makes it

really easy to stage or unstaged files

by just clicking the plus or minus

button and you can unstaged files from

the command line by running git reset

but be careful with this one because

there's a hard flag and if you use it it

will not only unstaged the files but

delete them forever so if we run that

one right now on our new project it will

delete everything and we'll have to

start over from scratch and with that

I'll give you one of my most important

pro tips which is to make many small

commits this practice will not only help

prevent catastrophic losses of code but

it will also just make your code changes

a lot easier to follow now we're ready

for our first command the first thing we

want to do is run git add to stage our

files then we run git commit with the EM

flag to add a descriptive message about

what we changed in our code a pro tip

here is to use an emoji to get more

github stars on your project because

github stars are the best way to tell

how good a software project really is

and you can also make your comments

multi-line to provide a summary on the

first line and then a more descriptive

set of changes on the second line you'll

notice that that takes the files out of

the stage changes and gives us a clean

working directory and it will tell us

exactly which files were created

modified or deleted as part of this

commit now if we go into our git lens

plug-in you can see we have a history of

code changes that we can navigate

through and see exactly which lines of

code changed up until this point we've

been working on what's called the master

branch which is like the main trunk on

the tree that contains the actual source

code that you're releasing and

delivering to your customers so what

happens when you have a stable code base

and you need to fix a bug or you want to

experiment with a new feature what

you'll typically do in git is create a

new branch based on your most recent

commit and go and fix the bug on the

separate branch and then merge it back

into the master branch once it's ready

this means we can have multiple

developers working on the same code base

on their own branches without stepping

on each other's toes you can see all the

current branches in your codebase by

running git branch which for us would

just be the master you can switch

between branches and get by running the

check out command in our case the branch

hasn't been created yet so we'll go

ahead and create it by using the be flag

and we'll give it a name of feature so

now any code that we write in here will

be isolated to this branch now we can

fast forward into the future and you'll

see I've written a bunch of code in this

branch so currently this code is just

sitting in the working directory so I

need to commit it to this feature branch

this time I'll run my commit directly in

vs code and then we can switch back to

the master branch and you'll see that

all of our new files disappear and we're

back to the original state on the master

at this point I'd like to point out that

you don't necessarily have to commit

your files before switching to the

master branch there's a another

mechanism to save your work in progress

if you're working on something that's

half-finished

or experimental you can use a command

called git stash this will save all of

your current changes without committing

them and then revert back to a clean

working directory then later at some

point in the future when you want to get

back to work you can either pop or apply

the changes in that stash to your

current working directory so kind of

just like it sounds you're stashing away

your current changes to be used at some

later point

so stashing is just a handy thing to

know and an alternative to committing

your code if you're not quite ready to

do so

in our case we're all done building our

feature so what we want to do now is

merge that feature into the master

branch so now we'll go ahead and check

out the master branch and then if we run

get merged with the name of our feature

branch it will merge the latest commits

from the feature into the master and

you'll notice the commit ID is the same

for both the feature and master branch

so that was a pretty simple use case but

merging is the place you're most likely

to run into problems because you might

be working on a feature branch and then

the master branch has changes that

eventually lead to merge conflicts on

the Left we have a line of code that we

implemented in our feature branch and

then on the right we have a new change

that happened in the master branch while

we are working that affected the same

line of code so merging these files is

not possible out-of-the-box because git

doesn't know which change to use the S

code will give you some options to

resolve these conflicts for example you

might accept the current change accept

the incoming change or Bowl when you run

into a conflict you'll want to first

review it and then a lot of times it's

best to just abort the merge all

together and fix the files manually I

already mentioned that it's a good

practice to implement a lot of small

commits because it's easier to fix a

conflict on one file as opposed to a

hundred files then in the previous

example we merged a feature branch into

the master branch but a lot of times

when you're working on a feature you'll

want to merge the master branch back

into your feature to get the latest code

because if something on the master

branch changes it means someone could

have been writing code in the same place

that you're writing code or there might

be some breaking changes that changed

the way your feature is going to work so

if you're working on a feature for an

extended period of time you'll want to

merge in the master branch any time it

changes or maybe once a day if it's a

really active repo now there's one last

pro tip that I want to give you that's

related to merging a lot of times on a

feature branch you'll create a lot of

different commits and these commits are

kind of irrelevant to what's going on in

the master branch you can see here that

our feature branch is three commits

ahead of our master branch and it has a

bunch of comments about adding useless

emojis to the code instead of merging

all of these commits into the master

branch you can use the squash flag to

squash them down into a single commit

when you do your merge this will keep

the change history nice and concise on

the master branch but still preserve all

of the original commits on the feature

branch itself when you merge with the

squash flag

it won't actually change the head commit

on the master branch so you'll need to

add an additional commit on your own

that says something like merged in

feature branch and that gives us a nice

compact change history on the master so

now that we know how to do all this get

stuff locally let's see how we can do it

remotely with github pushing a repo to

github is actually really easy first we

just need to create a repository on

github and then it will give us the

commands to run to push our code to this

location the first command is get remote

which connects your local code to this

remote repository and the second command

is get push which will actually push the

files to the remote repository so if we

run the commands and then refresh the

page we should see our code is now on

github that was super easy but the next

thing I want to show you is how to take

someone's existing code fork it create

some changes and then create a pull

request to merge your code into another

person's project and that's exactly what

you'll need to do to get the free

sticker so this is the typical pattern

that you'll see when contributing to any

open-source project

step one is to fork the existing project

forking will copy the code from the

source and make it a repo under your own

github account after you fork it you'll

then want to clone your fork to your

local machine so you can start making

changes to it the git clone command just

allows you to copy the code from a

remote repository to your local computer

once you have that cloned you can open

it up in vs code and in this case serial

first want to run npm install to install

the dependencies then you can run git

checkout flag be with my sticker as the

branch name which again will create and

move you into this new branch and then

i've added a special command to this

repo called npm run address and that's

going to prompt you for the information

that i need for your mailing address

when you're done with that it will print

out an encrypted base64 string from

there you'll go into the stickers

directory and create a new file that's

your github username dot txt

then you'll copy and paste this encoded

string into that file so just a side

note on security your address is going

into a public repo but it's encrypted

with the RSA algorithm this means that

you are able to encrypt data with the

public key but I'm the only one with the

private key that can decrypt it I have

the private key on a thumb drive which

I'll destroy after this giveaway and

hacking the private key by brute force

is essentially impossible

unless someone physically steals the

private key your address should be safe

in this public format but I do feel

obligated to give you that disclaimer

first now go ahead and save the text

file then run get ad and get commit with

whatever message you want to put in

there now we have all of the necessary

changes committed on our local machine

we'll need to push this branch to our

remote fork for that we can just say git

push origin with the branch name and

that will push the branch to github then

on github you'll see the option to

create a new pull request a pull request

is just like a merge but it has the

additional step of needing to pulling

the remote changes in other words a pull

request is like saying pulling my remote

changes and then merge them into the

master branch so that's how you

contribute to an open-source project I'm

gonna go ahead and wrap things up there

hopefully that leaves you with some of

the basic tools needed to contribute to

open source software there's a whole lot

more that can be covered on this topic

so let me know what you want to see next

in the comments and if you want to get

really good at this kind of stuff

consider becoming a pro member at

angular firebase com thanks for watching

and I'll talk to you soon

Learn languages from TV shows, movies, news, articles and more! Try LingQ for FREE

Git It? How to use Git and Github Гит|это|как|чтобы|использовать|Гит|и|Гитхаб Git|||||||Github git|lo|cómo|usar|usar|git|y|github Git It? Wie man Git und Github benutzt Git It? How to use Git and Github ギット・イット?GitとGithubの使い方 Git It? Jak korzystać z Git i Github Git It? Como utilizar o Git e o Github Git It? Git ve Github nasıl kullanılır? git 吗?如何使用 Git 和 Github git 吗?如何使用 Git 和 Github ¿Entendido? Cómo usar Git y Github Понял? Как использовать Git и Github

[Music] музыка [Música] [Música] [Музыка]

when it comes to development most tools когда|это|приходит|к|разработке|большинство|инструменты cuando|se|trata|a|desarrollo|la mayoría de|herramientas jeśli chodzi o rozwój większości narzędzi cuando se trata de desarrollo, la mayoría de las herramientas Когда дело доходит до разработки, большинство инструментов

that you come across have a limited которые|ты|приходишь|на|имеют|ограниченный| ||come|||| que|tú|encuentres|con|tienen|una|limitada z którymi się spotykasz, mają ograniczoną liczbę que encuentras tienen un alcance limitado с которыми вы сталкиваетесь, имеют ограниченные

shelf life but despite this constant полка|жизнь|но|несмотря на|это|постоянный shelf||||| estante|vida|pero|a pesar de|esto|constante shelf life but despite this constant okres przydatności do spożycia, ale pomimo tej stałej vida útil pero a pesar de esta constante срок годности, но несмотря на этот постоянный

churn there's one thing that remains churn|есть|одна|вещь|которая|остается constant change||a single element|||remains agitación||una|cosa|que|permanece churn there's one thing that remains churn, pozostaje tylko jedna rzecz cambio hay una cosa que permanece поток, есть одна вещь, которая остается

consistent and that's good it's easy to постоянной|и|это|хорошо|это|легко|инфинитивная частица Reliable|||||| consistente|y|eso es|bueno|es|fácil|(verbo auxiliar) spójny i dobrze, że łatwo consistente y eso es bueno es fácil de постоянной, и это хорошо, это легко

take it for granted but when you take a берешь||||||||одно assume / accept|||granted||||| toma|lo|por|hecho|pero|cuando|tú|tomas|un to coś oczywistego, ale kiedy dar por sentado pero cuando tomas un принимать как должное, но когда вы берете это

step back you'll find that git has шаг|назад|вы найдете|находить|что|git|имеет retrocede|atrás|tú encontrarás que|encontrarás que|que|git|tiene step back you'll find that git has cofnij się, przekonasz się, że git ma retrocede y encontrarás que git ha отступите, и вы увидите, что git полностью

completely revolutionized the software полностью|революционизировал|этот|программное обеспечение completamente|revolucionó|el|software revolucionado completamente el software революционизировал мир программного обеспечения,

world it's essentially a history book of мир|это|по сути|книга|история|книга|о mundo|es|esencialmente|un|historia|libro|de świat jest zasadniczo książką historyczną o el mundo es esencialmente un libro de historia de это по сути книга истории вашего кода,

your code and services like github make ваш|код|и|сервисы|такие как|github|делают tu|código|y|servicios|como|github|hacen tu código y servicios como github hacen а такие сервисы, как github, делают

open source software accessible to the открытый|источник|программное обеспечение|доступное|к|миру software|de código|abierto|accesible|a|los oprogramowanie open source dostępne dla software de código abierto accesible para el открытое программное обеспечение доступно для

world in today's video I'll show you the мир|в|сегодняшнем|видео|я буду|показывать|тебе|основы mundo|en|de hoy|video|yo (verbo auxiliar)|mostrar|a ti|el świat w dzisiejszym filmie pokażę ci mundo en el video de hoy te mostraré los мира, в сегодняшнем видео я покажу вам

basics of get along with some advanced основы|из|получать|ладить|с|некоторыми|продвинутыми fundamentos|de|llevarse|bien|con|algunos|avanzados podstawy dogadywania się z niektórymi zaawansowanymi fundamentos de cómo llevarse bien con algunos consejos основы, а также некоторые продвинутые

pro tips and I'll even invite you to профессиональными|советами|и|я буду|даже|приглашать|тебя|к consejos|consejos|y|yo te|incluso|invitaré|a ti|a profesjonalne wskazówki, a nawet zaproszę Cię do profesionales avanzados e incluso te invitaré a советы, и я даже приглашу вас на

collaborate with me on a pull request on сотрудничать|с|мной|над|одним|запрос|на| |||||code contribution request|| colabora|conmigo|yo|en|una|solicitud|de| współpracuj ze mną przy pull request na colabora conmigo en una solicitud de extracción en сотрудничайте со мной над запросом на слияние на

github in exchange for a free sticker I ||||хорошая||наклейка| github|a|cambio|por|un|gratis|sticker|yo github w zamian za darmową naklejkę I github a cambio de una etiqueta gratis que github в обмен на бесплатную наклейку, которую я

think that's a pretty good deal so if pienso|eso es|un|bastante|buen|trato|así que|si Myślę, że to całkiem dobra oferta, więc jeśli creo que es un buen trato, así que si думаю, это довольно хорошая сделка, так что если

you're new here like and subscribe and jesteś tu nowy polub i zasubskrybuj i eres nuevo aquí, dale me gusta y suscríbete y вы здесь новенький, ставьте лайк и подписывайтесь и

I'll give you further instructions я буду|давать|тебе|дальнейшие|инструкции yo|daré|a ti|más|instrucciones Przekażę ci dalsze instrukcje Te daré más instrucciones Я дам вам дальнейшие инструкции

throughout this video so what is get на протяжении|этого|видео|так что|что|есть|получить during all of|||||| a lo largo de|este|video|así que|qué|es|obtener w całym tym filmie, więc co to jest a lo largo de este video, así que ¿qué es lo que obtenemos? в течение этого видео, так что что такое

exactly it's a version control system точно|это|система|версия|контроля|система exactamente|es|un|versión|control|sistema dokładnie jest to system kontroli wersji Exactamente, es un sistema de control de versiones на самом деле это система контроля версий

but really what that boils down to is a но|на самом деле|что|это|сводится|вниз|к|есть| ||||comes down to|||| pero|realmente|lo que|eso|se reduce|a|a|es|un but really what that boils down to is a ale tak naprawdę sprowadza się to do pero realmente lo que eso significa es un но на самом деле это сводится к тому, что это

system for managing your files building система|для|управления|ваш|файлами|создание sistema|para|gestionar|tus|archivos|construcción system do zarządzania tworzeniem plików sistema para gestionar la construcción de tus archivos система для управления вашими файлами

software is a series of small milestones программное обеспечение|есть|серия|серия|из|маленьких|этапов ||||||Key achievements software|es|una|serie|de|pequeños|hitos software is a series of small milestones oprogramowanie to seria małych kamieni milowych el software es una serie de pequeños hitos программное обеспечение — это серия небольших этапов

where each milestone is just writing где|каждый|этап|есть|просто|написание ||Writing benchmark||| donde|cada|hito|es|solo|escritura where each milestone is just writing gdzie każdy kamień milowy jest po prostu napisany donde cada hito es simplemente escribir где каждый этап — это просто написание

code and a bunch of different files your кода|и|куча|куча|из|различных|файлов|ваших |||variety of|||| código|y|un|montón|de|diferentes|archivos|tu kod i kilka różnych plików twój código y un montón de archivos diferentes tu кода и множество различных файлов вашего

app will constantly move from a state of приложение|будет|постоянно|двигаться|из|состояние|состояние|из la aplicación|(verbo auxiliar futuro)|constantemente|se moverá|de|un|estado|de aplikacja będzie stale przechodzić ze stanu la aplicación se moverá constantemente de un estado de приложение будет постоянно переходить от состояния

chaos to stability and gate gives you a хаос|в|стабильность|и|шлюз|дает|тебе| caos|a|estabilidad|y|puerta|te da|a ti|una chaos do stabilności i brama daje caos a estabilidad y la puerta te da una хаоса к стабильности, и шлюз дает вам

way to keep track of all of these способ|чтобы|держать|отслеживать|из|все|из|эти manera|de|mantener|seguimiento|de|todos|de|estos sposób na śledzenie ich wszystkich manera de hacer un seguimiento de todos estos способ отслеживать все эти

changes and it does so in a way that изменения|и|это|делает|так|в|способ|способ|что cambios|y|lo|hace|así|en|una|manera|que zmienia się i robi to w sposób, który cambios y lo hace de una manera que изменения, и делает это таким образом, что

allows you to create multiple branches позволяет|тебе|инфинитивный союз|создавать|множество|ветвей permite|que tú|a|crear|múltiples|ramas umożliwia tworzenie wielu oddziałów te permite crear múltiples ramas позволяет вам создавать несколько веток

or paths that you can go down and then или|пути|которые|ты|можешь|идти|вниз|и|затем |routes||||||| o|caminos|que|tú|puedes|ir|hacia abajo|y|entonces lub ścieżki, którymi możesz zejść, a następnie o caminos por los que puedes avanzar y luego или путей, по которым вы можете идти, а затем

merge them in later facilitating объединять|их|в|позже|облегчая fusionar|ellos|en|más tarde|facilitando merge them in later facilitating połączyć je w późniejszym ułatwieniu fusionarlos más tarde facilitando объединять их позже, облегчая

collaboration between large groups of сотрудничество|между|большими|группами|из colaboración|entre|grandes|grupos|de la colaboración entre grandes grupos de сотрудничество между большими группами

developers so today I'm going to show разработчики|так что|сегодня|я собираюсь|собираюсь|к|показать desarrolladores|así que|hoy|voy a|mostrar|a|mostrar deweloperów, więc dzisiaj pokażę desarrolladores, así que hoy les voy a mostrar разработчики, сегодня я собираюсь показать

you how this all works by building a тебе|как|это|все|работает|путем|создания| tú|cómo|esto|todo|funciona|construyendo|construyendo|un jak to wszystko działa, budując cómo funciona todo esto construyendo un вам, как это все работает, создавая

piece of open source node software that кусочка|из|открытого|исходного|нодового|программного обеспечения| ||||Node.js software|| pieza|de|código|fuente|nodo|software|que kawałek oprogramowania węzła open source, który trozo de software de nodo de código abierto que часть программного обеспечения с открытым исходным кодом, которое

we can all collaborate on the software мы|можем|все|сотрудничать|над|этим|программным обеспечением nosotros|podemos|todos|colaborar|en|el|software wszyscy możemy współpracować nad oprogramowaniem todos podemos colaborar en el software мы все можем совместно разрабатывать.

itself is a command-line utility that сам|есть|один|||утилита|которая |||||command-line tool| sí mismo|es|una|||utilidad|que samo w sobie jest narzędziem wiersza poleceń, które es una utilidad de línea de comandos que это утилита командной строки, которая

will allow you to encrypt your mailing будет|позволять|тебе|инфинитивный|шифровать|твой|почтовый ||||secure your mailing|| (verbo auxiliar futuro)|permitir|tú|a|encriptar|tu|correo umożliwia szyfrowanie korespondencji te permitirá cifrar tu dirección de correo позволит вам зашифровать ваш адрес электронной почты

address and then add it to the github dirección|y|luego|agrégala|eso|a|el|github a następnie dodać go do github y luego agregarla al repositorio de github и затем добавить его в репозиторий github,

repo so I can mail you a sticker in my repo, więc mogę wysłać ci naklejkę w moim para que pueda enviarte una etiqueta en mi чтобы я мог отправить вам наклейку по почте.

current working directory I just have an текущий|рабочий|каталог|я|только|имею|один directorio_actual|de_trabajo|directorio|yo|solo|tengo|un bieżący katalog roboczy Mam tylko plik directorio de trabajo actual Solo tengo un текущий рабочий каталог, у меня есть только

index J s file and a package.json I'll индекс|J|s|файл|и|один|||я буду índice|J|s|archivo|y|un|||yo plik index Js i plik package.json, który będę archivo index J s y un package.json Voy a файл index.js и package.json. Я

go ahead and click on the source control идти|вперед|и|нажимать|на|на|исходный|контроль adelante|y|haz|clic|en|el|control|de fuente go ahead and click on the source control śmiało i kliknij kontrolę źródła adelante y hacer clic en el control de fuente продолжу и нажму на иконку контроля версий,

icon and you'll notice it says no source значок|и|ты будешь|замечать|это|говорит|нет|исходный |||||||No source found. icono|y|tú|notarás|eso|dice|ninguna|fuente i zauważysz, że nie ma źródła icono y notarás que dice sin fuente и вы заметите, что написано "нет источника".

control provider is registered the first контроль|провайдер|есть|зарегистрирован|первый| control|proveedor|está|registrado|el|primero dostawca kontroli jest zarejestrowany jako pierwszy el proveedor de control está registrado primero поставщик управления зарегистрирован первым

thing we'll need to do is initialize get вещь|мы будем|нужно|чтобы|сделать|есть|инициализировать|получить ||||||Set up get| cosa|nosotros|necesitaremos|que|hacer|es|inicializar|obtener thing we'll need to do is initialize get rzecz, którą musimy zrobić, to zainicjować get lo que necesitaremos hacer es inicializar get вещью, которую нам нужно сделать, является инициализация получения

to start tracking our files and there чтобы|начать|отслеживание|наших|файлов|и|там para|empezar|rastrear|nuestros|archivos|y|allí aby rozpocząć śledzenie naszych plików i tam para comenzar a rastrear nuestros archivos y hay чтобы начать отслеживать наши файлы, и есть

are two ways we can do this we can |||мы|можем|||| hay|dos|maneras|nosotros|podemos|hacer|esto|nosotros|podemos Możemy to zrobić na dwa sposoby dos formas en que podemos hacer esto podemos два способа, как мы можем это сделать, мы можем

either do it directly in vs code or we либо|делать|это|напрямую|в|vs|коде|или|мы o|haz|eso|directamente|en|vs|código|o|nosotros albo zrób to bezpośrednio w kodzie vs lub we hazlo directamente en vs code o nosotros либо сделайте это напрямую в vs code, либо мы

can do it from the command line you можем|делать|это|из|командной|строки||ты poder|hacer|eso|desde|la|línea de comandos|línea|tú możesz to zrobić z wiersza poleceń podemos hacerlo desde la línea de comandos tú можем сделать это из командной строки, вы

should definitely try to memorize all следует|определенно|пытаться|инфинитив|запомнить|все deberías|definitivamente|intentar|a|memorizar|todo zdecydowanie należy spróbować zapamiętać wszystkie definitivamente deberías intentar memorizar todos определенно должны попытаться запомнить все

the commands I show you in this video команды|команды|я|показываю|тебе|в|этом|видео los|comandos|yo|muestro|a ti|en|este|video polecenia, które pokazuję w tym filmie los comandos que te muestro en este video команды, которые я показываю вам в этом видео

but it's often faster to run them with но|это|часто|быстрее|чтобы|запускать|их|с pero|es|a menudo|más rápido|que|correr|ellos|con ale często szybciej jest uruchomić je za pomocą pero a menudo es más rápido ejecutarlos con но часто их быстрее запускать с

vs codes integrated tooling and I'll против|кода|интегрированным|инструментами|и|я буду vs|códigos|integrados|herramientas|y|yo vs kody zintegrowanego oprzyrządowania i będę las herramientas integradas de vs code y yo интегрированными инструментами vs code, и я

show you both methods throughout this muestra|tú|ambos|métodos|a lo largo de|esto pokażę ci obie metody w tym te mostraré ambos métodos a lo largo de este покажу вам оба метода на протяжении этого

video so first we'll go ahead and run video so first we'll go ahead and run wideo, więc najpierw pójdziemy do przodu i uruchomimy video así que primero procederemos a ejecutar видео, так что сначала мы запустим

get an it from the command line and получить|его|это|из|командной||строки|и obtener|un|eso|de|la|comando|línea|y pobrać go z wiersza poleceń i obtén un it desde la línea de comandos y получите это из командной строки и

you'll see that initializes an empty git ты увидишь|увидишь|что|инициализирует|пустой|пустой|git |ver|que|inicializa|un|vacío|git you'll see that initializes an empty git zobaczysz, że inicjalizuje pusty git verás que inicializa un git vacío вы увидите, что инициализирует пустой git

repository in our current working ||наши|| repositorio|en|nuestro|actual|trabajo repozytorium w naszej bieżącej pracy en nuestro directorio de trabajo actual репозиторий в нашем текущем рабочем

directory you'll notice it adds our two katalog zauważysz, że dodaje nasze dwa notarás que agrega nuestros dos каталоге, вы заметите, что он добавляет наши два

files to the changes list in the source файлы|к|изменениям|изменения|список|в|источнике|исходный код archivos|a|la|cambios|lista|en|la|fuente pliki do listy zmian w źródle archivos a la lista de cambios en la fuente файлы в список изменений в источнике

control panel so this tells us which контроль|панель|так|это|говорит|нам|которые panel|de control|así que|esto|nos dice|a nosotros|cuál panel sterowania, więc to mówi nam, który panel de control, así que esto nos dice cuáles панели управления, так что это говорит нам, какие

files have changed since the previous файлы|имеют|изменились|с тех пор как|предыдущего|предыдущий los archivos|han|cambiado|desde|el|anterior pliki zmieniły się od poprzedniego archivos han cambiado desde la anterior файлы изменились с предыдущего

snapshot of the source code because снимок|из|исходного|код||потому что instantánea|del|el|código|fuente|porque migawka kodu źródłowego, ponieważ instantánea del código fuente porque снимка исходного кода, потому что

we're in a brand-new project both these мы|в|новый|||проект|оба|эти |en|un|||proyecto|ambos|estos estamos en un proyecto completamente nuevo ambos мы находимся в совершенно новом проекте, оба эти

files have a u icon файлы|имеют|один|u|иконка |||under review| archivos|tienen|un|u|icono pliki mają ikonę u los archivos tienen un ícono de u файла имеют иконку u

which means untracked or that their который|означает|неотслеживаемый|или|что|их cuál|significa|no rastreado|o|que|su co oznacza, że nie są śledzone lub że ich lo que significa no rastreado o que son что означает, что они не отслеживаются или что их

newly created on this working directory недавно|созданные|в|этот|рабочий|каталог recién|creado|en|este|trabajo|directorio nowo utworzony w tym katalogu roboczym nuevamente creados en este directorio de trabajo только что создали в этом рабочем каталоге

now a quick pro tip when you initialize теперь|один|быстрый|профессиональный|совет|когда|ты|инициализируешь ahora|un|rápido|profesional|consejo|cuando|tú|inicializas now a quick pro tip when you initialize teraz krótka wskazówka podczas inicjalizacji ahora un consejo rápido cuando lo inicializas Теперь быстрый совет: когда вы инициализируете

it get repo it creates a hidden get это|получать|репозиторий|это|создает|один|скрытый|получать eso|obtener|repositorio|eso|crea|un|oculto|obtener get repo tworzy ukryty get al obtener el repositorio crea un git oculto репозиторий, он создает скрытую папку .git

directory if you want to completely |если|ты|хочешь|чтобы|полностью directorio|si|tú|quieres|a|completamente katalog, jeśli chcesz całkowicie si quieres desinicializarlo completamente Если вы хотите полностью

uninitialized it or remove it from your o eliminarlo de tu деинициализировать его или удалить его из вашего

project you can just remove that проект|ты|можешь|просто|удалить|это proyecto|tú|puedes|simplemente|quitar|eso projekt można po prostu usunąć proyecto que puedes simplemente eliminar eso проект, вы можете просто удалить это

directory but be careful with that one директория|но|будь|осторожен|с|тем|одним directorio|pero|ten|cuidado|con|ese|uno ale należy być ostrożnym z tym katalogiem directorio pero ten cuidado con ese каталог, но будьте осторожны с этим

now a second pro tip is to install the теперь|один|второй|профессиональный|совет|есть|чтобы|установить|тот ahora|un|segundo|profesional|consejo|es|que|instalar|el Drugą profesjonalną wskazówką jest zainstalowanie ahora un segundo consejo profesional es instalar el теперь второй совет - установить

get lense plugin for vs code it embeds получить|линза|плагин|для|vs|код|он|встраивает obtener|lente|complemento|para|vs|código|eso|incrusta Pobierz wtyczkę lense dla vs kod, który osadza plugin get lense para vs code, se incrusta плагин get lense для vs code, он встраивает

all kinds of useful information directly все|виды|полезной|полезной|информации|напрямую toda|clase|de|útil|información|directamente wszelkiego rodzaju przydatne informacje bezpośrednio todo tipo de información útil directamente все виды полезной информации напрямую

in your code and gives you this extra в|вашем|коде|и|дает|вам|эту|дополнительную en|tu|código|y|te da|a ti|esto|extra w twoim kodzie i daje ci to dodatkowe en tu código y te da este extra в вашем коде и предоставляет вам эту дополнительную

panel where you can easily navigate your панель|где|вы|можете|легко|навигировать|вашу panel|donde|tú|puedes|fácilmente|navegar|tu panel, w którym można łatwo nawigować panel donde puedes navegar fácilmente por tu панель, где вы можете легко просматривать вашу

git history the next important thing git|историю|следующая|следующая|важная|вещь git|historia|la|siguiente|importante|cosa git history the next important thing historia git kolejną ważną rzeczą historial de git la siguiente cosa importante историю git, следующая важная вещь

when setting up a github repo is to когда|настройка|вверх|один|github|репозиторий|есть|чтобы cuando|configurando|arriba|un|github|repositorio|es|para podczas konfigurowania repozytorium github to al configurar un repositorio de github es при настройке репозитория github нужно

create a git ignore file you don't want создать|один|git|игнор|файл|ты|не|хочешь crea|un|git|archivo de ignorar|archivo|tú|no|quieres create a git ignore file you don't want utworzyć plik git ignore, którego nie chcesz crear un archivo git ignore que no quieras создать файл git ignore, чтобы исключить то, что вы не хотите

everything in source control for example все|в|исходный|контроль|для|пример todo|en|control|control|por|ejemplo na przykład wszystko w kontroli źródła todo en control de versiones, por ejemplo включать в систему контроля версий, например,

you definitely want to keep out any ты|определенно|хочешь|чтобы|держать|вне|любые tú|definitivamente|quieres|a|mantener|fuera|cualquier Zdecydowanie należy unikać definitivamente quieres mantener fuera cualquier вы определенно хотите исключить любые

sensitive private API keys and you'll чувствительные|частные|API|ключи|и|вы будете sensibles|privadas|API|llaves|y|tú wrażliwe prywatne klucze API i będziesz claves API privadas sensibles y querrás чувствительные приватные API ключи, и вы

also want to filter out the source code также|хотеть|чтобы|фильтровать|наружу|исходный|код| también|quiero|a|filtrar|fuera|el|código|fuente chcę również odfiltrować kod źródłowy también filtrar el código fuente также захотите отфильтровать исходный код

for your dependencies like your node por|tus|dependencias|como|tu|nodo dla zależności takich jak węzeł de tus dependencias como tus módulos для ваших зависимостей, таких как ваши узлы

modules and any unnecessary log files moduły i wszelkie niepotrzebne pliki dziennika de nodo y cualquier archivo de registro innecesario модули и любые ненужные файлы журналов

git will automatically look at this get гит|будет|автоматически|смотреть|на|этот|получить git|(verbo auxiliar futuro)|automáticamente|mirará|a|esto|obtener git will automatically look at this get git automatycznie spojrzy na to get git mirará automáticamente este get git автоматически будет смотреть на этот get

ignore file and filter out anything that игнорировать|файл|и|фильтровать|наружу|все|что ignora|archivo|y|filtra|fuera|cualquier cosa|que zignorować plik i odfiltrować wszystko, co ignorar archivo y filtrará cualquier cosa que игнорировать файл и фильтровать все, что

matches the file path or pattern you can совпадает|с|файл|путь|или|шаблон|ты|можешь coincide|la|archivo|ruta|o|patrón|tú|puedes pasuje do ścieżki pliku lub wzorca, który można coincida con la ruta del archivo o patrón que puedes соответствует пути к файлу или шаблону, который вы можете

create this file manually but the pro создать|этот|файл|вручную|но|это|профессионал crea|este|archivo|manualmente|pero|el|pro create this file manually but the pro utworzyć ten plik ręcznie, ale pro crear este archivo manualmente pero el pro создать этот файл вручную, но про

way to do it is to use AVS code plug-in способ|чтобы|делать|это|есть|чтобы|использовать|AVS|код|| manera|de|hacerlo|eso|es|que|usar|AVS|código|| Sposobem na to jest użycie wtyczki kodu AVS la forma de hacerlo es usar el complemento de código AVS способ сделать это - использовать плагин кода AVS

to automatically generate all the чтобы|автоматически|генерировать|все| para|automáticamente|generar|todos|los aby automatycznie wygenerować wszystkie para generar automáticamente todos los чтобы автоматически сгенерировать все

defaults for your environment so that ||||так|что valores_por_defecto|para|tu|entorno|para_que|que domyślne dla danego środowiska, tak aby valores predeterminados para tu entorno para que значения по умолчанию для вашей среды, чтобы

saves us a bunch of time and now we can экономит|нам||куча||времени|и|теперь|мы|можем ahorra|nos|un|montón|de|tiempo|y|ahora|nosotros|podemos oszczędza nam mnóstwo czasu i teraz możemy nos ahorre un montón de tiempo y ahora podemos это сэкономило нам кучу времени, и теперь мы можем

move on to the next concept of how do I двигаться|дальше|к|следующему|концепту||о|как|делать|я avanzar|en|hacia|el|siguiente|concepto|de|cómo|hago|yo przejść do następnej koncepcji, jak mogę pasar al siguiente concepto de cómo hago yo перейдем к следующей концепции, как мне

take a snapshot or a commit of my взять|один|снимок|или|один|коммит|из|моего tomar|una|instantánea|o|un|compromiso|de|mi take a snapshot or a commit of my zrobić migawkę lub zatwierdzenie mojego tomar una instantánea o un commit de mi сделать снимок или коммит моего

current working directory a commit is текущий|рабочий|каталог|один|коммит|есть directorio_actual|de_trabajo|directorio|un|commit|es bieżącym katalogiem roboczym jest directorio de trabajo actual un commit es текущего рабочего каталога, коммит — это

like a page in a history book that has как|одна|страница|в|одной|истории|книге|которая|имеет como|una|página|en|un|historia|libro|que|tiene jak strona w książce historycznej, która como una página en un libro de historia que tiene как страница в книге истории, которая имеет

its own unique ID and can't ever be его|собственный|уникальный|идентификатор|и|не может|когда-либо|быть su|propio|único|identificación|y|no puede|nunca|ser własny unikalny identyfikator i nigdy nie może być su propio ID único y nunca puede ser у него есть уникальный идентификатор, который никогда не может быть

changed without get knowing about it the изменённым|без|получать|знание|о|этом| cambiado|sin|que|saber|sobre|ello|el zmieniono bez wiedzy użytkownika cambiado sin que nos enteremos de ello. La изменен без нашего ведома. Первое, что мы хотим сделать, это подготовить

first thing we want to do is stage the первым|делом|мы|хотим|чтобы|сделать|есть|подготовить|те primera|cosa|nosotros|queremos|a|hacer|es|preparar|la Pierwszą rzeczą, którą chcemy zrobić, jest ustawienie primera cosa que queremos hacer es preparar los файлы, которые мы хотим включить в это.

files that we want included in this файлы|которые|мы|хотим|включённые|в|это archivos|que|nosotros|queremos|incluidos|en|esto pliki, które chcemy uwzględnić w tym archivos que queremos incluir en esto.

commit use stage files by running git коммит|использовать|подготовить|файлы|путем|запуская|git confirmar|usar|preparar|archivos|ejecutando|corriendo|git commit use stage files by running git confirma el uso de archivos de etapa ejecutando git зафиксируйте использование файлов стадии, запустив git

add and you can add individual files or добавь|и|ты|можешь|добавлять|отдельные|файлы|или agrega|y|tú|puedes|agregar|individuales|archivos|o agrega y puedes agregar archivos individuales o добавьте, и вы можете добавить отдельные файлы или

the entire working directory by just весь|целый|рабочий|каталог|путем|просто el|directorio|de trabajo|de trabajo|por|solo todo el directorio de trabajo simplemente весь рабочий каталог, просто

using a period and BS code makes it usando un punto y el código BS lo hace используя точку, и BS код делает это

really easy to stage or unstaged files действительно|легко|чтобы|подготовить|или|не подготовленные|файлы realmente|fácil|a|preparar|o|no preparados|archivos realmente fácil de preparar o deshacer archivos очень легко ставить или убирать файлы из стадии

by just clicking the plus or minus путем|просто|нажимая|на|плюс|или|минус por|solo|haciendo clic|el|más|o|menos simplemente haciendo clic en el más o el menos просто нажав на плюс или минус

button and you can unstaged files from |и|ты|можешь|не подготовленные|файлы|из botón|y|tú|puedes|deshacer el estado|archivos|de botón y puedes deshacer archivos desde кнопку, и вы можете убрать файлы из стадии

the command line by running git reset командной||строки|путем|выполняя|git|сброс la|línea de comandos|línea|al|ejecutar|git|reset the command line by running git reset la línea de comandos ejecutando git reset с помощью командной строки, выполнив git reset

but be careful with this one because но|будьте|осторожны|с|этим|одним|потому что pero|ten|cuidado|con|este|uno|porque pero ten cuidado con este porque но будьте осторожны с этим, потому что

there's a hard flag and if you use it it есть|один|жесткий|флаг|и|если|вы|используете|его| hay|una|dura|bandera|y|si|tú|usas|eso|eso hay una bandera dura y si la usas есть жесткий флаг, и если вы его используете,

will not only unstaged the files but будет|не|только|отменит индексацию|файлы||но (verbo auxiliar futuro)|no|solo|desestabilizará|los|archivos|sino que no solo desestará los archivos sino это не только уберет файлы из индекса, но и

delete them forever so if we run that удалит|их|навсегда|так что|если|мы|запустим|это elimina|los|para siempre|así que|si|nosotros|ejecutamos|eso que los eliminará para siempre así que si ejecutamos eso удалит их навсегда, так что если мы запустим это

one right now on our new project it will uno ahora mismo en nuestro nuevo proyecto lo hará один прямо сейчас по нашему новому проекту это будет

delete everything and we'll have to eliminará todo y tendremos que удалить все, и нам придется

start over from scratch and with that empezar de nuevo desde cero y con eso начать с нуля, и с этим

I'll give you one of my most important te daré uno de mis más importantes я дам вам один из моих самых важных

pro tips which is to make many small профессиональные|советы|которые|есть|чтобы|делать|много|маленьких consejos|útiles|los cuales|es|para|hacer|muchos|pequeños consejos profesionales que consisten en hacer muchos pequeños профессиональные советы, которые заключаются в том, чтобы делать много мелких

commits this practice will not only help коммитов|эта|практика|будет|не|только|поможет comete|esta|práctica|(verbo auxiliar futuro)|no|solo|ayudará commits, esta práctica no solo ayudará a коммитов. Эта практика не только поможет

prevent catastrophic losses of code but предотвратить|катастрофические|потери|кода||но prevenir|catastróficas|pérdidas|de|código|pero prevenir pérdidas catastróficas de código, sino que предотвратить катастрофические потери кода, но

it will also just make your code changes это|будет|также|просто|сделает|ваши|код|изменения eso|(verbo auxiliar futuro)|también|solo|hará|tus|código|cambios también hará que tus cambios de código она также просто упростит ваши изменения кода.

a lot easier to follow now we're ready много|легче|легче|чтобы|следовать|сейчас|мы готовы|готовы una|mucho|más fácil|a|seguir|ahora|estamos|listos mucho más fácil de seguir ahora que estamos listos Теперь это намного проще следовать, когда мы готовы

for our first command the first thing we для|нашего|первого|команды|первое|первое|дело|мы para|nuestro|primer|comando|la|primera|cosa|nosotros para nuestro primer comando lo primero que Для нашей первой команды первое, что мы

want to do is run git add to stage our |чтобы|||||||подготовить|наши quiero|a|hacer|es|ejecutar|git|agregar|para|preparar|nuestro want to do is run git add to stage our queremos hacer es ejecutar git add para preparar nuestros хотим сделать, это выполнить git add, чтобы подготовить наши

files then we run git commit with the EM |затем|мы|запускаем|git|commit|с|EM| archivos|luego|nosotros|ejecutamos|git|commit|con|el|EM files then we run git commit with the EM archivos luego ejecutamos git commit con el EM файлы, затем мы выполняем git commit с EM

flag to add a descriptive message about флаг|чтобы|добавить|одно|описательное|сообщение|о bandera|para|agregar|un|descriptivo|mensaje|sobre flag to add a descriptive message about bandera para agregar un mensaje descriptivo sobre флаг для добавления описательного сообщения о

what we changed in our code a pro tip что|мы|изменили|в|нашем|коде|один|профессиональный|совет qué|nosotros|cambiamos|en|nuestro|código|un|pro|consejo lo que cambiamos en nuestro código un consejo profesional том, что мы изменили в нашем коде, совет профессионала

here is to use an emoji to get more здесь|есть|чтобы|использовать|одно|эмодзи|чтобы|получить|больше aquí|está|para|usar|un|emoji|para|obtener|más aquí es usar un emoji para obtener más здесь заключается в том, чтобы использовать эмодзи, чтобы получить больше

github stars on your project because гитхаб|звёзд|на|вашем|проекте|потому что github|estrellas|en|tu|proyecto|porque estrellas de github en tu proyecto porque звёзд на GitHub для вашего проекта, потому что

github stars are the best way to tell las estrellas de github son la mejor manera de decir Звезды на GitHub - это лучший способ узнать

how good a software project really is qué tan bueno es realmente un proyecto de software насколько хорош на самом деле программный проект

and you can also make your comments y también puedes hacer tus comentarios и вы также можете сделать свои комментарии

multi-line to provide a summary on the multilínea para proporcionar un resumen sobre el многострочными, чтобы предоставить резюме о

first line and then a more descriptive первая|строка|и|затем|более||описательная primera|línea|y|luego|una|más|descriptiva first line and then a more descriptive primera línea y luego una descripción más detallada первая строка, а затем более описательная

set of changes on the second line you'll набор|изменений|изменений||||| conjunto|de|cambios|en|la|segunda|línea|tú conjunto de cambios en la segunda línea notarás que набор изменений на второй строке, вы

notice that that takes the files out of eso saca los archivos de los cambios en etapa y заметите, что это убирает файлы из

the stage changes and gives us a clean nos da un estado limpio изменений на стадии и дает нам чистый

working directory and it will tell us рабочий|каталог|и|это|будет|сказать|нам directorio_de_trabajo|directorio|y|eso|(verbo auxiliar futuro)|dirá|nosotros directorio de trabajo y nos dirá рабочий каталог, и он скажет нам

exactly which files were created точно|какие|файлы|были|созданы exactamente|cuáles|archivos|fueron|creados exactamente qué archivos fueron creados точно, какие файлы были созданы

modified or deleted as part of this изменены|или|удалены|как|часть|из|этого modificado|o|eliminado|como|parte|de|esto modificados o eliminados como parte de esto изменены или удалены в рамках этого

commit now if we go into our git lens коммит|сейчас|если|мы|идем|в|наш|git|lens ||||||||Git extension tool confirma|ahora|si|nosotros|vamos|a|nuestro|git|lente commit now if we go into our git lens el compromiso ahora si entramos en nuestro git lens коммита, теперь, если мы зайдем в наш git lens

plug-in you can see we have a history of ||ты|можешь|видеть|мы|имеем|одну|историю|о ||tú|puedes|ver|nosotros|tenemos|una|historia|de complemento, puedes ver que tenemos un historial de плагин, вы можете видеть, что у нас есть история

code changes that we can navigate код|изменения|которые|мы|можем|навигировать código|cambios|que|nosotros|podemos|navegar cambios de código que podemos navegar изменений кода, по которой мы можем перемещаться

through and see exactly which lines of через|и|видеть|точно|какие|строки|кода a través de|y|ver|exactamente|cuáles|líneas|de y ver exactamente qué líneas de и видеть, какие именно строки кода

code changed up until this point we've código cambiaron hasta este punto hemos изменились до этого момента.

been working on what's called the master был|работая|над|что называется|называется|этот|мастер estado|trabajando|en|lo que se llama|llamado|el|maestro he estado trabajando en lo que se llama la rama maestra работал над тем, что называется мастер

branch which is like the main trunk on ветка|которая|есть|как|главный|основной|ствол|на ||||||Main stem| rama|la cual|es|como|el|principal|tronco|en que es como el tronco principal en ветвь, которая похожа на основной ствол на

the tree that contains the actual source дереве||который|содержит|фактический|исходный|код ||||the specific|| el|árbol|que|contiene|la|actual|fuente el árbol que contiene el código fuente real дереве, который содержит фактический исходный

code that you're releasing and que estás liberando y код, который вы выпускаете и

delivering to your customers so what доставляя|к|вашим|клиентам|так|что entregando|a|tus|clientes|entonces|qué entregando a tus clientes, ¿qué pasa? доставка вашим клиентам, так что

happens when you have a stable code base происходит|когда|вы|имеете|стабильную||код|базу sucede|cuando|tú|tienes|una|estable|código|base ¿qué sucede cuando tienes una base de código estable? что происходит, когда у вас стабильная кодовая база

and you need to fix a bug or you want to и|вы|нужно|чтобы|исправить|ошибку||или|вы|хотите|чтобы y|tú|necesitas|que|arreglar|un|error|o|tú|quieres|que y necesitas arreglar un error o quieres и вам нужно исправить ошибку или вы хотите

experiment with a new feature what |||||что experimentar|con|una|nueva|característica|qué experimentar con una nueva función, ¿qué? экспериментировать с новой функцией, что

you'll typically do in git is create a ты будешь|обычно|делать|в|git|это|создать|один |típicamente|harás|en|git|es|crear|un you'll typically do in git is create a lo que típicamente harás en git es crear un обычно в git вы создадите

new branch based on your most recent новый|ветка|основанная|на|твоем|самый|недавний nueva|rama|basada|en|tu|más|reciente nueva rama basada en tu más reciente новую ветку на основе вашего самого последнего

commit and go and fix the bug on the коммит|и|идти|и|исправить|этот|ошибка|на| comprometerse|y|ve|y|arregla|el|error|en|el commit y ir a arreglar el error en la коммита и пойдете исправлять ошибку в

separate branch and then merge it back отдельной|ветке|и|затем|объединить|ее|обратно separa|rama|y|luego|une|la|de nuevo rama separada y luego fusionarlo de nuevo отдельной ветке, а затем объедините её обратно

into the master branch once it's ready в|главный|мастер|ветка|как только|это готово| en|la|rama maestra|rama|una vez que|esté|lista en la rama principal una vez que esté lista в основную ветку, как только она будет готова

this means we can have multiple это|означает|мы|можем|иметь|несколько esto|significa|nosotros|podemos|tener|múltiples esto significa que podemos tener múltiples это означает, что у нас может быть несколько

developers working on the same code base разработчиков|работающих|на|той|той же|код|база desarrolladores|trabajando|en|la|misma|código|base desarrolladores trabajando en la misma base de código разработчиков, работающих над одной кодовой базой

on their own branches without stepping на|их|собственных|ветках|без|вмешательства ||||Not using|placing their feet en|sus|propias|ramas|sin|pisar en sus propias ramas sin interferir в своих собственных ветках, не мешая друг другу

on each other's toes you can see all the на|каждый|друг друга|пальцы|ты|можешь|видеть|все|эти ||each other's|steps on toes||||| en|cada|de los otros|dedos de los pies|tú|puedes|ver|todo|los en los pies del otro puedes ver todas las на ногах друг друга вы можете увидеть все

current branches in your codebase by текущие|ветки|в|твоем|кодовой базе|с помощью ramas actuales|ramas|en|tu|código|por ramas actuales en tu base de código mediante текущие ветки в вашей кодовой базе с помощью

running git branch which for us would выполнения|git|ветка|который|для|нас|бы ejecutando|git|rama|cuál|para|nosotros|sería running git branch which for us would la ejecución de git branch que para nosotros sería выполнения git branch, что для нас будет

just be the master you can switch ||||ты|можешь|переключаться solo|sé|el|maestro|tú|puedes|cambiar simplemente la master puedes cambiar просто мастер, вы можете переключиться

between branches and get by running the между|ветвями|и|получить|с помощью|запуска|это entre|ramas|y|conseguir|por|corriendo|el entre ramas y pasar corriendo el между ветвями и пробежать мимо

check out command in our case the branch проверить|вне|команда|в|нашем|случае|эта|ветка revisa|fuera|comando|en|nuestro|caso|la|rama comando de verificación en nuestro caso la rama проверьте команду в нашем случае ветка

hasn't been created yet so we'll go не|была|создана|еще|так что|мы будем|идти no|ha|creado|todavía|así que|nosotros iremos|a aún no ha sido creada así que procederemos еще не была создана, так что мы

ahead and create it by using the be flag вперед|и|создать|ее|с помощью|использования|флага|быть| adelante|y|crea|eso|usando|usando|la|ser|bandera a crearla usando la bandera be продолжим и создадим ее, используя флаг be

and we'll give it a name of feature so и|мы будем|давать|это|одно|имя|из|функция|так y|nosotros|daremos|eso|un|nombre|de|característica|entonces y le daremos un nombre de característica así и мы дадим этому имя функции, так

now any code that we write in here will теперь|любой|код|который|мы|пишем|в|здесь|будет ahora|cualquier|código|que|nosotros|escribamos|aquí|aquí|va a ahora cualquier código que escribamos aquí será что теперь любой код, который мы напишем здесь, будет

be isolated to this branch now we can быть|изолированным|к|этой|ветке|теперь|мы|можем estar|aislados|a|esta|rama|ahora|nosotros|podemos aislado a esta rama ahora podemos изолирован на этой ветке, теперь мы можем

fast forward into the future and you'll быстро|вперед|в|будущее|будущее|и|ты будешь rápido|adelante|en|el|futuro|y|tú (verbo auxiliar futuro) avanzar rápidamente hacia el futuro y tú перемотать вперед в будущее, и вы

see I've written a bunch of code in this смотри|я|написал|много|куча|из|кода|в|этот mira|he|escrito|un|montón|de|código|en|esto mira, he escrito un montón de código en esta видишь, я написал кучу кода в этом

branch so currently this code is just ветке|так|в настоящее время|этот|код|есть|просто rama|así que|actualmente|este|código|está|solo rama, así que actualmente este código está simplemente ветке, так что в данный момент этот код просто

sitting in the working directory so I сидит|в|рабочем|рабочем|каталоге|так|я sentado|en|el|trabajo|directorio|así que|yo en el directorio de trabajo, así que лежит в рабочем каталоге, так что мне

need to commit it to this feature branch нужно|чтобы|закоммитить|его|в|эту|функциональную|ветку necesito|que|comprometer|lo|a|esta|característica|rama necesito confirmarlo en esta rama de características нужно зафиксировать его в этой ветке функции

this time I'll run my commit directly in это|время|я буду|запускать|мой|коммит|напрямую|в esta|vez|yo|ejecutaré|mi|compromiso|directamente|en esta vez ejecutaré mi commit directamente en на этот раз я выполню свой коммит напрямую в

vs code and then we can switch back to в|код|и|затем|мы|можем|переключиться|обратно|на vs|código|y|luego|nosotros|podemos|cambiar|de vuelta|a vs code y luego podemos volver a vs code, а затем мы можем вернуться к

the master branch and you'll see that главный|мастер|ветка|и|ты увидишь|видеть|что la|rama maestra|rama|y|verás que|verás|eso la rama principal y verás que главной ветке, и вы увидите, что

all of our new files disappear and we're все|из|наших|новых|файлов|исчезают|и|мы todos|de|nuestros|nuevos|archivos|desaparecen|y|estamos todos nuestros nuevos archivos desaparecen y estamos все наши новые файлы исчезнут, и мы

back to the original state on the master назад|к|оригинальному|оригинальному|состоянию|на|мастере|ветке de regreso|a|el|original|estado|en|el|maestro volver al estado original en el maestro вернуться к исходному состоянию на главной ветке

at this point I'd like to point out that в|этот|момент|я бы|хотел|чтобы|указать|на|что ||||||moment, mention|| en|este|punto||señalar|a|señalar|señalar|que en este punto me gustaría señalar que в данный момент я хотел бы отметить, что

you don't necessarily have to commit ты|не|обязательно|должен|чтобы|зафиксировать tú|no|necesariamente|tienes que|que|comprometerte no necesariamente tienes que hacer commit вам не обязательно коммитить

your files before switching to the твои|файлы|перед|переключением|на| tus|archivos|antes de|cambiar|a|el de tus archivos antes de cambiar a el ваши файлы перед переключением на

master branch there's a another главный|ветка|есть|один|другой rama maestra|rama|hay|una|otra la rama principal hay otro ветка master, есть еще один

mechanism to save your work in progress механизм|чтобы|сохранить|вашу|работу|в|процессе mecanismo|para|guardar|tu|trabajo|en|progreso mecanismo para guardar tu trabajo en progreso механизм для сохранения вашей работы в процессе

if you're working on something that's если|ты||над|чем-то|который si|estás|trabajando|en|algo|eso está si estás trabajando en algo que está если вы работаете над чем-то, что

half-finished medio|terminado a medio terminar наполовину завершено

or experimental you can use a command или|экспериментальный|ты|можешь|использовать|один|команду o|experimental|tú|puedes|usar|un|comando o experimental puedes usar un comando или экспериментальный, вы можете использовать команду

called git stash this will save all of называемую|git|stash|это|будет|сохранить|все|из |version control tool|temporarily store changes||||| llamado|git|stash|esto|va a|guardar|todos|de called git stash this will save all of llamado git stash esto guardará todos tus под названием git stash, это сохранит все ваши

your current changes without committing твои|текущие|изменения|без|коммита tus|actuales|cambios|sin|comprometerte cambios actuales sin confirmarlos текущие изменения без их коммита

them and then revert back to a clean их|и|затем|вернуться|обратно|к|чистой| ellos|y|luego|revertir|de nuevo|a|un|limpio y luego volverá a un estado limpio и затем вернется к чистому состоянию

working directory then later at some рабочий|каталог|затем|позже|в|некоторый directorio_de_trabajo|directorio|luego|más tarde|en|algunos directorio de trabajo y luego más tarde en algún рабочий каталог, а затем позже, в какой-то момент в будущем, когда вы захотите вернуться к работе, вы можете либо извлечь, либо применить изменения из этого хранилища к вашему

point in the future when you want to get момент|в|будущем|будущем|когда|ты|хочешь|чтобы|вернуться punto|en|el|futuro|cuando|tú|quieres|a|obtener punto en el futuro cuando quieras volver a точке в будущем, когда вы захотите получить

back to work you can either pop or apply назад|к|работе|ты|можешь|либо|извлечь|или|применить ||||||quickly return|| de regreso|al|trabajo|tú|puedes|o|estallar|o|aplicar trabajar puedes ya sea aplicar o extraer возврат к работе, вы можете либо извлечь, либо применить

the changes in that stash to your изменения|изменения|в|тот|хранилище|к|твоему los|cambios|en|ese|reserva|a|tu the changes in that stash to your los cambios de ese stash a tu изменения из этого хранилища к вашему

current working directory so kind of текущий|рабочий|каталог|так|вид|из directorio_actual|de_trabajo|directorio|así|tipo|de directorio de trabajo actual así que un poco текущий рабочий каталог, так что это своего рода

just like it sounds you're stashing away просто|как|это|звучит|ты|прячешь|прочь justo|como|suena|suena|tú estás|escondiendo|lejos just like it sounds you're stashing away justo como suena, estás guardando просто как это звучит, вы прячете

your current changes to be used at some твои|текущие|изменения|чтобы|быть|использованы|в|некоторый tus|actuales|cambios|que|ser|usados|en|algunos tus cambios actuales para ser usados en algún ваши текущие изменения, чтобы использовать их в какой-то

later point позже|момент más tarde|punto punto posterior поздний момент

so stashing is just a handy thing to так|временное сохранение|это|просто|одно|удобное|дело|чтобы |temporarily saving changes|||||| entonces|guardar|es|solo|una|útil|cosa|para so stashing is just a handy thing to así que el stash es solo una cosa útil para поэтому stash - это просто удобная вещь, чтобы

know and an alternative to committing знать|и|альтернатива||к|коммиту saber|y|una|alternativa|a|comprometerse saber y una alternativa a hacer un commit знать и альтернатива коммиту

your code if you're not quite ready to tu|código|si|estás|no|muy|listo|para de tu código si no estás del todo listo para вашего кода, если вы еще не совсем готовы к

do so hacerlo этому

in our case we're all done building our в|нашем|случае|мы|все|закончили|строить|нашу en|nuestro|caso|estamos|todos|listos|construyendo|nuestro en nuestro caso, hemos terminado de construir nuestro в нашем случае мы закончили строить нашу

feature so what we want to do now is функцию|так|что|мы|хотим|чтобы|делать|сейчас|есть característica|entonces|lo que|nosotros|queremos|a|hacer|ahora|es característica, así que lo que queremos hacer ahora es функцию, так что теперь мы хотим

merge that feature into the master объединить|эту|функцию|в|главный|ветка fusiona|esa|característica|en|la|rama principal fusionar esa característica en la rama maestra объединить эту функцию с основной

branch so now we'll go ahead and check ветка|так|сейчас|мы будем|идти|вперед|и|проверять rama|así que|ahora|nosotros|iremos|adelante|y|revisar branch so now we'll go ahead and check así que ahora procederemos a verificar веткой, так что теперь мы продолжим и проверим

out the master branch and then if we run из|артикль|главная|ветка|и|затем|если|мы|запустим fuera|la|maestro|rama|y|luego|si|nosotros|ejecutamos sacar la rama principal y luego si ejecutamos из ветки master, а затем, если мы запустим

get merged with the name of our feature получить|объединённый|с|артикль|имя|нашей|нашей|функции obtener|fusionado|con|el|nombre|de|nuestra|característica get merged with the name of our feature se fusionará con el nombre de nuestra característica объединение с именем нашей функции

branch it will merge the latest commits |это|вспомогательный глагол|объединит|артикль|последние|коммиты rama|ella|(verbo auxiliar futuro)|fusionar|los|últimos|commits la rama se fusionará con los últimos commits ветка, она объединит последние коммиты

from the feature into the master and из|артикль|функции|в|артикль|главную|и de|la|característica|en|el|maestro|y de la característica en la principal y из функции в master и

you'll notice the commit ID is the same ты заметишь|заметить|тот|коммит|ID|есть|тот|тот же |notarás|el|commit|ID|es|el|el mismo notarás que el ID de confirmación es el mismo вы заметите, что ID коммита одинаковый

for both the feature and master branch для|обоих|тот|фича|и|мастер|ветка para|ambas|la|característica|y|maestra|rama para ambas ramas, la de características y la maestra для обеих веток: feature и master

so that was a pretty simple use case but так|что|было|один|довольно|простой|использование|случай|но entonces|eso|fue|un|bastante|simple|uso|caso|pero así que ese fue un caso de uso bastante simple, pero это был довольно простой случай, но

merging is the place you're most likely слияние|есть|то|место|ты|наиболее|вероятно la fusión|es|el|lugar|tú estás|más|probable la fusión es el lugar donde es más probable слияние — это то место, где вы, скорее всего,

to run into problems because you might к|бегать|в|проблемы|потому что|ты|возможно para|correr|con|problemas|porque|tú|podrías encontrar problemas porque podrías столкнуться с проблемами, потому что вы можете

be working on a feature branch and then быть|работающий|на|одной|функции|ветке|и|затем estar|trabajando|en|una|característica|rama|y|luego estar trabajando en una rama de características y luego работать над веткой функции, а затем

the master branch has changes that главная|ветка|ветка|имеет|изменения|которые la|rama maestra|rama|tiene|cambios|que la rama principal tiene cambios que основная ветка имеет изменения, которые

eventually lead to merge conflicts on в конечном итоге|приводят|к|слиянию|конфликты|на eventualmente|llevar|a|conflictos de fusión|conflictos|en eventualmente conducen a conflictos de fusión en в конечном итоге приводят к конфликтам при слиянии

the Left we have a line of code that we этот|левый|мы|имеем|одну|строку|кода|код|который|мы la|izquierda|nosotros|tenemos|una|línea|de|código|que|nosotros a la izquierda tenemos una línea de código que слева у нас есть строка кода, которую мы

implemented in our feature branch and |в|||ветке| put into action||||| implementado|en|nuestra|característica|rama|y implementamos en nuestra rama de características y реализовали в нашей ветке функции, и

then on the right we have a new change ||главной|||||| entonces|a|la|derecha|nosotros|tenemos|un|nuevo|cambio luego a la derecha tenemos un nuevo cambio справа у нас есть новое изменение,

that happened in the master branch while которое|произошло|в|главной|главной|ветке|пока eso|sucedió|en|la|rama maestra|rama|mientras que ocurrió en la rama principal mientras которое произошло в главной ветке, пока

we are working that affected the same мы|есть|работаем|что|затронуло|тот|же nosotros|estamos|trabajando|que|afectó|lo|mismo estamos trabajando en lo que afectó lo mismo мы работаем над тем, что затронуло то же самое

line of code so merging these files is строка|кода|кода|поэтому|слияние|этих|файлов|есть línea|de|código|así que|fusionar|estos|archivos|es línea de código, así que fusionar estos archivos es строка кода, поэтому объединить эти файлы невозможно

not possible out-of-the-box because git не|возможно|||||потому что|git no|posible|||||porque|git not possible out-of-the-box because git no es posible de forma predeterminada porque git из коробки, потому что git

doesn't know which change to use the S не|знает|какой|изменение|чтобы|использовать|то|S no|sabe|qué|cambio|usar|usar|la|S no sabe qué cambio usar el S не знает, какое изменение использовать S

code will give you some options to код|будет|даст|тебе|некоторые|варианты|чтобы código|te dará|dará|a ti|algunas|opciones|para el código te dará algunas opciones para код предоставит вам несколько вариантов для

resolve these conflicts for example you разрешить|эти|конфликты|для|примера|ты resuelve|estos|conflictos|por|ejemplo|tú resolver estos conflictos, por ejemplo, tú разрешения этих конфликтов, например, вы

might accept the current change accept может|принять|текущее|изменение||принять podría|aceptar|el|actual|cambio|aceptar podrías aceptar el cambio actual, aceptar можете принять текущее изменение, принять

the incoming change or Bowl when you run ||||||тебе| el|entrante|cambio|o|tazón|cuando|tú|corres the incoming change or Bowl when you run el cambio entrante o Bowl cuando ejecutes входящее изменение или Bowl, когда вы запускаете

into a conflict you'll want to first в|конфликт|конфликт|ты будешь|хотеть|чтобы|сначала en|un|conflicto|tú|querrás|a|primero en un conflicto querrás primero в конфликт, вам сначала нужно

review it and then a lot of times it's просмотреть|его|и|затем|много|раз|из|раз|это revisa|eso|y|luego|muchas|muchas|de|veces|es revisarlo y luego muchas veces es его просмотреть, а затем часто лучше

best to just abort the merge all ||||файлы|| |||Cancel||| mejor|que|simplemente|abortar|la|fusión|todo mejor simplemente abortar la fusión por completo y просто отменить слияние полностью и

together and fix the files manually I together and fix the files manually I arreglar los archivos manualmente yo исправить файлы вручную я

already mentioned that it's a good уже|упомянул|что|это|хорошая|хорошая ya|mencionado|que|es|un|bueno ya se mencionó que es una buena уже упоминалось, что это хорошая

practice to implement a lot of small практика|чтобы|внедрить|много|много|из|маленьких práctica|para|implementar|un|montón|de|pequeños práctica implementar muchos pequeños практика реализовывать много мелких

commits because it's easier to fix a коммитов|потому что|это|легче|чтобы|исправить|конфликт comete|porque|es|más fácil|a|arreglar|un commits porque es más fácil arreglar un коммитов, потому что легче исправить

conflict on one file as opposed to a ||||как|противоположно|к| |||||"contrasted with"|| conflicto|en|un|archivo|como|opuesto|a|un conflicto en un archivo en lugar de en un конфликт в одном файле, чем в

hundred files then in the previous сотня|файлов|тогда|в|предыдущем| cien|archivos|entonces|en|los|anteriores cien archivos entonces en el anterior сотни файлов тогда в предыдущем

example we merged a feature branch into примере|мы|объединили|одну|функциональную|ветку|в ejemplo|nosotros|fusionamos|una|característica|rama|en example we merged a feature branch into ejemplo fusionamos una rama de características en примере мы объединили ветку функции в

the master branch but a lot of times главную|ветку||но|много|раз|из|раз la|rama maestra|rama|pero|muchas|muchas|de|veces la rama principal pero muchas veces основную ветку, но часто

when you're working on a feature you'll когда|ты||над|одной|функциональностью|ты будешь cuando|estás|trabajando|en|una|característica|tú lo harás cuando estás trabajando en una característica tú когда вы работаете над функцией, вы

want to merge the master branch back хочу|чтобы|объединить||главную|ветку|обратно quiero|a|fusionar|la|rama maestra|rama|de vuelta quiero fusionar la rama principal de nuevo хочу слить ветку master обратно

into your feature to get the latest code в|вашу|фичу|чтобы|получить||последнюю|код en|tu|función|para|obtener|el|último|código en tu función para obtener el código más reciente в вашу функциональную ветку, чтобы получить последний код

because if something on the master потому что|если|что-то|на||главной porque|si|algo|en|el|maestro porque si algo en la rama principal потому что если что-то в ветке master

branch changes it means someone could rama|cambios|eso|significa|alguien|podría cambia, significa que alguien podría изменится, это значит, что кто-то мог

have been writing code in the same place иметь|быть|писать|код|в|том|том же|месте he|estado|escribiendo|código|en|el|mismo|lugar he estado escribiendo código en el mismo lugar я писал код в одном и том же месте

that you're writing code or there might что|ты есть|пишешь|код|или|там|может que|estás|escribiendo|código|o|allí|podría donde estás escribiendo código o podría где вы пишете код, или могут быть

be some breaking changes that changed haber|algunos|cambios|cambios|que|cambiaron haber algunos cambios drásticos que cambiaron некоторые критические изменения, которые изменили

the way your feature is going to work so ||||||||так la|manera|tu|característica|va|a|funcionar|trabajar|así la forma en que va a funcionar tu característica así que способ, которым будет работать ваша функция, так что

if you're working on a feature for an если|ты есть|работаешь|над|одной|функцией|в течение|одного si|estás|trabajando|en|una|característica|para|un si estás trabajando en una función para un если вы работаете над функцией в течение

extended period of time you'll want to длительного|периода|времени|времени|ты будешь|хотеть|чтобы período|de|tiempo|tiempo|tú|querrás|a período de tiempo prolongado querrás длительного времени, вам нужно будет

merge in the master branch any time it объединить|в|главную|ветку|ветку|любое|время|она fusionar|en|la|rama principal|rama|cualquier|momento|lo fusionar en la rama principal cada vez que сливать изменения из главной ветки всякий раз, когда она

changes or maybe once a day if it's a ||возможно|один|в|день|если|это есть|одна cambios|o|tal vez|una vez|al|día|si|es|un cambie o tal vez una vez al día si es un меняется, или, возможно, раз в день, если это

really active repo now there's one last действительно|активный|репозиторий|сейчас|есть|один|последний realmente|activa|repositorio|ahora|hay|una|última realmente activo repositorio ahora hay una última действительно активный репозиторий, теперь осталась одна последняя

pro tip that I want to give you that's профессиональный|совет|который|я|хочу|чтобы|дать|тебе|который consejo|consejo|que|yo|quiero|a|dar|ti|eso es consejo profesional que quiero darte que está профессиональная подсказка, которую я хочу вам дать, это

related to merging a lot of times on a |||одной|много|из||| relacionado|a|fusionar|un|muchas|de|veces|en|una relacionado con la fusión muchas veces en un связано с объединением, много раз на

feature branch you'll create a lot of rama de características crearás mucho de ветке функции вы создадите много

different commits and these commits are diferentes commits y estos commits son разные коммиты, и эти коммиты являются

kind of irrelevant to what's going on in algo irrelevantes para lo que está sucediendo en в некотором роде неуместными для того, что происходит в

the master branch you can see here that la rama principal, puedes ver aquí que главной ветке, вы можете видеть здесь, что

our feature branch is three commits nuestra rama de características tiene tres commits наша ветка с функцией имеет три коммита

ahead of our master branch and it has a впереди|от|нашей|главной|ветки|и|это|имеет|один adelante|de|nuestra|rama maestra|rama|y|ella|tiene|una adelante de nuestra rama principal y tiene un впереди нашей основной ветки, и у нее есть

bunch of comments about adding useless куча|о|комментариев|о|добавлении|бесполезных montón|de|comentarios|sobre|agregar|inútiles montón de comentarios sobre agregar inútiles куча комментариев о добавлении бесполезных

emojis to the code instead of merging эмодзи|в|код||вместо|от|слияния emojis|al|el|código|en lugar|de|fusionar emojis al código en lugar de fusionar эмодзи в код вместо слияния

all of these commits into the master все|из|этих|коммитов|в|главную| todos|de|estos|commits|en|el|master todos estos commits en la rama principal всех этих коммитов в основную ветку

branch you can use the squash flag to ветка|ты|можешь|использовать|этот|squash|флаг|чтобы rama|tú|puedes|usar|la|squash|bandera|para rama puedes usar la bandera squash para ветка, вы можете использовать флаг squash для

squash them down into a single commit squash|их|вниз|в|один|единственный|коммит aplasta|ellos|hacia abajo|en|un|único|compromiso aplastarlos en un solo commit сжатия их в один коммит

when you do your merge this will keep когда|ты|делаешь|твой|слияние|это|будет|сохранять cuando|tú|haces|tu|fusión|esto|va a|mantener cuando hagas tu fusión esto mantendrá когда вы выполняете слияние, это сохранит

the change history nice and concise on изменение|история|история|хорошей|и|краткой|на |||clear||| el|cambio|historia|agradable|y|concisa|en el historial de cambios ordenado y conciso en историю изменений аккуратной и лаконичной на

the master branch but still preserve all этот|мастер|ветка|но|все еще|сохранить|все la|rama maestra|rama|pero|aún|preservar|todo la rama principal pero aún preservar todos главная ветка, но при этом сохранить все

of the original commits on the feature из|оригинальных|оригинальные|коммиты|на|ветке|фича de|los|originales|commits|en|la|característica los commits originales en la rama de оригинальные коммиты в ветке функции

branch itself when you merge with the ветка|сама|когда|ты|сливаешь|с|флагом rama|sí misma|cuando|tú|merges|con|el características cuando fusionas con el самой, когда вы объединяете с

squash flag |флаг calabaza|bandera flag de squash флагом squash

it won't actually change the head commit это|не будет|на самом деле|изменять|этот|главный|коммит eso|no|realmente|cambiará|el|cabeza|compromiso en realidad no cambiará el commit principal это на самом деле не изменит основной коммит

on the master branch so you'll need to на|ветке|мастер|ветка|так что|ты будешь|нужно|чтобы en|la|maestro|rama|así que|tú necesitarás|necesitar|que en la rama principal, así que necesitarás в ветке master, поэтому вам нужно будет

add an additional commit on your own добавить|дополнительный|дополнительный|коммит|на|твоем|собственном añade|un|adicional|compromiso|en|tu|propio agregar un commit adicional por tu cuenta добавить дополнительный коммит самостоятельно

that says something like merged in который|говорит|что-то|вроде|слитый|в eso|dice|algo|como|fusionado|en que diga algo como fusionado en с сообщением вроде "слияние завершено"

feature branch and that gives us a nice особенность|ветка|и|это|дает|нам|один|хороший rama de características|rama|y|eso|nos da|a nosotros|una|agradable rama de características y eso nos da un bonito ветвь функции, и это дает нам хороший

compact change history on the master so компактный|изменение|история|на||главной ветке|так что compactar|cambio|historial|en|el|maestro|así historial de cambios compacto en la rama principal, así que компактный журнал изменений в главной ветке, так что

now that we know how to do all this get теперь|что|мы|знаем|как|чтобы|делать|все|это|получать ahora|que|nosotros|sabemos|cómo|a|hacer|todo|esto|conseguir ahora que sabemos cómo hacer todo esto localmente, veamos cómo podemos hacerlo. теперь, когда мы знаем, как все это сделать локально,

stuff locally let's see how we can do it ||давайте|посмотрим|как|мы|можем|делать|это cosas|localmente|veamos|ver|cómo|nosotros|podemos|hacer|eso давайте посмотрим, как мы можем это сделать.

remotely with github pushing a repo to удаленно|с|github|отправка|репозитория|репозиторий|в remotamente|con|github|empujando|un|repositorio|a de forma remota con github empujando un repositorio a удаленно с github отправляя репозиторий на

github is actually really easy first we github|есть|на самом деле|действительно|легко|сначала|мы github|es|realmente|muy|fácil|primero|nosotros github es en realidad muy fácil primero nosotros github на самом деле очень просто, сначала мы

just need to create a repository on solo|necesito|que|crear|un|repositorio|en solo necesitamos crear un repositorio en просто должны создать репозиторий на

github and then it will give us the github y luego nos dará el github, и тогда он даст нам

commands to run to push our code to this команды|чтобы|запустить|чтобы|отправить|наш|код|в|это comandos|para|ejecutar|a|subir|nuestro|código|a|esto comandos para ejecutar para enviar nuestro código a este команды для выполнения, чтобы отправить наш код в это

location the first command is get remote местоположение|первая||команда|есть|получить|удаленный ubicación|el|primer|comando|es|obtener|remoto lugar el primer comando es obtener remoto место, первая команда - получить удаленный

which connects your local code to this который|соединяет|ваш|локальный|код|с|этим que|conecta|tu|local|código|a|esto que conecta tu código local a este что соединяет ваш локальный код с этим

remote repository and the second command удаленный|репозиторий|и|вторая||команда remoto|repositorio|y|el|segundo|comando repositorio remoto y el segundo comando удаленным репозиторием, а вторая команда

is get push which will actually push the есть|получить|пуш|который|будет|на самом деле|пушить|этот es|obtener|empujar|el cual|va a|realmente|empujar|el es obtener empujar que realmente empujará el это команда push, которая на самом деле отправит

files to the remote repository so if we файлы|в|удаленный||репозиторий|так что|если|мы archivos|al|el|remoto|repositorio|así que|si|nosotros archivo al repositorio remoto, así que si файлы в удаленный репозиторий, так что если мы

run the commands and then refresh the запускаем|команды||и|затем|обновляем|страницу ejecuta|los|comandos|y|luego|actualiza|la ejecutamos los comandos y luego refrescamos la выполним команды, а затем обновим

page we should see our code is now on страницу|мы|должны|видеть|наш|код|есть|теперь|на página|nosotros|deberíamos|ver|nuestro|código|está|ahora|en página, deberíamos ver que nuestro código ahora está en страницу, мы должны увидеть, что наш код теперь на

github that was super easy but the next гитхаб|который|был|супер|легким|но|следующий| github|eso|fue|muy|fácil|pero|el|siguiente github que fue súper fácil pero el siguiente github, это было очень просто, но следующее

thing I want to show you is how to take вещь|я|хочу|чтобы|показать|тебе|есть|как|чтобы|взять cosa|yo|quiero|a|mostrar|ti|es|cómo|a|tomar cosa que quiero mostrarte es cómo tomar что я хочу вам показать, это как взять

someone's existing code fork it create чью-то|существующую|код|форкнуть|его|создать de alguien|existente|código|bifurcar|lo|crear el código existente de alguien, bifurcarlo, crear существующий код кого-то, сделать его форк,

some changes and then create a pull algunos cambios y luego crear un pull внести некоторые изменения и затем создать пулл

request to merge your code into another запрос|чтобы|объединить|ваш|код|в|другой solicitud|a|fusionar|tu|código|en|otro solicitud para fusionar tu código en el proyecto de otra persona запрос на слияние вашего кода с другим

person's project and that's exactly what del persona|proyecto|y|eso es|exactamente|lo que y eso es exactamente lo que проектом человека, и именно это

you'll need to do to get the free ||||||типичный| |necesitarás|que|hacer|para|conseguir|el|gratis necesitarás hacer para obtener el вам нужно сделать, чтобы получить бесплатную

sticker so this is the typical pattern sticker gratis, así que este es el patrón típico наклейку, так что это типичный шаблон

that you'll see when contributing to any что|вы будете|видеть|когда|внося вклад|в|любой que|tú verás|verás|cuando|contribuyendo|a|cualquier que verás al contribuir a cualquier что вы увидите, когда будете вносить вклад в любой

open-source project |исходный|проект ||proyecto proyecto de código abierto проект с открытым исходным кодом

step one is to fork the existing project шаг|один|есть|чтобы|форкнуть|существующий||проект paso|uno|es|que|bifurcar|el|existente|proyecto el primer paso es bifurcar el proyecto existente первый шаг — сделать форк существующего проекта

forking will copy the code from the форкание|будет|копировать|код||из| duplicating|||||| bifurcación|(verbo auxiliar futuro)|copiará|el|código|de|el bifurcar copiará el código del форк скопирует код из

source and make it a repo under your own источник|и|сделай|это|репозиторий||под|твоим|собственным fuente|y|haz|eso|un|repositorio|bajo|tu|propio fuente y conviértelo en un repositorio bajo tu propio источник и сделайте его репозиторием под вашим собственным

github account after you fork it you'll гитхаб|аккаунт|после|ты|форкнешь|это|ты будешь github|cuenta|después de que|tú|bifurques|eso|tú lo harás cuenta de github después de que lo bifurques, querrás аккаунтом github после того как вы его форкнете вы

then want to clone your fork to your затем|хочешь|чтобы|клонировать|твой|форк|на|твой entonces|quieres|a|clonar|tu|bifurcación|a|tu clonar tu bifurcación a tu затем захотите клонировать ваш форк на ваш

local machine so you can start making ||||||делать local|máquina|para que|tú|puedas|empezar|a hacer máquina local para que puedas comenzar a hacer локальный компьютер, чтобы вы могли начать делать

changes to it the git clone command just изменения|к|этому|этот|git|клонировать|команда|просто cambios|a|ello|el|git|clonar|comando|solo cambios en el comando git clone que simplemente изменения в команде git clone просто

allows you to copy the code from a позволяет|тебе|к|копировать|этот|код|из|удаленного permite|tú|a|copiar|el|código|de|una te permite copiar el código de un позволяют вам скопировать код из

remote repository to your local computer remoto|repositorio|a|tu|local|computadora repositorio remoto a tu computadora local удаленного репозитория на ваш локальный компьютер

once you have that cloned you can open una vez que lo tengas clonado puedes abrir как только вы это склонировали, вы можете открыть

it up in vs code and in this case serial это|вверх|в|против|код|и|в|этот|случай|последовательный eso|arriba|en|vs|código|y|en|este|caso|serial configúralo en vs code y en este caso serial откройте его в vs code и в этом случае сериал

first want to run npm install to install сначала|хочу|чтобы|запустить|npm|установить|чтобы|установить primero|quiero|a|ejecutar|npm|instalar|para|instalar primero quiero ejecutar npm install para instalar сначала нужно выполнить npm install для установки

the dependencies then you can run git эти|зависимости|затем|ты|можешь|запустить|git las|dependencias|entonces|tú|puedes|ejecutar|git las dependencias, luego puedes ejecutar git зависимостей, затем вы можете выполнить git

checkout flag be with my sticker as the переключение|флаг|быть|с|моим|наклейка|как|тот caja|bandera|estar|con|mi|calcomanía|como|el checkout flag con mi etiqueta como el checkout флаг, чтобы быть с моим стикером как

branch name which again will create and ветка|имя|который|снова|будет|создавать|и rama|nombre|la cual|de nuevo|(verbo auxiliar futuro)|creará|y nombre de la rama que nuevamente creará y имя ветки, которое снова создаст и

move you into this new branch and then переместить|тебя|в|эту|новую|ветку|и|затем mueve|tú|a|esta|nueva|sucursal|y|luego te moverá a esta nueva rama y luego переместит вас в эту новую ветку, а затем

i've added a special command to this я|добавил|один|специальный|команда|в|этот |añadido|un|especial|comando|a|esto he añadido un comando especial a este я добавил специальную команду в этот

repo called npm run address and that's repositorio llamado npm run address y eso es репозиторий, называемую npm run address, и это

going to prompt you for the information собираюсь|к|подсказывать|тебе|для|этой|информации voy|a|pedir|tú|por|la|información te voy a pedir la información я собираюсь запросить у вас информацию

that i need for your mailing address которую|я|нужно|для|твоего|почтового|адреса eso|yo|necesito|para|tu|dirección|dirección postal que necesito para tu dirección de correo которая мне нужна для вашего почтового адреса

when you're done with that it will print когда|ты будешь|закончен|с|этим|это|будет|печатать cuando|tú estás|terminado|con|eso|eso|va a|imprimir cuando termines con eso, imprimirá когда вы закончите с этим, он распечатает

out an encrypted base64 string from наружу|одну|зашифрованную|base64|строку|из fuera|una|encriptada|base64|cadena|de una cadena base64 encriptada de зашифрованную строку base64 из

there you'll go into the stickers туда|ты будешь|идти|в|эти|наклейки allí||a|entrar|los|stickers ahí irás a los stickers там вы перейдете в папку со стикерами

directory and create a new file that's каталог|и|создать|новый|новый|файл|который есть directorio|y|crea|un|nuevo|archivo|que está directorio y crearás un nuevo archivo que sea и создадите новый файл, который будет

your github username dot txt твой|github|имя пользователя|точка|txt tu|github|nombre_de_usuario|punto|txt tu nombre de usuario de github punto txt ваше имя пользователя на github точка txt

then you'll copy and paste this encoded тогда|ты будешь|копировать|и|вставлять|этот|закодированный entonces|tú lo|copiarás|y|pegarás|esto|codificado entonces copiarás y pegarás este codificado затем вы скопируете и вставите этот закодированный

string into that file so just a side строка|в|тот|файл|так|просто|одна|сторона cadena|en|ese|archivo|así que|solo|un|lado cadena en ese archivo, así que solo una nota строка в этот файл, так что просто заметка

note on security your address is going заметка|о|безопасности|ваш|адрес|есть|идет nota|sobre|seguridad|tu|dirección|está|yendo sobre seguridad, tu dirección va a по безопасности, ваш адрес будет

into a public repo but it's encrypted в|публичный|публичный|репозиторий|но|он есть|зашифрованный en|un|público|repositorio|pero|está|encriptado un repositorio público, pero está encriptada в публичном репозитории, но он зашифрован

with the RSA algorithm this means that с|алгоритмом|RSA|алгоритм|это|означает|что con|el|RSA|algoritmo|esto|significa|que con el algoritmo RSA, esto significa que с помощью алгоритма RSA, это означает, что

you are able to encrypt data with the ты|есть|способен|к|шифровать|данные|с|этим tú|eres|capaz|a|encriptar|datos|con|el puedes cifrar datos con la вы можете зашифровать данные с помощью

public key but I'm the only one with the публичным|ключом|но|я есть|единственный|только|один|с|этим clave pública|llave|pero|soy|el|único|uno|con|la clave pública, pero yo soy el único que tiene la открытого ключа, но я единственный, у кого есть

private key that can decrypt it I have частным|ключом|который|могу|расшифровать|его|я|имею clave|privada|que|puede|descifrar|eso|yo|tengo clave privada que puede descifrarlo. Tengo закрытый ключ, который может их расшифровать. У меня есть

the private key on a thumb drive which этим|частным|ключом|на|флешке|thumb|диск|который la|privada|llave|en|una|memoria|unidad|la cual la clave privada en una memoria USB que закрытый ключ на флешке, которая

I'll destroy after this giveaway and я буду|уничтожать|после|этого|раздачи|и yo|destruiré|después de|este|sorteo|y Destruiré después de este sorteo y Я уничтожу после этого розыгрыша и

hacking the private key by brute force взлом|ключа|приватного|ключа|с помощью|грубой|силы hackeo|la|privada|clave|por|fuerza bruta|fuerza hackear la clave privada por fuerza bruta взлом приватного ключа методом перебора

is essentially impossible есть|по сути|невозможно es|esencialmente|imposible es esencialmente imposible по сути невозможно

unless someone physically steals the если не|кто-то|физически|украдет|этот a menos que|alguien|físicamente|robe|el a menos que alguien robe físicamente el если кто-то физически не украдет его

private key your address should be safe частный|ключ|ваш|адрес|должен|быть|безопасным clave|privada|tu|dirección|debe|estar|segura la clave privada tu dirección debería estar segura ваш закрытый ключ должен быть в безопасности

in this public format but I do feel в|этом|публичном|формате|но|я|вспомогательный глагол|чувствую en|este|público|formato|pero|yo|(verbo auxiliar)|siento en este formato público pero siento в этом публичном формате, но я чувствую

obligated to give you that disclaimer obligado|a|dar|ti|esa|advertencia la obligación de darte ese descargo de responsabilidad обязанность дать вам этот отказ от ответственности

first now go ahead and save the text primero ahora adelante y guarda el texto сначала, теперь продолжайте и сохраните текст

file then run get ad and get commit with файл|затем|запустите|получить|ad|и|получить|коммит|с archivo|luego|ejecutar|obtener|anuncio|y|obtener|compromiso|con archivo y luego ejecutar obtener anuncio y obtener compromiso con файл, затем выполните get ad и get commit с

whatever message you want to put in любое|сообщение|ты|хочешь|чтобы|положить|в lo que sea|mensaje|tú|quieras|a|poner|dentro cualquier mensaje que quieras poner en любым сообщением, которое вы хотите вставить в

there now we have all of the necessary там|сейчас|мы|имеем|все|из|необходимых|необходимых allí|ahora|nosotros|tenemos|todo|de|los|necesario ahora tenemos todos los necesarios теперь у нас есть все необходимые

changes committed on our local machine изменения|закоммиченные|на|нашем|локальном|компьютере cambios|comprometidos|en|nuestra|local|máquina cambios comprometidos en nuestra máquina local изменения, зафиксированные на нашем локальном компьютере

we'll need to push this branch to our мы будем|нужно|чтобы|отправить|эту|ветку|в|наш |necesitaremos|que|empujar|esta|rama|a|nuestro tendremos que enviar esta rama a nuestro нам нужно будет отправить эту ветку в наш

remote fork for that we can just say git удаленный|форк|для|это|мы|можем|просто|сказать|git remoto|bifurcación|para|eso|nosotros|podemos|solo|decir|git fork remoto para eso podemos simplemente decir git удаленный форк, для этого мы можем просто сказать git

push origin with the branch name and отправить|||ветку||| empujar|origen|con|el|rama|nombre|y push origin con el nombre de la rama y push origin с именем ветки и

that will push the branch to github then eso enviará la rama a github entonces это отправит ветку на github, затем

on github you'll see the option to на|github|ты увидишь|увидишь|эту|опцию|чтобы en|github|verás|ver|la|opción|para en github verás la opción de на github вы увидите опцию для

create a new pull request a pull request создать|новый|новый|pull|запрос|запрос|pull|запрос crear|una|nueva|solicitud|de extracción|una|solicitud|de extracción crear una nueva solicitud de extracción una solicitud de extracción создания нового pull request, pull request

is just like a merge but it has the это|просто|как|слияние|слияние|но|это|имеет|дополнительный es|solo|como|una|fusión|pero|eso|tiene|el es como una fusión pero tiene el похож на слияние, но у него есть

additional step of needing to pulling дополнительный|шаг|из|необходимость|чтобы|тянуть adicional|paso|de|necesitar|a|tirar paso adicional de necesitar ser extraído дополнительный шаг, требующий выполнения pull

the remote changes in other words a pull этот|удаленный|изменения|в|другие|слова|один|вытягивание el|control remoto|cambios|en|otras|palabras|un|tirón los cambios remotos, en otras palabras, un pull удаленные изменения, другими словами, это pull

request is like saying pulling my remote запрос|есть|как|сказать|вытягивание|мой|удаленный solicitud|es|como|decir|sacando|mi|control remoto una solicitud es como decir que estoy extrayendo mi remoto запрос, как будто я говорю, подтяните мои удаленные

changes and then merge them into the изменения|и|затем|объединить|их|в|ветку cambios|y|luego|fusiona|ellos|en|el cambios y luego fusionarlos en el изменения, а затем объедините их в

master branch so that's how you |ветка|так|это есть|как|ты rama maestra|rama|así que|eso es|cómo|tú rama principal, así que así es como tú главную ветку, вот как вы это делаете

contribute to an open-source project I'm способствовать|к|одному|||проекту|я contribuir|a|un|||proyecto|estoy contribuir a un proyecto de código abierto que estoy внести свой вклад в проект с открытым исходным кодом, я

gonna go ahead and wrap things up there собираюсь|идти|вперед|и|завернуть|дела|завершить|там voy a|ir|adelante|y|envolver|las cosas|arriba|allí voy a ir adelante y concluir las cosas allí собираюсь завершить на этом

hopefully that leaves you with some of надеюсь|что|оставляет|вас|с|некоторыми|из ojalá|eso|te deja|a ti|con|algo de|de espero que eso te deje con algunas de надеюсь, это оставит у вас некоторые из

the basic tools needed to contribute to основными|базовыми|инструментами|необходимыми|для|способствовать|к las|básicas|herramientas|necesarias|para|contribuir|a las herramientas básicas necesarias para contribuir a основных инструментов, необходимых для вклада в

open source software there's a whole lot открытый|источник|программное обеспечение|есть|много|целый|много software|fuente|software|hay|un|mucho|montón el software de código abierto hay mucho más свободное программное обеспечение, здесь много всего

more that can be covered on this topic больше|что|может|быть|охвачено|на|эту|тему más|que|se puede|ser|cubrir|sobre|este|tema que se puede cubrir sobre este tema что можно обсудить на эту тему

so let me know what you want to see next так|позволять|мне|знать|что|ты|хочешь|чтобы|увидеть|следующее entonces|dejame|me|saber|qué|tú|quieres|a|ver|siguiente así que házmelo saber qué quieres ver a continuación так что дайте мне знать, что вы хотите увидеть дальше

in the comments and if you want to get в|комментариях||и|если|ты|хочешь|чтобы|получить en|los|comentarios|y|si|tú|quieres|a|obtener en los comentarios y si quieres obtener в комментариях, и если вы хотите получить

really good at this kind of stuff действительно|хорош|в|этом|вид|из|вещей realmente|bueno|en|este|tipo|de|cosas realmente bueno en este tipo de cosas действительно хорошо в этом деле

consider becoming a pro member at подумать о|становлении|членом|профессиональным|участником|на considera|convertirte|un|profesional|miembro|en considera convertirte en miembro pro en рассмотрите возможность стать профессиональным членом на

angular firebase com thanks for watching angular|firebase|com|спасибо|за|просмотр angular|firebase|con|gracias|por|ver angular firebase com gracias por ver angular firebase com спасибо за просмотр

and I'll talk to you soon и|я буду|говорить|с|тобой|скоро y|yo (verbo auxiliar)|hablaré|contigo|tú|pronto y hablaré contigo pronto и я скоро с вами поговорю

SENT_CWT:ANplGLYU=8.57 PAR_TRANS:gpt-4o-mini=96.15 PAR_TRANS:gpt-4o-mini=14.41 PAR_CWT:AvJ9dfk5=8.66 es:ANplGLYU ru:AvJ9dfk5 openai.2025-02-07 ai_request(all=192 err=1.56%) translation(all=384 err=0.26%) cwt(all=2793 err=17.72%)