Show Menu
Cheatography

LM build Cheat Sheet (DRAFT) by

The lm build are set of utilities for developers for all daily tasks, and most of them are build on top of git.

This is a draft cheat sheet. It is a work in progress and is not finished yet.

Setup

Update
lm update
Configure github
lm github­-setup
Configure jira
lm jira-setup
Install lm hooks
lm instal­l-hooks

Basic usage

Create a branch
lm branch­-create
lm branch­-create <jira issue>
Open a pull request
lm pr
Push commits
lm xpush
Local branch clean
lm branch­-clean
Sync local branch
lm branch­-sync
 

Developer utilities

Bamboo clock-in and clock-out
lm bamboohr clock-in
lm bamboohr clock-out
VPN helper
lm vpn

Advanced use cases

Avoid execute test pushing to an open pull request
lm xpush --no-v­erify
Regenerate pull request tests
lm pr-test --refr­esh-pr
lm report­-upload
Commit avoiding check fails
git commit --no-v­erify
Open a pull request without tests
lm pr --no-test
Clean remote branches
lm branch­-clean --remote