Questions tagged [git-clone]

Obtains a local copy of a remote Git repository.

1359 questions
0
votes
0 answers

How do i download a github repository using git clone

I have a github link: https://github.com/TarrySingh/Artificial-Intelligence-Deep-Learning-Machine-Learning-Tutorials/tree/master/machine-learning i want to use the git clone to download the file in this repository in my local environment (named…
Pumpkin C
  • 1,452
  • 6
  • 21
  • 27
0
votes
1 answer

Git user dependent history or user dependent content

I'm facing a problem of watermarking my work. I want to provide my work to my customers using git repository but with benefits of a doubt. I know how to watermark my work but the question is how to do it per user. Is there a way to modify content…
Logman
  • 4,031
  • 1
  • 23
  • 35
0
votes
1 answer

Cloning complex svn branch setup with git svn clone

In our svn repo, I have branches located in /branches. I also have branches located in /branches/subdir1 and /branches/subdir2. I have tried passing --branches=/branches but that doesn't get what is inside subdir1 & subdir2. I have tried passing…
SQlBeginner
  • 65
  • 3
  • 9
0
votes
1 answer

git svn clone is skipping revisions

I am converting our svn repository to git. However, when I run "git svn clone" on our current svn repo, many revisions are getting skipped. For example, svn revision 2 is skipped, but when I run "svn log -r 2" in our svn repo, there is an entry for…
SQlBeginner
  • 65
  • 3
  • 9
0
votes
1 answer

How can I get files from a git repo from one folder to another folder that already contains files, but is not a repo?

To explain better: I have a netbeans project that uploads files to my remote development server. The project I'm working on was perfect for open source, so I created a new github repo. There were a lot of configuration files and other tidbits (like…
Stephen
  • 18,827
  • 9
  • 60
  • 98
0
votes
1 answer

libgit2sharp not able to commit files only to particular Branch. Help required

I have cloned a repo in my local drive. And was able to create branches using libgit2sharp. Below is the code I have used. //Clone var WorkDir = Repository.Clone(, ); //Branch create var branch =…
Adi n
  • 1
0
votes
0 answers

git clone : different result in windows and in ubuntu

I'm doing the same git clone on Windows 7 and on Ubuntu 17.04 (in a VM with VirtualBox) but I don't get the same result with a git status. I do git status right after the git clone is over. On Windows : $ git status On branch master Your…
pwet84
  • 1
0
votes
2 answers

get changes in git remote branch

I am a tester and have limited knowledge about Git. I have cloned a project to create local repository. When I have to get changes for last 'x' days, I run git pull followed by git diff '@{ x days ago}'. Now I want to get changes in developers…
Ethan Hunt
  • 93
  • 1
  • 1
  • 9
0
votes
1 answer

Git clone Heroku app

How can I use git clone for someone else's Heroku app? All I can find is on your own Heroku app. Reason I want to do this is that I am using a boilerplate code for part of my app but the github repo is out of date and doesn't work but the linked…
user8722848
0
votes
1 answer

Bash Script git clone credential prompt

I'm trying to git clone a remote repository by using a simple bash script, but I could not get pass the prompt where github asks for my username and password. Here is my condensed version of the…
norrin
  • 171
  • 8
0
votes
1 answer

CLI Message- trying to clone a repo

I'm trying to clone a repo to my work computer so that I can work on a react tutorial and when I say git clone address of the repo I get the following message: Cloning into 'ReduxSimpleStarter'... Warning: Permanently added the RSA host key for IP…
0
votes
1 answer

How to Clone Repository using GitPython

I am new to Python and Git. Found GitPython library to run Git commands using Python. I am trying to clone an already created private repository on Google Cloud to my local directory on Mac. My code is as follow: repo =…
Hussain
  • 1
  • 2
0
votes
2 answers

Gitcola says "you must stage at least 1 file before you can commit"

Although I have made changes to the folder of the repository I cloned, somewhy I cannot commit..
NiHao92
  • 379
  • 1
  • 3
  • 16
0
votes
1 answer

Cloning bit-bucket repo with https using dockerfile.How to pass a password?

I have a dockerfile. In which i have to clone a repository from bitbucket using https url but how am i suppose to pass a password to make the clone complete? And yes i tried ssh .it works but i need https clone for some shell script to run so that…
tushar patil
  • 359
  • 2
  • 4
  • 13
0
votes
1 answer

Git clone command not showing the remote branchs

I have a remote git repo that has a master branch1 and branch2 when i perform a git clone,I am only able to see the master and the remote branches are missing. What could be done to fix this issue ? when i do git branch -a $ git branch -a * master …