Giter Site home page Giter Site logo

version_control's Introduction

Это репозиторий для обучения pull request

Первые шаги

  1. Делаем fork репозитория, в которой потом хотим сделать pull request. Ищем кнопку Fork на странице репозитория https://[email protected]:gulden-geekbrains/version_control.git
  2. Выполняем команду клонирования из своей fork-копии
git clone [email protected]:*YOURE_GITHUB*/version_control.git
  1. Создаем новую ветку и вносим необходимые изменения в файл
git checkout -b updatereadme
vim README.md
git add README.md
git commit -m "Добавили инструкцию как создать pull request"
  1. Делаем push
git push --set-upstream origin updatereadme
  1. Переходим на свою страницу репозитория. Выбираем ветку updatereadme и жмем кнопку Compare & pull request

Заметки

Что бы сделать push от другого пользователя необходимо выполнить команду

GIT_SSH_COMMAND='ssh -i ~/.ssh/user-private-key -o IdentitiesOnly=yes' git push [email protected]:gulden-geekbrains/version_control.git

вместо user-private-key подставьте свой ключ

Можно прописать настройки для подсоединения по ssh

git config remote.origin.url [email protected]:gitusername/reponame
git config core.sshCommand "ssh -i ~/.ssh/user-private-key -o IdentitiesOnly=yes"

Как подружить git с github под Windows 10

Вот видео инструкция https://youtu.be/E8cIjbJMEpE

version_control's People

Contributors

afinyshka avatar alexgrigoryevskaya avatar devodest avatar dumaybashka avatar evgeniysafronov avatar georgiy-larenko avatar gulden-geekbrains avatar gulden-tv avatar ivanmaestro avatar maksimshcherbinin avatar ponchucha avatar ramgithb avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.