With version 1.6.5 of Git and later, you can use: git clone –recursive git://github.com/foo/bar.git cd bar For already cloned repos, or older Git versions, just use: git clone git://github.com/foo/bar.git cd bar git submodule update –init –recursive From SO
Archives for August 2014
[branch “master”] remote = origin merge = refs/heads/master or $ git config branch.master.remote origin $ git config branch.master.merge refs/heads/master This tells Git 2 things: When you’re on the master branch, the default remote is origin. When using git pull on the master branch, with no remote and branch specified, use the default remote (origin) and merge in […]
Was getting the message The state engine was in incorrect state POSTINITIALIZATION and forced into state SERVER_STOPPED eula.txt in root folder needed to be edited and agreeed to.
WordPress function current_time() uses same args as PHP’s date() and uses timezone from WordPress settings.
Place multiple export files into a single directory, then run the following: # Activate the wordpress importer wp plugin activate wordpress-importer –url=http://localhost/example.com/ # Iterate over all of the import files in a given folder. for f in myfolder/*.xml; do wp import $f –authors=skip –skip=attachment –url=localhost/example.com/; done