- Создать аккаунт на Github
- Создать локальный репозиторий
- Создать удалённый репозиторий
- Связать удалённый репозиторий с локальным
Добавить удалённый репозиторий к проекту:
git remote add <repo_name> <repo_address>
Для получения и слияния изменений из удалённого репозитория используется команда:
git pull
int count = 0;
while (count <= n)
{
count++
}
Отправить изменения локального репозитория в удалённый:
git push