Re: Bug report: Git Stash; spelling mistake of stash followed by a yes prints character 'y' infinite times.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 03, 2017 at 03:16:06PM +0530, Rashmi Pai wrote:

> Below are the steps to reproduce.
> 1. create a local branch and make some code changes in the same branch.
> 2. now checkout another branch. git says Your local changes to the
> following files would be overwritten by checkout.
> 3. Now do git stahs ( spelling mistake )
> 4. Now git says git: 'stahs' is not a git command. See 'git --help'.
> 
> Did you mean this?
> 
> stash

After this step git exits, and you're back at your shell prompt...

> 5. Now types yes. and you will see character 'y' getting printed
> infinite times!.

...so when you type "yes" here, it is running the "yes" program. Whose
function is to print an infinite number of y's. See "man yes" for more
details.

-Peff



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]