“git add” returning “fatal: outside repository” error

前端 未结 10 2027
情话喂你
情话喂你 2021-01-31 16:34

I\'m just entering into the wonderful world of git. I have to submit a bunch of changes that I\'ve made on my program, located in a directory called /var/www/myapp

10条回答
  •  独厮守ぢ
    2021-01-31 16:58

    You'll have to move all the files from /var/www/myapp to /home/mylogin/gitclone and then do a git add . and then git commit -m "Your message".

提交回复
热议问题