Git Product home page Git Product logo

mybus-ios's Introduction

MyBus iOS

===================================================================================================================== MyBus iOS is an application for http://www.mybus.com.ar

Project Contributors

Julián Astrada [email protected] Natalia Stele [email protected] Lisandro Falconi [email protected] Marcos Vivar [email protected]

git Workflow Guidelines

These document is intended to be used as guidelines and not as a tutorial of git.

  • In order to have a robust schema of redundant code but with a clear difference between the version it has been proposed to have several branches:
| . production
|/
. master (development merged)
|\   |
| |  . sprint-W
| | /
| .
| | . release-sprint-X_[month_Y]_[day_Z]
| |/
| . development (sprint-X merged)
| | \
| |  . sprint-X (MYB-2_[name_handler] merged)
| |  |\
| |  | . MYB-2_[name_handler]
| |  |/
| |  . sprint-X (MYB-1_[name_handler] merged)
| |  |\ 
| |  | . MYB-1_[name_handler]
| |  |/
| |  . sprint-X
| | /
| . development
|/ 
. master

Branches Rebasing Process

If you need to build a new feature, it should come out from develop. After you are done working on that feature, and that code has been reviewed you should:

git checkout sprint-X
git pull origin sprint-X
git checkout MYB-FeatureBranch
git rebase -i sprint-X

You will see a ‘vi’ console with your commits, you should squash them into one commit.

If git rebase -i sprint-X is successful you should:

git checkout sprint-X
git merge MYB-FeatureBranch

Branches Conflict Solving Process

If you happen to find conflicts when merging or rebasing your branch when doing the squash of you commits you should resolved those issues on Xcode regarding which parts of the code will stay in the final commit. Then you should:

git add ./Path/Of/The/Conflicted/File
git commit -m “MYB-XYZ - Resolved merge conflicts from MYB-FeatureBranch into sprint-X

Then you should finish your rebasing by

git rebase --continue

If your rebasing gets too complicated or difficult to resolve ask for assistance.

Pushing Changes (Pure Push Scheme Procedure)

If you were able to rebase successfully, should be able to perform the following command without any problem:

git push origin sprint-X

Pushing Changes (Pull Request Scheme Procedure)

If you were able to rebase successfully, should be able to create an updated pull request to merge against the current sprint branch.

NOTE: If you need to add or remove assets, classes or any other kind of resource that will inevitably modify the .xcodeproj file, please inform via Skype/Slack to the MyBus iOS Team chat group so everybody can pull the project changes. Then you can start working on your code-related task. Clearly, you do not need to create a pull request in order to have this sorted out.

mybus-ios's People

Contributors

astradajulian avatar jastradadevspark avatar lisandro avatar marcosjvivar avatar pablotdl 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.