Switch between your git profiles easily

Related tags

Git config git cli tool switch
Overview

Git Profile Switcher

Switch between your git profiles easily

Install

With Brew

brew install theykk/tap/git-switcher

With golang

go get github.com/theykk/[email protected]

Switch Profile

asciicast

Create Profile

asciicast

Comments
  • Hability to switch profile without prompt

    Hability to switch profile without prompt

    Hi,

    Is possible to add hability to switch profile directly from CLI without prompting for selection ?

    For example :

    git-switcher Profile1   # Select Profile1
    git-switcher Profile2   # Select Profile 2
    
    opened by vfricou 2
  • Is trying to access ~/.config/gitconfigs but in macos system the path is ~/.gitconfig

    Is trying to access ~/.config/gitconfigs but in macos system the path is ~/.gitconfig

    Hi,

    Is trying to access ~/.config/gitconfigs and is panicing.

    But in my macos system the right path is ~/.gitconfig There is a way to configure it?

    thank you

    opened by airtonGit 1
  • Please fix the github URL in tap

    Please fix the github URL in tap

    brew install is failing because of wrong URL in tap -

    Tapped 1 formula (15 files, 13.4KB).
    ==> Installing git-switcher from theykk/tap
    ==> Downloading https://github.com/github.com/TheYkk/git-switcher/releases/download/0.0.2/git-switcher_0.0.2_Darwin_x86_64.tar.gz
    #=#=#                                                                         
    curl: (22) The requested URL returned error: 404 
    Error: Failed to download resource "git-switcher"
    Download failed: https://github.com/github.com/TheYkk/git-switcher/releases/download/0.0.2/git-switcher_0.0.2_Darwin_x86_64.tar.gz
    
    opened by smruti-21 1
  • feat: add cli case to directly switch profile

    feat: add cli case to directly switch profile

    Feature

    • Adding a new CLI switcher to perform direct switch without interaction (git-switcher switch Profile2)

    Informations

    • Correspond to issue #10
    • Check profile selection existance. Exist with message if not exist.
    • Reuse same code block for profile substitution on system (link delete and recreate)
    opened by vfricou 0
  • fix: delete and rename fatal error

    fix: delete and rename fatal error

    If delete or edited selected git profile, program send fatal error because symlink destination not found. I fixed it by remove symlinks, gitprofile and add new gitprofile.

    opened by AbdullahAki 0
  • feat: added `edit` command

    feat: added `edit` command

    Hi Kaan, I think we needed a command to quickly edit the profile's config.

    Flow:

    • Check EDITOR env. var
      • if exists: run command with default EDITOR
      • if not exists:
        • set default editor to vim (also if runtime.GOOS equal windows, set default editor to notepad++) and run command
    • Check error and finish job
    opened by anilmisirlioglu 0
Releases(0.1.1)
Owner
Kaan Karakaya
Software & DevOps Engineer | Founder of Cubeta.co
Kaan Karakaya
A simple cli tool for switching git user easily inspired by Git-User-Switch

gitsu A simple cli tool for switching git user easily inspired by Git-User-Switch Installation Binary releases are here. Homebrew brew install matsuyo

Masaya Watanabe 202 Sep 15, 2022
Git with a cup of tea, painless self-hosted git service

Gitea - Git with a cup of tea View the chinese version of this document Purpose The goal of this project is to make the easiest, fastest, and most pai

Gitea 32.5k Sep 29, 2022
ReGit: A Tiny Git-Compatible Git Implementation written in Golang

ReGit is a tiny Git implementation written in Golang. It uses the same underlying file formats as Git. Therefore, all the changes made by ReGit can be checked by Git.

null 166 Aug 30, 2022
A Git RPC service for handling all the git calls made by GitLab

Quick Links: Roadmap | Want to Contribute? | GitLab Gitaly Issues | GitLab Gitaly Merge Requests | Gitaly is a Git RPC service for handling all the gi

null 1 Nov 13, 2021
Removes unnecessarily saved git objects to optimize the size of the .git directory.

Git Repo Cleaner Optimizes the size of the .git directory by removing all of the files that are unnecessarily-still-saved as part of the git history.

Omar Yasser 2 Mar 24, 2022
Git-now-playing - Git commits are the new AIM status messages

git-now-playing git-now-playing is an attempt to bring some of the panache of th

Paddy 1 Apr 4, 2022
Sync tags in your git repository and a changelog in Keep a Changelog format with releases of your GitLab project.

Automatic GitLab releases Sync tags in your git repository and a changelog in Keep a Changelog format with releases of your GitLab project. Features:

null 0 Jan 7, 2022
go mod vendor lets you check in your dependencies to git, but that's both bloaty (for developers) and tedious (remembering to update it).

go-mod-archiver Afraid of being unable to build historical versions of your Go program? go mod vendor lets you check in your dependencies to git, but

Tailscale 83 Aug 28, 2022
Simple git hooks written in go that installs globally to your machine

Go-hooks Simple git hooks written in go that installs globally to your machine Install curl -fsSL

Vadim Makerov 1 Aug 23, 2022
Installs git repos onto your system and keeps them up-to-date

Gitfile Installs git repos onto your system and keeps them up-to-date. It's a lightweight package manager for things that haven't been published to a

Brad Urani 18 Jan 16, 2021
Gogs is a painless self-hosted Git service

Gogs - A painless self-hosted Git service 简体中文 ?? Vision The Gogs (/gɑgz/) project aims to build a simple, stable and extensible self-hosted Git servi

Gogs 41k Oct 2, 2022
A highly extensible Git implementation in pure Go.

go-git is a highly extensible git implementation library written in pure Go. It can be used to manipulate git repositories at low level (plumbing) or

go-git 3.9k Oct 2, 2022
commit/branch/workdir explorer for git

gitin gitin is a commit/branch/status explorer for git gitin is a minimalist tool that lets you explore a git repository from the command line. You ca

Ibrahim Serdar Acikgoz 1.8k Sep 22, 2022
A command-line tool that makes git easier to use with GitHub.

hub is a command line tool that wraps git in order to extend it with extra features and commands that make working with GitHub easier. For an official

GitHub 22.1k Sep 28, 2022
A tool to monitor git repositories and automatically pull & push changes

git-o-matic A tool to monitor git repositories and automatically pull & push changes Installation Packages & Binaries Arch Linux: gitomatic Binaries f

Christian Muehlhaeuser 1k Sep 21, 2022
SQL interface to git repositories, written in Go. https://docs.sourced.tech/gitbase

gitbase gitbase, is a SQL database interface to Git repositories. This project is now part of source{d} Community Edition, which provides the simplest

source{d} 2k Sep 16, 2022
Fast and powerful Git hooks manager for any type of projects.

Lefthook The fastest polyglot Git hooks manager out there Fast and powerful Git hooks manager for Node.js, Ruby or any other type of projects. Fast. I

Abroskin Alexander 2.4k Sep 25, 2022
Implementation of git internals from scratch in Go language

This project is part of a learning exercise to implement a subset of "git" commands. It can be used to create and maintain git objects, such as blobs, trees, commits, references and tags.

Shyamsunder Rathi 36 Aug 30, 2022
A Simple and Comprehensive Vulnerability Scanner for Container Images, Git Repositories and Filesystems. Suitable for CI

A Simple and Comprehensive Vulnerability Scanner for Containers and other Artifacts, Suitable for CI. Abstract Trivy (tri pronounced like trigger, vy

Aqua Security 14k Sep 25, 2022