×

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

image

Programming, Git Explained in 100 Seconds

Git Explained in 100 Seconds

get a system for keeping track of

changes that happen across a set of

files open a directory on your local

system with an editor like vs code then

run get an it from the command line you

just created a git repository or repo it

lives in this hidden get directory and

keeps track of all the changes that

happen to these files as you work on a

codebase you take snapshots or commits

of the current state of these files

every commit has a unique ID and is

linked to its parent and this means we

can travel back in time to a previous

version of our files notice how our

source control icon is lit up currently

all of our files are untracked because

we need to add them to the repo run get

add to include or stage these files in

the repo then create a snapshot of their

current state by running git commit

along with a message about what you did

to these files congratulations

you just created the first commit on the

head of the master branch in this repo

the changed files disappeared and you're

now on a clean working directory the

head represents the most recent commit

if we make some changes commit them to

the repo the head moves forward but we

still have a reference to our previous

commits so we can always go back to it

but the thing about software is that

it's developed in a nonlinear fashion

you might have multiple teams working on

different features for the same codebase

simultaneously it makes that possible by

branching create one by running git

branch and then rank it check out to

move into that branch you can now safely

work on your feature in this branch

without affecting the code or files in

the master branch the commits you make

here live in an alternate universe with

its own unique history at some point

though you'll likely want to merge this

history with the history and the master

branch when you're ready go back to the

master branch by running git checkout

then run git merge on your

alternate-universe

the tip of your feature branch now

becomes the head of the master branch

where in other words our fragmented

universe has become one unless he ran

into a merge conflict in which case

you'll just have to wait for the sequel

this has been get explained in 100

seconds if you want to see more short

videos like this make sure to hit the

like button subscribe and let me know

what you think in the comments thanks

for watching and I will see you in the

next one

you

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

Git Explained in 100 Seconds Git|Açıklandı|içinde|Saniye git|explicado|en|segundos Git explicado em 100 segundos Git за 100 секунд 100 秒讲解 Git 100 秒解釋 Git Git 100 Saniyede Açıklandı Git explicado en 100 segundos

get a system for keeping track of |||||monitor| edinmek|bir|sistem|için|tutma|izleme|-in obtener|un|sistema|para|mantener|seguimiento|de bir dizi dosya üzerinde gerçekleşen değişiklikleri takip etme sistemi edinin obtén un sistema para hacer un seguimiento de

changes that happen across a set of değişiklikler|o|meydana gelen|boyunca|bir|küme|ın cambios|que|ocurren|a través de|un|conjunto|de yerel bilgisayarınızdaki bir dizini açın los cambios que ocurren en un conjunto de

files open a directory on your local dosyalar|açar|bir|dizin|üzerinde|senin|yerel archivos|abren|un|directorio|en|tu|local archivos abre un directorio en tu local

system with an editor like vs code then sistem|ile|bir|editör|gibi|vs|kod|o zaman sistema|con|un|editor|como|vs|código|entonces vs code gibi bir editörle sistem sistema con un editor como vs code entonces

run get an it from the command line you çalıştır|al|bir|onu|-den|belirli|komut|satırı|sen ejecutar|obtener|un|eso|de|la|comando|línea|tú komut satırından alırsınız ejecuta obtenerlo desde la línea de comandos tú

just created a git repository or repo it sadece|oluşturdu|bir|git|depo|veya|depo|onu justo|creé|un|git|repositorio|o|repo|lo bir git deposu veya repo oluşturdunuz acabas de crear un repositorio de git o repo que

lives in this hidden get directory and yaşar|içinde|bu|gizli|alma|dizin|ve vive|en|este|oculto|obtener|directorio|y bu gizli git dizininde yaşıyor vive en este directorio oculto de git y

keeps track of all the changes that tutar|izleme|-in|tüm|-i|değişiklikler|ki mantiene|seguimiento|de|todos|los|cambios|que bu dosyalarda yaptığınız tüm değişiklikleri takip eder realiza un seguimiento de todos los cambios que

happen to these files as you work on a olacak|için|bu|dosyalar|iken|sen|çalışırken|üzerinde|bir suceder|a|estos|archivos|mientras|tú|trabajas|en|un çalışırken ocurren en estos archivos mientras trabajas en un

codebase you take snapshots or commits kod tabanı|sen|alırsın|anlık görüntüler|veya|taahhütler base_de_codigo|tú|tomas|instantáneas|o|commits bir kod tabanında mevcut dosyaların anlık görüntülerini veya commit'lerini alırsınız código base, tomas instantáneas o commits

