git: 'remote-https' is not a git command. See 'git --help' - django

I have been trying to clone my repository and it shows the following error:-
git: 'remote-https' is not a git command. See 'git --help'
Here is my:-
Clone from
https://github.com/NavyaThakur/django-project1
To directory
C:\Users\91933\github\django-project1
I tried reinstalling github desktop but no use.
Please help me through this

Try git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY
so for you git clone https://github.com/NavyaThakur/django-project1
Git Clone Documentation

This error means your git executable was not built with ssl and/or libcurl.
From experience this seems to be a problem on some RedHat based distributions.
If you have admin access just make use you install the correct git client. If not you will have to build git yourself or install from a repository into your user account (both of which are not trivial, sorry)

Related

With superset installed from git clone unable to find the site-packages?

I have superset installed from a git clone.
All seems to be working ok but I don't have the site-packages. For example File "/usr/local/lib/python3.8/site-packages/flask/cli.py" is missing
I have been looking around the official documentation but I cannot how.

Git clone issue into specific folder

I have an issue with cloning private repository into my instance(ec2: CentOS 7).
I've generated the key and added it to github.
The problem is when I'm trying to clone it into /home/app directory (Permission denied (publickey)...), but when I run the same command in /home/ec2-user/app it works fine.
Looks like a permissions issue.
My command:
sudo git clone git#github.com:.../my_website.git
Would be appreciate for any advise
I solved it by running:
sudo chmod 777 app
But I don't think it's a perfect solution

How to add a git clone command in Dockerfile

I would like to clone a GitHub repo through my requirements.txt in Docker.
Actually the requirements file contains :
-e git://github.com/USERNAME/REPO.git
Django==1.11.8
....
what is the specific command that I should add in Dockerfile to execute correctly the git clone command.
I tried RUN git clone git#github.com:USERNAME/REPO.git without any success.
Any suggestions ?
I found a solution,
I simply modify my code from
-e git://github.com/USERNAME/REPO.git to
git+https://github.com/USERNAME/REPO.git and it works great.

Installing an old version of Foundation

Is there any way to easily install a Foundation version, other that the latest one? Instructions for "manual" install start with
git clone https://github.com/zurb/foundation-sites-template projectname
Ideally, I'd like to be able to do something like
git clone https://github.com/zurb/foundation-sites-template/tree/v6.1.2 projectname
but there is no such v6.1.2 tag
EDIT:
I have found a workaround - I run
git clone https://github.com/zurb/foundation-sites-template projectname
And then I edit the dependencies in bower.json and proceed with the rest of the installation. At least it works for my purposes, as I mainly need the scss stuff, not the whole project. And I still have to hunt for the correct versions of scss/app.scss and scss/_settings.scss as the ones getting downloaded are for the latest version.
Would be nice if there was a fully automated way of installing a version other than the latest.
There is actualy NO TAG for the Zurb-Foundation TEMPLATE project on github (https://github.com/zurb/foundation-sites-template):
Maybe you could switch to the actual Site project if it is what you are looking for.
EDIT:
I suggest making a ps1 or .bat script that would do the following
git clone https://github.com/zurb/foundation-zurb-template projectname
cd projectname
cp C://bower.json bower.json -f
npm install
bower install
You could also fork the template project on Github and edit it's bower.json so it's always up to date and there is no need to use the cp command
Or make a git repo of the variables you are using and do something like
git clone https://github.com/zurb/foundation-zurb-template projectname
git clone https://github.com/you/foundation-version foundation-version
cd projectname
cp ../foundation-version/bower.json bower.json -f
npm install
bower install

How to install homebrew packages locally

I got homebrew installed, however I do not have admin access. How do I install homebrew packages without admin access? Is there a local tag or something that I keep missing?
Homebrew needs /usr/local to be chown-ed to your user, and you need sudo for that. If you can’t you have to install it elsewhere. Some people use ~/.brew or ~/homebrew; you can use anything but avoid paths with spaces. See the docs here.
Let’s say you want to install in ~/.brew; run the following command:
git clone --depth=1 https://github.com/Homebrew/brew ~/.brew
Then ensure the bin and sbin directories are in your PATH. If you’re using Bash add the following in your ~/.bash_profile:
export PATH="$HOME/.brew/bin:$HOME/.brew/sbin:$PATH"
Run source ~/.bash_profile or restart your shell and run brew doctor to see if it’s installed correctly. It should warn you it’s not installed into /usr/local but that’s expected here.
To install homebrew without sudo.
git clone https://github.com/mxcl/homebrew.git
echo 'export PATH="/path/to/cloned_folder/homebrew/bin:$PATH"' >> ~/.bash_profile
Update the /path/to/cloned_folder with the path of the homebrew cloned folder.
Restart terminal and run
brew update
brew --version
git clone https://github.com/Homebrew/brew
pwd
echo 'export PATH="*RESULT_OF_PWD*/brew/bin:$PATH"' >> ~/.bash_profile
if it's for programming/building purposes you could also is easy to download the formula, extract the download url, and unzip it in your prefix (is your local folder): it's json https://formulae.brew.sh/api/formula/gtk+3.json