Reputation: 2202
So I have few .mp4 files in my heroku repository. And I want to download them to my local repositroy.
I'm doing it like this:
git pull heroku master
But it doesn't download the .mp4 files. How can I get those files?
Upvotes: 2
Views: 824
Reputation: 2768
Installing git in a new dir should be the best option:
- If your repo is already initiated, check your remotes:
git remote --v
$ git remote --v
heroku ssh://xxxxxxxx.xxx:repo.git (fetch)
heroku ssh://xxxxxxxx.xxx:repo.git (push)
Check the list you have there. The first parameter, is the remote name, then you should write (in this case, git pull heroku master).
If the first name you see there is origin, as it usually is for all of us, you should write:
git pull origin master
At this moment, you should be able to receive your data if you correctly have your repo configured.
If you now have some error messages about merging, and different versions, maybe you should perform a
git commit -a -m"commit message"
and then try the pull again. At this moment, if there is something to merge, GIT will tell you on screen.After solving any merge problems, or if you cannot do it in that dir, try to create a new repo with
git init
in a new directory and add your remote repo withgit remote add heroku xxx://xxxxxx.com/repo.git
After that, just do again the pull, and the full repo will be downloaded
Anyway, here you have some pages about git common problems:
Hope you can solve it!!
Upvotes: 2