arrow_upward

Pages (2):
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Git Clone COMMAND not working in kali!
#1
Hey plz help me out,.
I wanted to clone a git file from github....
But when I write the command...
git clone https://github.com/YOUR REPO/YOUR REPOSITORY

[font=Roboto, sans-serif](*Replace your repo and your repository with your git file on github)
[/font]


[font=Roboto, sans-serif]Then it shows a error[/font]
bash: git: command not found

[font=Roboto, sans-serif][font=Roboto, sans-serif]Plz help me out...
[/font]
[/font]


[font=Roboto, sans-serif][font=Roboto, sans-serif]Anyone who knows Kali then plz help me![/font][/font]
Terminal
Thankyou Post4VPS, @Pacific Spirit (Hostlease) for a Free VPS!
+
Thankyou to @Neoon for a Free NanoKVM VPS
#2
It seems you just forget to install git first.

Try:

apt-get install git

It should then work.


#3
(08-21-2018, 06:10 AM)tryp4vps Wrote: It seems you just forget to install git first.

Try:

apt-get install git

It should then work.

Hey I tried to install >> git << but when I tried to install it was not fetching files....it was showing errors!
I am right now not on my PC so I right now can't post the screenshots...
Is there any way through which I can install git files offline!
Terminal
Thankyou Post4VPS, @Pacific Spirit (Hostlease) for a Free VPS!
+
Thankyou to @Neoon for a Free NanoKVM VPS
#4
Guess he should use sudo,

sudo apt-get install git

Then insert your password.
It should works.
Thanks to Limitless Hosting and Post4VPS for providing me excellent VPS 13!
#5
The git command not found because the git package probably isnt installed
try using apt-get or yum depending on your distro to install the git package
Terminal
humanpuff69@FPAX:~$ Thanks To Shadow Hosting And Post4VPS for VPS 5
#6
(08-21-2018, 01:16 PM)humanpuff69 Wrote: The git command not found because the git package probably isnt installed
try using apt-get or yum depending on your distro to install the git package
Agreed that this is probably the problem.  @Amresh - you can Google this problem and how to load and set up git and git permissions if you haven't got the package installed yet. 

There are many tutorials online for how to install the Git package, this one is a good example of which install commands to use:

https://www.liquidweb.com/kb/install-git-ubuntu-16-04-lts/

There are plenty of tutorials for setting up git for the first time, the one below is a good example:
https://git-scm.com/book/en/v2/Getting-S...-Git-Setup
Terminal
Thank you to Post4VPS and VirMach for my awesome VPS 9!  
#7
Isn't Kali Linux, linux anyway? If so using apt-get will work. As many people suggested here. Use

sudo apt-get install git

That should do the trick and install git on your system, then you will be able to clone the repository by using this command

git clone [repo url]

And you are good to go
No one knows what the future holds, that's why its potential is infinite
#8
sudo apt-get install git
Then you can use git clone (url)
You cant get any file offline.
#9
Hey guys thanks for the reply!

But I am still facing issues!

When I was installing git using sudo apt-get ....
I was being displayed by an error saying that >>Error in File Fetching<< or somewhat like this only!

I was thinking that is there any way through which I can install git offline.....like first I download the package and install it from the terminal offline!
Terminal
Thankyou Post4VPS, @Pacific Spirit (Hostlease) for a Free VPS!
+
Thankyou to @Neoon for a Free NanoKVM VPS
#10
Post the whole error log of apt-get output please. There might be an issue with the package manager, or something else. Without the full error log it is hard to pin point the issue.
[Image: zHHqO5Q.png]
Pages (2):


Possibly Related Threads…
Thread
Author
Replies
Views
Last Post
4,009
02-05-2019, 04:15 PM
Last Post: deanhills

person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting