GitHub for Mac

Use a Mac? Write a lot of code? Doing so with Git?

Just announced this week: GitHub for Mac.

Very slick interface – and seems to work pretty reliably. I don’t know how it will respond when there are any issues with Git, but so far, so good!

Read MoreLeave a comment

Git aliases – a step by step recipe (using Textmate)

Want to set up aliases that make Git easier to use? Have Textmate? Awesome.

Step 1 – launch Terminal (Applications/Utilities/Terminal). When the prompt loads, enter this command:

cd $home

It just returns you to the home folder in the event you aren’t already.

Step 2 – enter this command:

mate .bash_profile

This opens your .bash_profile document in Textmate.

Step 3 – Once that document open, paste in the following chunk:

alias gs='git status '
alias ga='git add '
alias gb='git branch '
alias gc='git commit'
alias gca='git commit -a'
alias gd='git diff'
alias go='git checkout '
alias gk='gitk --all&'
alias gx='gitx --all'
alias gp='git pull'
alias push='git push'
alias gr='git rebase '
alias gm='git merge '

alias got='git ' alias get='git '

Step 4 – Save and close the document. Back in the terminal, start a new tab, and the aliases should work. Now, instead of having to enter

git commit -a

You can simply enter

gca

Faster, no? Please note, this was based on information I found over at Git Immersion, but I’ve distilled it for Mac OS X users, and added a few more aliases of my own.

Read More1 Comment