Skip to content

Instantly share code, notes, and snippets.

View clops's full-sized avatar
🎯
Focusing

Alexey Kulikov clops

🎯
Focusing
  • clops.at
  • Vienna, Austria
View GitHub Profile
@dtjm
dtjm / config
Created August 13, 2010 17:34
Wrapper to use OS X FileMerge when calling `svn diff`
### ~/.subversion/config
### Add this line to the [helpers] section
diff-cmd = ~/bin/svn-diffwrap.sh
@lttlrck
lttlrck / gist:9628955
Created March 18, 2014 20:34
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote
@clops
clops / deploy.php
Last active August 1, 2022 11:41
GIT P4T Console Deploy
#!/usr/bin/php
<?php
/**
* GIT Merge Helper
*
* Installation:
* 1. Download / Clone this GIST https://gist.github.com/clops/3ac9cd6c42a66ba65101 into some directory
* 2. chmod a+x deploy.php
* 3. Add an alias into .bash_profile with a full path to the deploy.php script, mine is:
* alias deploy="~/dev/3ac9cd6c42a66ba65101/deploy.php"