Updates all remote-tracking branches that have identical name in the
remote.
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
gbp_args.append('--depth=%s' % args.depth)
if args.force:
gbp_args.append('--force=clean')
+ if args.all:
+ gbp_args.append('--all')
if args.debug:
gbp_args.append("--verbose")
parser.add_argument('--force', action='store_true',
help='force branch update even if unable to '
'fast-forward, WARNING: local changes may be lost')
+ parser.add_argument('--all', action='store_true',
+ help='update all branches')
return parser
def main(argv):