Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I restart git bash?

Tags:

git

Various documentation such as

http://confluence.atlassian.com/display/BITBUCKET/Set+up+SSH+for+Git

and

http://help.github.com/ssh-key-passphrases/

Refer to restarting git bash. How do I do this from Linux?

like image 307
deltanovember Avatar asked May 07 '12 13:05

deltanovember


People also ask

How do I start git bash?

Git Bash comes included as part of the Git For Windows package. Download and install Git For Windows like other Windows applications. Once downloaded find the included .exe file and open to execute Git Bash.

How do I restart a git repository?

If you want to restart a git repo, nuke the . git directory and do git init add your files/directories and commit.

How do I force close git bash?

To exit from bash type exit and press ENTER . If your shell prompt is > you may have typed ' or " , to specify a string, as part of a shell command but have not typed another ' or " to close the string. To interrupt the current command press CTRL-C .

How do I start git from command line?

Run Command Prompt as Administrator and type choco install git and you'll be able to install git devoted to the command line.


1 Answers

This is referring to the Git Bash shell which is installed via Cygwin on Windows systems. If you need to do this on Linux, simply close and reopen your terminal window. Often you can replace this step with source ~/.bashrc

like image 186
Michael Mior Avatar answered Sep 30 '22 07:09

Michael Mior