newreposit's Introduction
# 1. Работа с удаленными репозиториями * Создать аккаунт на GitHub * Coздать локальный репозиторий * Создать удаленный репозиторий * Связать удаленный с локальным * Изменение в локальном репозитории * Добавить удаленный репозиторий к проекту можно командой: * ``` git remote add <original><адр. репозитория> ``` Для получения и слияния изменений в удаленном репозитории надо набрать команду: ``` git pull ``` Для отправки в удаленный репозиторий используем команду: ``` git push ``` Чтобы внести изменения в чужой проект( надо быть авторизованным на github) надо: 1. делаю fork интересного мне репозитория (он добавляется в мой удаленный репозиторий) 2. в **code** форкнутого репозитория берем его URL-адрес 3. в локальном репозитории набираю: ``` git clone ``` 4. Создать новую ветку внести изменения можно командой: ``` git checkout -b new1 ``` 5. внести изменения 6. push в корректируемый проект сразу не получится, т.к. там нет новой ветки 7. гит подскажет, что в новом проекте надо сделать новую ветку 8. набираем: ``` git push --set-u origin new ``` 9. переходим на GitHub, обновляем, видим новую ветку 10. должна появиться зеленая кнопка **pull requests** 11. если кнопка не появилась, то её делают вручную: * нажимаем в меню **Pull requests** * выбираю название новой ветки * далее идем по зеленым кнопкам 12. Описание работы программы итога первого блока ! [блок-схема(ИТОГ1блока.png)]
newreposit's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.