All Projects → ziishaned → Git Profile

ziishaned / Git Profile

Licence: mit
Utility that helps you switch git configurations with ease.

Projects that are alternatives of or similar to Git Profile

Module Profiler
Magento 2 Profiler
Stars: ✭ 116 (-50.85%)
Mutual labels:  profile
Bornmay
Awesome Github Profile Readme. Github ReadMe Github Profile Readme Dynamic Github ReadMe Dynamic Github Profile ReadMe. Please Star and Fork
Stars: ✭ 140 (-40.68%)
Mutual labels:  profile
Androidgodeye
An app performance monitor(APM) , like "Android Studio profiler", you can easily monitor the performance of your app real time in browser
Stars: ✭ 2,430 (+929.66%)
Mutual labels:  profile
Pepper Metrics
pepper metrics is a tool, it can helps you collect runtime performance use RED method, and then output as log / timeseries data, by default it use prometheus as datasource, grafana as UI
Stars: ✭ 119 (-49.58%)
Mutual labels:  profile
Php Login System
Embeddable and Secure PHP Authentication System with Login, Signup, User Profiles, Profile Editing, Account Verification via Email, Password Reset System, Remember-Me Feature and more.
Stars: ✭ 135 (-42.8%)
Mutual labels:  profile
Sapic
A useful tool to crop your Steam profile background for showcases.
Stars: ✭ 189 (-19.92%)
Mutual labels:  profile
Datingapp
Dating UI kit is used for online meet up with girls and boys . The screen contains more than 30 icons and most of all required elements required to design an application like this. The XML and JAVA files contains comments at each and every point for easy understanding. Everything was made with a detail oriented style and followed by today's web trends. Clean coded & Layers are well-organized, carefully named, and grouped.
Stars: ✭ 97 (-58.9%)
Mutual labels:  profile
Speedscope
🔬 A fast, interactive web-based viewer for performance profiles.
Stars: ✭ 3,256 (+1279.66%)
Mutual labels:  profile
Webpackbar
Elegant ProgressBar and Profiler for Webpack 3 , 4 and 5
Stars: ✭ 1,887 (+699.58%)
Mutual labels:  profile
Iky
OSINT Project
Stars: ✭ 203 (-13.98%)
Mutual labels:  profile
Profileio
Static site and resume generator from YAML based profile for students and researchers. Generates ready to deploy branches via github actions.
Stars: ✭ 122 (-48.31%)
Mutual labels:  profile
Fraternate
Fraternate is a standalone copy of the GitHub organization and user interaction framework. Built with Mongo dB | Node.js® | Express.js | Handlebars.js | Bootstrap.
Stars: ✭ 130 (-44.92%)
Mutual labels:  profile
Accounts Ui
Accounts UI for React in Meteor 1.3+
Stars: ✭ 197 (-16.53%)
Mutual labels:  profile
Materialabout
It's a material-design about screen to use on your Android apps. A developer profile and application information easy to integrate. 🔖
Stars: ✭ 1,511 (+540.25%)
Mutual labels:  profile
Ehtrace
ATrace is a tool for tracing execution of binaries on Windows.
Stars: ✭ 218 (-7.63%)
Mutual labels:  profile
Linkedrw
A simple CLI to create your resume and personal website based on your LinkedIn profile or a JSON file
Stars: ✭ 104 (-55.93%)
Mutual labels:  profile
Adidas Bot
Browser automation tool for buying adidas shoes
Stars: ✭ 146 (-38.14%)
Mutual labels:  profile
Metrics
📊 An infographics generator with 30+ plugins and 200+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!
Stars: ✭ 4,621 (+1858.05%)
Mutual labels:  profile
Github Profilinator
🚀 This tool contains mini GUI components that you can hook together to automatically generate markdown code for a perfect readme.
Stars: ✭ 225 (-4.66%)
Mutual labels:  profile
Anmol098
If you are forking please do not forget to star the repo
Stars: ✭ 203 (-13.98%)
Mutual labels:  profile

git-profile

Utility that helps you switch git configurations with ease

Build Status Latest Version Software License

Preface

It is possible that you have multiple git configurations. For example:

; Office Profile
Name: John Doe
Email: [email protected]

; Personal Profile
Name: John Doe
Email: [email protected]

It could be a hassle to remember and switch between the profiles while working on different projects.

This utility aims to make this hassle free.

Features

  • Create and manage profiles globally; create once, use anywhere
  • Set profile for a specific project
  • Set global profile with a single command

This utility helps you save profiles and then you can switch between them using a single command.

Install

$ composer global require zeeshan/git-profile

Then check your $PATH variable. It must contain ~/.composer/vendor/bin dir.

$ echo $PATH

/usr/local/sbin:/usr/bin:/bin:/usr/sbin:/home/username/.composer/vendor/bin

Modify your .zshrc or .bashrc files if your $PATH variable not contain composer/bin dir.

export PATH=~/.composer/vendor/bin:$PATH

Also you can use .phar file

  • Download the file from here
  • sudo chmod -R 755 git-profile
  • sudo mv git-profile /usr/local/bin/git-profile

Usage

$ git-profile [options] <command>

Options

-h, --help              Display this help message
-V, --version           Display this application version
--ansi                  Force ANSI output
--no-ansi               Disable ANSI output

Commands

rm                      Remove git profile
use                     Change git profile locally or globally
add                     Create a new git profile
show                    Show details for an existing profile
update                  Update details for an existing profile
current                 Gets the currently set profile
list                    List of profiles

Examples

Find some of the sample usages below

Adding Profiles

$ git-profile add

[+] Enter profile title: Office

[+] Enter Name: John Doe
[+] Enter Email: [email protected]
[+] Enter Signingkey: B7156A83

[OK] Profile "Office" saved successfully

Remove Git Profile

$ git-profile rm "Office"

[OK] Profile "Office" successfully removed

Show Details for a profile

$ git-profile show "Office"

[+] Name:  John Doe
[+] Email: [email protected]
[+] Signingkey: B7156A83

Updating Profile

$ git-profile update "Office"

[+] Enter Name: Jane Doe
[+] Enter Email: [email protected]
[+] Enter Signingkey: 547ABB1C

[OK] Profile "Office" updated successfully

Switching Profile

Setting details locally i.e. set profile for the current project

$ git-profile use "Office"

[OK] Switched to "Office"

Setting details globally i.e. set global configuration

$ git-profile use "Office" --global

[OK] Switched to "Office"

Get Current Profile

$ git-profile current

[+] Current Profile "Office"
[+] Name: John Doe
[+] Email: [email protected]
[+] Signingkey: 547ABB1C

Side note It should be noted that profiles are maintained globally. When you use some profile locally, what it does is get the configuration for that profile and sets it for the current project. i.e. when use is run locally it is equivalent to

$ git config user.name "Name for specified profile"
$ git config user.email "[email protected]"
$ git config user.signingkey "SIGNINGKEY"

Profiles List

$ git-profile list

Available profiles:
    Github
    Home
    Office

License

MIT © Zeeshan Ahmad

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].