Git command

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Git command
# 1  
Old 10-24-2017
Git command

trying to add git link to my computer as root and getting error message


Code:
git clone https://github.com/xxxxxxx/xxxxx.sh
bash: git: command not found

Moderator's Comments:
Mod Comment Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-24-2017 at 12:41 PM.. Reason: Added CODE tags.
# 2  
Old 10-24-2017
You may need to install the git command / package. Check your package manager.
# 3  
Old 10-24-2017
error message

now installed git and then try to run the command
Code:
git clone https://github.com/xxxxxxx/xxxxx.sh

Cloning into 'xxxxxx'...
fatal: repository 'https://github.com//xxxxx/' not found


Moderator's Comments:
Mod Comment Seriously: Please use CODE tags as required by forum rules!

Last edited by RudiC; 10-24-2017 at 01:58 PM.. Reason: Added CODE tags.
# 4  
Old 10-24-2017
Code:
dnf install git

Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Git or PKGutil

i am running solaris 10 and they want GIt on there. The instructions that I found on line want me to use pkgutil which i don't have either. Most packages that i have installed come from the cd and are labeled SUNW... I see one instruction to add pkgadd -d http://get.opencsw.org/now ... (4 Replies)
Discussion started by: goya
4 Replies

2. UNIX for Beginners Questions & Answers

Install git on UNIX

How can I install git on unix using wget? (7 Replies)
Discussion started by: Akash BHardwaj
7 Replies

3. Solaris

Git Solaris

I need to be able to run git commands on a solaris 10 box, the git server is a Linux rh 6.9 , but I can not find much info out there on a git client for solaris 10. Is it just a pkgadd, or and install tar? or is there even any support for Solaris 10 git? My reading so far had not turned much up. ... (1 Reply)
Discussion started by: rrodgers
1 Replies

4. OS X (Apple)

Man git -add

I meant to type in: man git-add //no space but I typed this in instead: man git -add // space between git and -add There were all these spewing out; not quite sure what I did. I am new to unix and the terminal. Does anyone know what man git -add does and how do I undo... (2 Replies)
Discussion started by: BuDop
2 Replies

5. Shell Programming and Scripting

Why my git command has no output in crontab but works well run this script manually?

cat /home/lyang001/update.sh #!/bin/sh #shopt -s expand_aliases HOME_DIR=/home/lyang001/updates UPDATE_MAIL=${HOME_DIR}/updates.mail rm $UPDATE_MAIL -rf cd $HOME_DIR/wr-kernel git log --no-merges --since="20 day ago" --name-status --pretty=format:"%an %h %s %cd" origin/WRLINUX_5_0_1_HEAD >>... (2 Replies)
Discussion started by: yanglei_fage
2 Replies

6. UNIX for Dummies Questions & Answers

Updating git clones

Hi, I'm fairly new to the git command and I'm trying to figure out how to check if your local clone is up to date with the master. I know you can do the same thing on packages with apt-get by using update and then upgrade. Is there something similar with git? (0 Replies)
Discussion started by: silverdust
0 Replies

7. AIX

GIT issue in AIX 6.1

Hello, I recently installed GIT 1.8.1 on my AIX 6.1 machine referring to AIX Open Source Packages | Main / git website and am facing a few issues with it. Now if I login as root and issue git commands like git --version I get the response as shown : git version 1.8.1And I have tried creating... (4 Replies)
Discussion started by: gaugeta
4 Replies
Login or Register to Ask a Question