Questions tagged [git-clone]

Obtains a local copy of a remote Git repository.

1359 questions
-1
votes
1 answer

pushing changes from clone to main branch in github gitlab clone vs fork vs branch

New to GitHub sorry if this is trivial I did not find it, How do you push changes from a clone to the main branch? (I'm cloning a repository from gitlab) I don't see a push-button on the GitHub repository page. Also if you use git desktop with…
Hao S
  • 295
  • 1
  • 2
  • 15
-1
votes
2 answers

How to push to particular repository from where i cloned, after modification?

After cloning remote repository to my local repository,i modified data .Then i would like to push into same repository from where i cloned. how to push..?
knocknock
  • 46
  • 1
  • 2
  • 7
-1
votes
1 answer

My own git server (on EC2) git clone via ssh (permission denied) why?

I can connect from my pc to my EC2 git server using ssh ( i specified port 22 cause default port is onother): $ ssh -p22 dev@xxxxxxxxxxxx.compute.amazonaws.com this works fine, but when I try to clone I have som problems(again i specified port 22…
matQ
  • 597
  • 2
  • 13
  • 27
-1
votes
3 answers

How to clone a repo from azure through command line without using git commands

I want to clone project from azure through command prompt but I don't to use git commands. I tried using curl but didn't work. curl https://azure.com/project private-token:asdadad45457547 --output "foldername.zip" Please suggest some way to…
user12391045
-1
votes
2 answers

What difference does adding "--single-branch" make in git?

I've cloned a single branch of a repo before using git clone -b , but recently saw git clone --single-branch -b being used. What's the difference?
gkeenley
  • 6,088
  • 8
  • 54
  • 129
-1
votes
1 answer

Why does it say that https: // fatal: Too many arguments?

why do you give me this error? , I tried everything they answered in this stack over flow and nothing came from what they say Git fatal: protocol 'https' is not supported
-1
votes
1 answer

How to ignore git clone?

I had a repository. I rolled back to the old commit. Now push a new one. And I get this message. On the master branch Your branch is 10 commits behind “origin / master” and can be rewind ahead. (use "git pull" to update your local branch)…
unknown
  • 252
  • 3
  • 12
  • 37
-1
votes
2 answers

Clone a Github repo using SSH

I am trying recently to clone some Github repo using SSH but unfortunately, I don't see anymore the clone with SSH option. Clone with HTTPS is the single clone option available. Does anyone faced the same issue?
boushib
  • 3
  • 1
  • 2
-1
votes
2 answers

Clone only a particular release from the git repository

I want to clone only the release "Caffe_v1.1.4" from the GIT repository https://github.com/intel/caffe . could you please let me know the script to use to copy the content into the local folder.
Learner T
  • 11
  • 1
-1
votes
1 answer

Git clone into repo as commit

Like most git questions, someone has likely already answered this. However, I was unable to find the solution. I would like to clone one repository into a folder in another repository. However, I am having a hard time justifying a submodule since I…
Locke
  • 7,626
  • 2
  • 21
  • 41
-1
votes
1 answer

gitlab clone as another user

I'm trying to clone a project from another user, but I cannot. I'm not asked for login and password. git clone https://username:password@github.com/username/repository.git error: remote: The project you were looking for could not be found.
-1
votes
1 answer

How to Cloning Gitlab Project by Using Hook?

i have my own gitlab server. I had created new-project, and i want to clone that project repositories to gitrepo on my local machine after doing first commit, can i do that automatically by using hook? if yes which hook i must use? regards
-1
votes
2 answers

how to run git clone locally

I am new to git and i want to know how to use git repo. generally developers created for use our own. jus like i want to use any node.js example code : Git Repo Link and i have clone it by git-bash also i have download the .zip file in my local…
Mani
  • 9
  • 2
  • 10
-1
votes
1 answer

How can I clone github in cmd?

Thanks for help me I need someone to help me in cmd I can't clone git in cmd What do I need to do that ?
-1
votes
1 answer

Couldn't resolve host 'git-wip-us.apache.org' while accessing https://git-wip-us.apache.org/repos/asf/thrift.git/info/refs

I am running Cloudera (Linux) and need to clone a server for thrift installation. The command I used is Couldn't resolve host 'git-wip-us.apache.org' while accessing https://git-wip-us.apache.org/repos/asf/thrift.git/info/refs However I am getting…
Jaydeep
  • 1
  • 1