OVYA Git Bash Scritps  0.1.0
Useful git scritps and OVYA git workflow related scripts
Private functions

Functions

 __oglError (string)
 Output errors to stderr. More...
 
 __oglHasUpstreamBranch (string)
 Test if the given branch has on upstream. If not, output an error to stderr. More...
 

Detailed Description

Function Documentation

◆ __oglError()

__oglError ( string  )

Output errors to stderr.

Parameters
stringThe message to output
Return values
stringechoed in stderr.

◆ __oglHasUpstreamBranch()

__oglHasUpstreamBranch ( string  )

Test if the given branch has on upstream. If not, output an error to stderr.

Parameters
stringThe branch to operate on.
Return values
stringechoed in stderr if no upstream found.
Returns
0 if upstream found
1 if upstream NOT found