Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install git bash on ubuntu? [closed]

Tags:

git

ubuntu

I am new to Ubuntu. Previously I was on Windows and was using git bash for git commands. But I have decided to use Ubuntu and I installed git but I am not sure whether it is necessary to install git bash on Ubuntu? And, if it is necessary, how should I install it?

like image 651
minhaz Avatar asked Jul 15 '12 12:07

minhaz


People also ask

How do I open the Git Bash command-line in Linux?

Step 1: Go to Github repository and in code section copy the URL. Step 2: In the Command prompt, add the URL for your repository where your local repository will be pushed. Step 3: Push the changes in your local repository to GitHub.

How do I reinstall Git Bash?

How to install 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 manually install Git?

To install Git, navigate to your command prompt shell and run the following command: sudo dnf install git-all . Once the command output has completed, you can verify the installation by typing: git version .


1 Answers

If it's not installed yet:

sudo apt-get install git-core 

Check installation:

git --version 

When it's installed, you can use it inside your existing bash in ubuntu.

like image 65
Cedric Reichenbach Avatar answered Oct 05 '22 21:10

Cedric Reichenbach