M
M
Michael2017-04-10 01:12:19
git
Michael, 2017-04-10 01:12:19

Why is git behaving so strangely?

Hello. I'm trying to commit to heroku. The git remote -v command produces what is needed (that is, the repository address is correct). But when I try to git status, I see a bunch of files that are not even in the folder from which I work. When I try to git push heroku master, I get this:
43c5b11dc8f249cbaaa7903e345fa72f.png
I tried this solution , it did not help.
How to fix it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Moseychuk, 2017-04-10
@mak_ufo

You created the repository not in the Bot folder, but in your home directory.
ls -lha ~/.git

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question