of the current state of these files bu|dosyaların|mevcut|durumu|bu|bu|dosyalar del|el|actual|estado|de|estos|archivos bu dosyaların mevcut durumu del estado actual de estos archivos

every commit has a unique ID and is her|taahhüt|vardır|bir|benzersiz|kimlik numarası|ve|dir cada|compromiso|tiene|un|único|ID|y|está her bir commit'in benzersiz bir kimliği vardır ve cada commit tiene un ID único y está

linked to its parent and this means we bağlı|e|onun|ebeveyn|ve|bu|demektir|biz vinculado|a|su|padre|y|esto|significa|nosotros ebeveynine bağlıdır ve bu, bizim vinculado a su padre y esto significa que

can travel back in time to a previous -ebilir|seyahat|geri|içinde|zaman|-e|bir|önceki poder|viajar|hacia atrás|en|tiempo|a|un|anterior dosyalarımızın önceki bir versiyonuna geri gidebileceğimiz anlamına gelir. podemos viajar atrás en el tiempo a una

version of our files notice how our versiyonu|-nin|bizim|dosyalar|fark et|nasıl| versión|de|nuestros|archivos|nota|cómo|nuestros Dikkat edin, nasıl bizim versión anterior de nuestros archivos nota cómo nuestra

source control icon is lit up currently kaynak|kontrol|simge|durumunda|yanmış|yukarı|şu anda control|control|icono|está|encendido|arriba|actualmente kaynak kontrol simgesi şu anda yanıyor el ícono de control de versiones está iluminado actualmente

all of our files are untracked because tüm|-in|bizim|dosyalar|-dir|izlenmeyen|çünkü todos|de|nuestros|archivos|están|sin seguimiento|porque tüm dosyalarımız izlenmiyor çünkü todos nuestros archivos no están rastreados porque

we need to add them to the repo run get biz|ihtiyacımız|-e|eklemek|onları|-e|belirli|depo|çalıştırmak|almak nosotros|necesitamos|que|agregar|ellos|a|el|repositorio|ejecutar|obtener bunları repoya eklememiz gerekiyor, get çalıştırın necesitamos agregarlos al repositorio, ejecuta get

add to include or stage these files in ekle|için|dahil et|veya|sahnele|bu|dosyalar|içinde agregar|a|incluir|o|preparar|estos|archivos|en bu dosyaları dahil etmek veya sahneye almak için ekleyin agregar para incluir o preparar estos archivos en

the repo then create a snapshot of their bu|depo|sonra|oluştur|bir|anlık görüntü|-in|onların el|repositorio|luego|crea|un|instantánea|de|su repo daha sonra bunların mevcut durumunun bir anlık görüntüsünü oluşturur el repositorio luego crea una instantánea de su

current state by running git commit mevcut|durum|ile|çalıştırarak|git|commit estado_actual|estado|al|ejecutar|git|commit git commit komutunu çalıştırarak estado actual ejecutando git commit

along with a message about what you did birlikte|ile|bir|mesaj|hakkında|ne|sen|yaptın junto|con|un|mensaje|sobre|lo que|tú|hiciste ne yaptığınızla ilgili bir mesaj ile birlikte junto con un mensaje sobre lo que hiciste

to these files congratulations bu|bu|dosyalara|tebrikler a|estos|archivos|felicitaciones bu dosyalara tebrikler a estos archivos, felicitaciones

you just created the first commit on the sen|az önce|oluşturdun|ilk|ilk|taahhüt|üzerinde|the tú|justo|creaste|el|primer|commit|en|el bu repoda master dalının başında ilk commit'i oluşturdun acabas de crear el primer commit en el

head of the master branch in this repo başı|'nin|belirli artikel|ana|dal|içinde|bu|depo cabeza|de|la|maestro|rama|en|este|repositorio değiştirilen dosyalar kayboldu ve şimdi cabeza de la rama principal en este repositorio

the changed files disappeared and you're değiştirilen|değiştirilen|dosyalar|kayboldu|ve|sen los|cambiados|archivos|desaparecieron|y|tú estás temiz bir çalışma dizinindesin los archivos cambiados desaparecieron y ahora estás

now on a clean working directory the şimdi|üzerinde|bir|temiz|çalışma|dizin|belirli artikel ahora|en|un|limpio|de trabajo|directorio|el şimdi en un directorio de trabajo limpio el

head represents the most recent commit baş|temsil eder|en|en|son|taahhüt cabeza|representa|el|más|reciente|compromiso head en son commit'i temsil eder la cabeza representa el commit más reciente

