git branch -m old_name new_name
ref: http://ariejan.net/2010/08/09/rename-a-git-branch/
Every so often I find myself with a multidimensional array that I want to sort by a value in a sub-array. I have an array that might look like this: //an
phpbrew builds and installs multiple version php(s) in your $HOME directory.
phpbrew also manage the environment variables, so you can
use,switchphp version whenever you need.RVM/Virtualenv for PHP
PHPStorm - tworzenie testów z PHPUnit.
This isn’t obvious, so I thought I’d post an example for deleting a remote branch.
Let’s say you want to delete origin/some_branch from origin
$ git branch -a * maorigin/master origin/some_branchTo remove the branch, just do this:
$ git push origin :some_branchNow, it’s gone!
$ git branch -a * maorigin/master
A quick note to self.
Files that should be ignored when collaborating via source control (ie. github) for project working with XCode are listed below.
1.) *.xcworkspacedata
2.) *.xcuserstate
3.) *.xcscheme
4.) *.plistThose files are meant for user-state and don’t affect a project when time of compiling / building comes.