Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Connecting a Remote Repository [Learn Git Video Course]

Автор: Tower

Загружено: 2020-06-24

Просмотров: 2106

Описание:

Learn how you can connect to a remote repository. This video is part of our free 24-part video course on Learning Git on the Command Line.
Subscribe ►    / @gittower  

***************************************

Additional Git tutorials and resources

Learn Git on the Command Line: a free 24-part video course ►    • What is Version Control? [Learn Git Video ...  

Learn Git with Tower:    • Learn Git with Tower  

Surviving with Git:    • Surviving with Git  

More Productive in Git with Tower:    • More Productive in Git with Tower  

***************************************

Welcome to our video series on learning version control with Git. Today, you will learn how to connect a remote repository to a local one.

We need to talk about two different scenarios:
First: cloning a repository from a remote server. In that case, Git has automatically saved this connection for you. You'll have a properly set up remote called "origin". Exactly as with the "master" branch, the name "origin" for this remote is only a naming convention. It's just a normal remote repository connection like any other.

The other scenario is when you've started a new Git repository on your computer. In that case, of course, you'll have to explicitly add a remote connection. For example when you want to start sharing your code with your teammates. You will then create a blank remote repository on your server - and upload your project.

Let's see how this works in our video.

"git remote dash v" shows all connected remote repositories in that local project. In this case here, it shows an empty list. This is because I've started this as a new repository on my computer.
Let's say I already created a blank remote repository - and I now want to connect it with my local repository.

"git remote add" is the command we need. You have to provide a shortname for this connection and the URL of the remote repository. The shortname is very handy because it saves you from typing that long URL later all the time.

Use "git remote -v" again to see what this did. Note that we now get two lines in return - although we just added one remote connection. This is because you could (in theory) use different URLs for read and write access to the server. Also, note that you can connect as many remote repositories as you like. But in most cases - like in our course here - a single remote is what we want.

Well, fantastic. This is the basis for our next videos. See you there!

SUBSCRIBE to learn more about Git, Tower, and how to become a better developer!
   / @gittower  

For more free ebooks, cheat sheets, and video tutorials make sure to check out our FREE learning platform!
https://www.git-tower.com/learn/

STAY UP-TO-DATE:
Tower: https://www.git-tower.com
YouTube:    / @gittower  
Twitter:   / gittower  
Facebook:   / gittower  

#git #learngit #gittutorial

Connecting a Remote Repository [Learn Git Video Course]

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Продвижение в Покровске, Гренландия уводит Европу, Долина: финал. Эггерт, Давлетгильдеев, Шепелин

Продвижение в Покровске, Гренландия уводит Европу, Долина: финал. Эггерт, Давлетгильдеев, Шепелин

Git Tutorial for Beginners: Learn Git in 1 Hour

Git Tutorial for Beginners: Learn Git in 1 Hour

Sharing Data on a Remote Repository [Learn Git Video Course]

Sharing Data on a Remote Repository [Learn Git Video Course]

Git on Linux Simplified | How to Setup Your First Repository and Use Version Control

Git on Linux Simplified | How to Setup Your First Repository and Use Version Control

Что происходит в Чечне и что это говорит о будущем России (English subtitles)

Что происходит в Чечне и что это говорит о будущем России (English subtitles)

Музыка исцеляет сердце. Прекрасная расслабляющая музыка для глубокого внутреннего покоя

Музыка исцеляет сердце. Прекрасная расслабляющая музыка для глубокого внутреннего покоя

🔴 СРОЧНО СХВАТКА В ДАВОСЕ: ТРАМП ПРОТИВ ЕВРОПЫ! #новости #одиндень

🔴 СРОЧНО СХВАТКА В ДАВОСЕ: ТРАМП ПРОТИВ ЕВРОПЫ! #новости #одиндень

30 самых прекрасных классических произведений для души и сердца 🎵 Моцарт, Бах, Бетховен, Шопен

30 самых прекрасных классических произведений для души и сердца 🎵 Моцарт, Бах, Бетховен, Шопен

Прямой эфир Euronews

Прямой эфир Euronews

Учебник по Git для чайников

Учебник по Git для чайников

You won't believe how UNSAFE your home router is!

You won't believe how UNSAFE your home router is!

How To Use Git In VS Code Like A Pro!

How To Use Git In VS Code Like A Pro!

Я в опасности

Я в опасности

«Совет мира» с Путиным и Лукашенко. Летающий госпиталь для Кадырова. Как в России отмечают Крещение

«Совет мира» с Путиным и Лукашенко. Летающий госпиталь для Кадырова. Как в России отмечают Крещение

Разработка с помощью Gemini 3, AI Studio, Antigravity и Nano Banana | Подкаст Agent Factory

Разработка с помощью Gemini 3, AI Studio, Antigravity и Nano Banana | Подкаст Agent Factory

VS Code ПОЛНЫЙ курс + настройка (интерфейс, плагины, работа с кодом)

VS Code ПОЛНЫЙ курс + настройка (интерфейс, плагины, работа с кодом)

Git and GitHub - Full Course

Git and GitHub - Full Course

Команды Git — практические советы для начинающих по git status, git clone, git commit, git push, ...

Команды Git — практические советы для начинающих по git status, git clone, git commit, git push, ...

Branching Workflows [Learn Git Video Course]

Branching Workflows [Learn Git Video Course]

КЛАССИЧЕСКАЯ МУЗЫКА ДЛЯ ВОССТАНОВЛЕНИЯ НЕРВНОЙ СИСТЕМЫ🌿 Нежная музыка успокаивает нервную систему 22

КЛАССИЧЕСКАЯ МУЗЫКА ДЛЯ ВОССТАНОВЛЕНИЯ НЕРВНОЙ СИСТЕМЫ🌿 Нежная музыка успокаивает нервную систему 22

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: infodtube@gmail.com