johnmckerrell / OpenStreetView

An open licensed repository of street level photography, with metadata.
http://www.openstreetview.org/
32 stars 16 forks source link

restful_authentication as submodule "dirty" #39

Open alexandre-mbm opened 10 years ago

alexandre-mbm commented 10 years ago

Git complains:

#   modified:   vendor/plugins/restful_authentication (new commits)

See "How to ignore changes in git submodules" or here.

alexandre-mbm commented 10 years ago

I found the solution:

rm -rf vendor/plugins/restful_authentication/
git submodule init
git submodule update

With a .gitmodules:

[submodule "vendor/plugins/restful_authentication"]
    path = vendor/plugins/restful_authentication
    url = git://github.com/technoweenie/restful-authentication.git
    ignore = dirty

"ignore" can be : untracked, dirty or all.

Do I add a commit in the pull request #40? And so I could let the README.md corrected.

To get submodules automatically (ref):

git clone --recursive

Hi, @johnmckerrell!

Do you will accept the three pull requests that already exist?