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
.
I created a new directory /home/mylogin/gitclone
. From this directory, I did a git clone
against the public repo and I was able to get the latest copy created.
I'm now trying to figure out how to take all the files in my working folder (/var/www/myapp
) and "check them in" to the master repository.
From /home/mylogin/gitclone
, I tried git add /var/www/myapp
but I'm getting an error that the folder I tried to add is outside the repository.
Can you give me a few pointers on what I'm doing wrong? Also, I'd like to add everything, whether it's different from the master or not. Thanks.