Skip to content

sonatard/git-switch-trainer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

git-switch-trainer

Description

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

Getting Started

Install

go get -u github.com/sonatard/git-switch-trainer/

Settings

Add alias to your .bash_profile

  • .bash_profile
alias git=git-switch-trainer
$ source ~/.bash_profile

Example

$ git checkout master 
Error: Use git switch or git restore instead of git checkout.

About

You are forced to use git switch and git restore instead of git checkout by `git-switch-trainer`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages