How to back up private branches in git

I use the –mirror option and push to a personal backup repository: Add it as a remote: git remote add bak server:/path/to/backup/repo Do the backup: git push –mirror bak This will automatically make your backup repository look like your active one — branches will be created, deleted, updated (even forced/non-fastforwards) as needed. You can make … Read more

Why can’t I push from a shallow clone?

As Junio C. Hamano (main Git maintainer) puts it: Isn’t the rule more or less like: If your shallow repository’s history does not extend long enough and the other repository forked before your truncated history, wyou cannot compute the common ancestor and you cannot push out. Update 2014: see “Is git clone –depth 1 (shallow … Read more

What is in your JavaScript toolchain? [closed]

What editor and editor plugins/modes/scripts do you use? I’m generally an Emacs user, and am using js2.el at the moment, but I’m interested in hearing about other setups. I generally use Textmate (with the JavaScript, jQuery, and Prototype bundles). When doing heavy front-end development, where I’m tabbing rapidly between HTML, CSS, and JavaScript files, I’ll … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)