Skip to content

Instantly share code, notes, and snippets.

View vmassuchetto's full-sized avatar

Vinicius Massuchetto vmassuchetto

View GitHub Profile
@vmassuchetto
vmassuchetto / commit.sh
Created September 25, 2017 15:21
Commit and push changes on a shared codebase using a single user (used in Cobol mainframes for teams not familiar with Git)
#!/bin/sh
#
# Script to help users in version control in a shared codebase
# and a single user account. It will parse a USERS_FILE to
# fill the proper committer info and push changes. Pull and
# merges are not used. Pushes are forced because the main codebase
# is the work-tree and not the upstream code.
#