Project Awesome project awesome

git-user

# add a work profile for Henry $ git user add work "Dr. Henry Jekyll"henry@jekyll.com Added profile 'work' # add a personal profile for Edward $ git user add home "Edward Hyde" hyde@night.com Added profile 'home' # list out our saved profiles $ git user list Global Profile: User: Henry <hjekyll@gmail.com> Saved Profiles: home: Edward Hyde <hyde@night.com> work: Dr. Henry Jekyll <henry@jekyll.com> # set the current git repository user to the home profile $ git user set home The user for the 'project' repository has been set too 'Edward Hyde <hyde@night.com>' # list profiles again, notice how the current repository profile is now set $ git user Project Profile: Path: /path/to/git/project User: Edward Hyde <hyde@night.com> Saved Profiles: home: Edward Hyde <hyde@night.com> work: Dr. Henry Jekyll <henry@jekyll.com>

Package 50 stars GitHub
Back to Git Add-ons