if we make some changes commit them to eğer|biz|yaparsak|bazı|değişiklikler|taahhüt ederiz|onları|e si|nosotros|hacemos|algunos|cambios|comprometemos|ellos|a eğer bazı değişiklikler yaparsak bunları commit ederiz si hacemos algunos cambios, los comprometemos a

the repo the head moves forward but we bu|depo|bu|baş|hareket eder|ileri|ama|biz el|repositorio|la|cabeza|se mueve|hacia adelante|pero|nosotros repo'ya head ileriye taşınır ama biz el repositorio, la cabeza avanza, pero aún

still have a reference to our previous hala|sahip|bir|referans|için|bizim|önceki todavía|tenemos|una|referencia|a|nuestra|anterior yine de önceki referansımıza sahibiz tenemos una referencia a nuestro anterior

commits so we can always go back to it taahhütler|böylece|biz|-abilir|her zaman|gitmek|geri|-e|ona compromisos|para que|nosotros|podamos|siempre|regresar|atrás|a|ello taahhütler, böylece her zaman geri dönebiliriz commits para que siempre podamos volver a él

but the thing about software is that ama|o|şey|hakkında|yazılım|dır|ki pero|la|cosa|sobre|software|es|que ama yazılımın bir özelliği şudur ki pero lo que pasa con el software es que

it's developed in a nonlinear fashion ||||غير خطي|أسلوب غير خطي bu|gelişmiştir|içinde|bir|doğrusal olmayan|tarzda se|desarrolla|en|una|no lineal|forma doğrusal olmayan bir şekilde geliştirilir se desarrolla de manera no lineal

you might have multiple teams working on sen|-bilir|sahip|birden fazla|takım|çalışan|üzerinde tú|podrías|tener|múltiples|equipos|trabajando|en birden fazla ekibin üzerinde çalışıyor olabileceği puedes tener múltiples equipos trabajando en

different features for the same codebase |ميزات|||| farklı|özellikler|için|aynı|aynı|kod tabanı diferentes|características|para|la|misma|base de código aynı kod tabanı için farklı özellikler diferentes características para la misma base de código

simultaneously it makes that possible by aynı anda|o|yapar|bunu|mümkün|ile simultáneamente|eso|hace|que|posible|por aynı anda bunu mümkün kılarak simultáneamente lo hace posible al

branching create one by running git dallanma|oluştur|bir|ile|çalıştırarak|git ramificación|crear|una|por|ejecutando|git dal oluşturarak git çalıştırarak bir tane yaratmak crear una rama ejecutando git

branch and then rank it check out to |||رتبة|||| dal|ve|sonra|sıralamak|onu|||için rama|y|luego|clasificar|eso|revisar|fuera|a dal oluştur ve ardından onu kontrol et rama y luego clasificarla para revisarla

move into that branch you can now safely taşın|içine|o|şube|sen|-ebilirsin|şimdi|güvenli bir şekilde muévete|hacia|esa|rama|tú|puedes|ahora|seguro o dala geçebilirsiniz, artık güvenle múevete a esa rama, ahora puedes hacerlo de forma segura

work on your feature in this branch çalış|üzerinde|senin|özellik|içinde|bu|dal trabaja|en|tu|característica|en|esta|rama bu dalda özelliğiniz üzerinde çalışabilirsiniz trabajar en tu función en esta rama

without affecting the code or files in |تأثير على||||| etkilemeden|etkileme|belirli|kod|veya|dosyalar|içinde sin|afectar|el|código|o|archivos|en master dalındaki kod veya dosyaları etkilemeden sin afectar el código o los archivos en

the master branch the commits you make (belirtili artikel)|ana|dal|(belirtili artikel)|taahhütler|sen|yaparsın la|rama maestra|rama|los|commits|tú|haces yaptığınız commitler la rama principal, los commits que hagas

here live in an alternate universe with ||||بديل|كون| burada|yaşıyoruz|içinde|bir|alternatif|evren|ile aquí|vivimos|en|un|alternativo|universo|con burada alternatif bir evrende yaşıyoruz aquí viven en un universo alternativo con

its own unique history at some point kendi|kendi|benzersiz|tarih|de|bazı|nokta su|propia|única|historia|en|algún|punto kendi benzersiz tarihi ile bir noktada su propia historia única en algún momento

though you'll likely want to merge this ama|sen|muhtemelen|isteyeceksin|-e|birleştirmek|bunu aunque|tú vas a|probablemente|querer|a|fusionar|esto ancak muhtemelen bu tarihi birleştirmek isteyeceksiniz aunque probablemente querrás fusionar esto

