Categorygithub.com/ytkg/git-not-young
repositorypackage
0.0.1
Repository: https://github.com/ytkg/git-not-young.git
Documentation: pkg.go.dev

# README

git-not-young

Description

You are forced to use git checkout instead of git switch and git restore by git-not-young.

Getting Started

Install

go get -u github.com/ytkg/git-not-young/

Settings

Add alias to your .bash_profile

  • .bash_profile
alias git=git-not-young
$ source ~/.bash_profile

Example

$ git switch main
Error: Use git switch or git restore instead of git switch.