Coder Social home page Coder Social logo

rii's Introduction

Ежедневная работа

Алгоритм работы

Основной принцип работы - это работа не через ветку master, а через ветку live. Т.е. ветка live основная, боевой сайт на ней, все ветки создаются из неё и мержатся в неё же по итогу. Она полностью заменяет master. С master мы не работаем никак и никогда(!)

  1. Актуализировать live на боевом и в удаленном репозитории:
git add .
git commit -m 'actualize'
git push origin live
  1. Актуализировать live на тестовом:
git checkout live
git pull origin live
  1. Далее работа на тестовом. Создать ветку для задачи и перейти в неё:
git checkout -b task-24107-main-feedback

Название ветки состоит из слова "task", номера задачи "24107" и краткого описания сути "main-feedback"

  1. Собственно выполнение работы

  2. Добавить правки в коммит и запушить в удаленный репозиторий в свою ветку:

git add .
git commit -m 'task description'
git push origin task-24107-main-feedback

Всегда по окончанию работы, не зависимо от этапа выполнения задачи пушьте свои изменения в удалённый репазиторий. 7. Подождать проверки и после отмашки менеджера перенести свои правки на боевой. Перед этим нужно актуализировать ветку live на боевом и в репозитории(п.1). Далее через pull-request в интерфейсе github смержить свою ветку в live, решить все конфликты и накатить изменения на боевой:

git pull origin live

rii's People

Contributors

milevsky76 avatar ramandudoits avatar rii-framework avatar ninetor avatar overlinkbx avatar kokocikys 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.