history with the history and the master tarih|ile|belirli artikel|tarih|ve|belirli artikel|usta historia|con|la|historia|y|el|maestro tarih ve ustayla historia con la historia y el maestro

branch when you're ready go back to the dal|ne zaman|sen|hazır|git|geri|-e|belirli bir rama|cuando|estés|listo|ve|de regreso|a|la hazır olduğunuzda geri dönmek için dalı rama cuando estés listo vuelve a la

master branch by running git checkout ana|dal|ile|çalıştırarak|git|checkout rama maestra|rama|al|ejecutar|git|checkout ana dalı çalıştırarak git checkout rama principal ejecutando git checkout

then run git merge on your sonra|çalıştır|git|birleştirme|üzerinde|senin entonces|ejecuta|git|fusión|en|tu sonra alternatif evreninizde git merge çalıştırın luego ejecuta git merge en tu

alternate-universe alternatif|evren alternativo|universo universo-alternativo

the tip of your feature branch now |نقطة فرع||||| bu|uç|-in|senin|özellik|dal|şimdi la|punta|de|tu|característica|rama|ahora özellik dalınızın ucu şimdi la punta de tu rama de características ahora

becomes the head of the master branch يصبح|||||| olur|(belirsiz artikel)|başı|(edat)|(belirsiz artikel)|ana|dal se convierte en|la|cabeza|de|la|maestro|rama ana dalın başı oluyor se convierte en la cabeza de la rama maestra

where in other words our fragmented |||||المجزأة nerede|içinde|diğer|kelimeler|bizim|parçalanmış donde|en|otras|palabras|nuestra|fragmentada diğer bir deyişle parçalanmış olan donde en otras palabras nuestro fragmentado

universe has become one unless he ran evren|sahip|oldu|bir|-madıkça|o|koştu universo|ha|llegado a ser|uno|a menos que|él|corrió evrenimiz bir bütün haline geldi, aksi takdirde o çalıştırmadı universo se ha convertido en uno a menos que él corriera

into a merge conflict in which case içine|bir|birleştirme|çatışma|içinde|hangi|durum en|un|conflicto de fusión|conflicto|en|el cual|caso birleştirme çatışmasına girebilir, bu durumda en un conflicto de fusión en cuyo caso

you'll just have to wait for the sequel |||||||الجزء الثاني sen|sadece|sahip|-e|beklemek|için|-i|devam filmi |||||||продовження |solo|tendrás|que|esperar|por|la|secuela sadece devam filmini beklemek zorunda kalacaksınız solo tendrás que esperar la secuela

this has been get explained in 100 bu|(fiil)|(fiil)|(fiil)|açıklanmış|içinde esto|ha|sido|explicado|explicado|en bu 100 saniyede açıklanmıştır esto se ha explicado en 100

seconds if you want to see more short saniye|eğer|sen|istersen|-e|görmek|daha|kısa segundos|si|tú|quieres|a|ver|más|corto daha fazla kısa görmek istiyorsanız segundos si quieres ver más cortos

videos like this make sure to hit the videolar|gibi|bu|yapar|emin|-e|vur|belirli videos|como|esto|asegúrate|de|de|darle|el bu tür videoları beğendiyseniz lütfen videos como este asegúrate de presionar el

like button subscribe and let me know beğen|buton|abone ol|ve|bırak|beni|bilgilendir me gusta|botón|suscríbete|y|deja|me|saber beğen butonuna basın abone olun ve botón de me gusta suscribirte y déjame saber

what you think in the comments thanks ne|sen|düşünüyorsun|içinde|belirli|yorumlar|teşekkürler qué|tú|piensas|en|los|comentarios|gracias yorumlarda ne düşündüğünüzü bana bildirin teşekkürler lo que piensas en los comentarios gracias

for watching and I will see you in the için|izleme|ve|ben|-acak/-ecek|göreceğim|seni|içinde|belirli bir por|ver|y|yo|(verbo auxiliar futuro)|veré|a ti|en|el izlediğiniz için ve bir sonraki videoda görüşürüz por ver y nos vemos en el

next one sonraki|bir siguiente|uno sonraki siguiente

you sen sen

SENT_CWT:AFkKFwvL=3.79 PAR_TRANS:gpt-4o-mini=2.29 SENT_CWT:ANplGLYU=3.36 PAR_TRANS:gpt-4o-mini=2.44 tr:AFkKFwvL es:ANplGLYU openai.2025-02-07 ai_request(all=83 err=0.00%) translation(all=66 err=0.00%) cwt(all=457 err=0.22%)