Joined March 2012
·
Posted to
'git pull' is evil!
over 1 year
ago
Posted to
Use "git revert" rollback a single commit
over 1 year
ago
Be aware: git revert
is actually creating a new commit containing the reverse version of the patch resulting from the commit to revert. This may result in conflicts depending how far away the commit in question is from your current HEAD and what changed since then! git revert
is not aware of changes between that commit and HEAD.
Posted to
Keep a git fork up to date
over 1 year
ago
I got this alias, which is based on naming conventions.
Posted to
An easy way to test php syntax in shell
over 1 year
ago
Alternative without sed: find . -type f -name '*.php' -exec php -l {} > /dev/null +
Posted to
What has changed since the last deploy?
over 1 year
ago
@vladimiroff Your command is doing something completely different.
You are comparing branches on your local repository, not the deployed branch with your local one.
production
is a remote, not a branch!
Achievements
299 Karma
20,560 Total ProTip Views
Nephila Komaci
Have at least one original repos where PHP is the dominant language
Nephila Komaci 3
Have at least three original repos where PHP is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Altruist
Increase developer well-being by sharing at least 20 open source projects
Forked
Have a project valued enough to be forked by someone else
Charity
Fork and commit to someone's open source project in need
Python
Would you expect anything less? Have at least one original repo where Python is the dominant language
Raven
Have at least one original repo where some form of shell script is the dominant language
My two cents on subtree bundles: