Giter Site home page Giter Site logo

devops's Introduction

<<<<<<< HEAD

DevOps

This document lists some ground rules to bring up a puppy collaborative atmosphere to our team.


Repository structure:

- master: stable and approved code
- dev: branch where all changes will be tested. 
- some feature branch: for example "new DB instance", "cool puppet manifest" , "fantastic script"   

General rules:

Create pull requests and ask some one to review your code if you want to commit into "master" branch.
Commit only completed functional to "dev" branch (don't commit invalid code).
Review code of other team members on Github, comment it and give suggestions how to solve problems.
If someone added comment on code review you need to answer to this comment (are you agree or not).
If you agree with comment fix it in next commit.

Commit messages:

Write descriptive and understandable messages for commits.
Use imperative, present tense in messages: "change", "add", "fix", not "changes", “added”, "fixed".
Don't capitalize first letter in messages.
No dot (.) at the end of message.
Use such style for writing messages: what to do + for what entity + details(optional). 

Working on new functionality

When start working on some new feature, check for any updates pushed by other collaborators:

  $>git checkout dev
  $>git pull origin dev

New features should be added in special feature branches!. 

  $>git checkout -b <my_branch_name>

Then finish commit your changes locally to the branch and/or to remuve repo(with last command):

  $>git add .
  $>git commit -am "Initial commit"
  $>git push -u origin new_branch_name

While working on the branch, be sure to rebase with master to pull in mainline changes:

  $>git checkout master
  $>git pull origin master
  $>git checkout your_branch
  $>git rebase master

If there are conflicts, they have to be resolved in the files and then you need to run:

  $>git rebase --continue

  until all conflicts have been resolved.

If you ready to commit to "master" create Pull Request. More about Pull Request

Lets "brati lopati & kopati" team :)

dev

devops's People

Contributors

turnopil avatar

Watchers

James Cloos 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.