I'm following the AngularJS tutorial and am cloning the source code using the instructions:
Clone the angular-phonecat repository located at GitHub by running the following command:
git clone --depth=14 https://github.com/angular/angular-phonecat.git
This command creates the angular-phonecat directory in your current directory.
However, running this at
~\users\myuser\development
creates
~\users\myuser\development\angular-phonecat
but without the source code inside it. It creates the directory, but clones my personal bitbucket repository into the new directory.
Do I need to change a global or local setting or use another command or argument to force to git to pull from the repository declared in the command?
EDIT The following commands and output should add some colour:
machinename:development user$> git config --get remote.origin.url
https://stuperuser@bitbucket.org/stuperuser/spikes.gitmachinename:development user$> ls
spikes sublime-projectsmachinename:development user$> git clone --depth=14 https://github.com/angular/angular-phonecat.git Cloning into 'angular-phonecat'...
Password for 'https://stuperuser@bitbucket.org':
remote: Counting objects: 58, done.
remote: Compressing objects: 100% (55/55), done.
remote: Total 58 (delta 3), reused 0 (delta 0)
Unpacking objects: 100% (58/58), done.
Checking connectivity... done.machinename:development user$> ls
spikes sublime-projects
angular-phonecat