hub
https://github.com/mislav/hub
Go
A command-line tool that makes git easier to use with GitHub.
Gitlab::FileDetector.type_of
Returns the type of a file path, or nil if none could be detected.
Returned types are Symbols such as `:readme`, `:version`, etc.
Example:
type_of('README.md') # => :readme
type_of('VERSION') # => :versionEdit
git clone [email protected]:mislav/hub.git
cd hub
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Gitlab--FileDetector-type_of-for-pr
# Commit to gitgit add git commit -m "better docs for Gitlab::FileDetector.type_of"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Gitlab--FileDetector-type_of-for-pr
hub pull-request
# Celebrate!