Skip to content

Instantly share code, notes, and snippets.

View ameenross's full-sized avatar

Ameen Ross ameenross

View GitHub Profile
@ameenross
ameenross / config.sh
Last active March 13, 2024 12:05
git PSH - Git alias to pull with rebase, then push. Its superlative, git PSHHH, to stash changes before git PSH and unstash afterwards.
# git psh(hh)
git config --global alias.psh '!git pull --rebase=merges; git push';
git config --global alias.pshhh '!git stash; git pull --rebase=merges; git push; git stash pop';
@ameenross
ameenross / dataflow.php
Created July 15, 2014 15:04
Magento CLI import script
#!/usr/bin/php
<?php
/**
* @file
* Based on http://www.magentocommerce.com/boards/viewthread/113901/P30/#t277875
*
* @todo
* - fix importing
* - fix logging