Project

fxos

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
This Ruby gem will help to focus on code and let new contributors don't get confused with git process at contribution time.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

FxOS

The basic purpose is to provide some simple automations based upon common Firefox OS git workflows

Installation

From Rubygems:

$ gem install fxos

From github:

$ gem "fxos", :git => "git://github.com/Gioyik/fxos.git"

From source:

$ gem build fxos.gemspec
$ gem install ./fxos-X.X.X.gem

Usage

Switch branches. If no branch is provided it will default to 'master'. If the provided branch does not exist, it is created.

$ fxos switch [branch]

Rebase branch with in base of other branch. DO NOT USE THIS FUNCTION, IS NOT COMPLETE

$ fxos rebase [branch1] [branch2]

Push all the commits in your current branch to remote.

$ fxos push

Revert a commit.

$ fxos revert [commit]

Update your from with original repo code.

$ fxos fork [branch] 

Log your git repository.

$ fxos log 

Delete a branch locally. If you want to delete it remotely too, do fxos push after this commit. ** NOTE ** If the branch is not specified it will delete the current branch you are. Be carefull!

$ fxos fork [branch] 

Commit all the changes on your branch with a message.

$ fxos commit ['message']

Squash in one commit all the commits you want.

$ fxos squash [number-of-commits]

License

This tool is licensed under MIT terms.