Posted by realityloop on October 22, 2010 at 11:25am
Start:
2010-11-09 18:00 - 20:00 Australia/Melbourne Organizers:
Event type:
User group meeting
Sign up to be notified of updates.
Follow drupalmelbourne on twitter or identi.ca for Drupal Melbourne news and announcements.
Many thanks to Publicity Works for the use of their office.
Google Maps: http://j.mp/bPxpZT
This month we will be talking about the following:
- git Hands on by Alec Clews @alecthegeek
- What you will need: favourite editor, a command shell, git and a https://github.com/ account.
- You should try and install your ssh key on the github server
- http://help.github.com/git-installation-redirect should direct you to instructions for your current operating system
- http://help.github.com/key-setup-redirect should direct you to appropriate ssh key instructions
- Alec is happy for people to ping him if they have problems before the 9th
Duplicity for automating backups by Miguel Jacqdeferred for a longer git session!- Show and tell
-Demonstrate something cool you've been working on, or a module you like in 10 min or less, add a comment if you have something to present (let us know in comments if you have something you would like to show)
The doors should be open when you arrive, but call 0419 327 646 if they're locked.
Food and drinks will also be provided
Comments
Drupal code and Git
I've been doing some research into the Drupal migration from CVS to Git and at the moment the Git workflow is still ill-defined. I therefore propose to present some generic examples using GitHub as the hosting provider.
I'm also wondering if we can do a useful workshop in an hour? How to people feel about a whole evening dedicated to Git? It's your workshop so you decide what works for you
Alec, Should be fine, I'm
Alec, Should be fine, I'm just checking if Miguel has any issue with his preso being deferred again
@BrianGilbert_
Help make Drupal Melbourne meetups more awesome:
http://groups.drupal.org/node/204518
The best way to grow your local commununity is by participating in it!
No problem, I am happy for it
No problem, I am happy for it to be deferred indefinitely in fact! ;)
as you wish, you can also
as you wish, you can also consider moving my session -- perhaps the community will have a more detailed position on their tool use by Jan?
Alec, I initially requested
Alec, I initially requested the session more from a perspective of using good development practices (ie. VCS), so I don't think d.o's git workflow is a showstopper, it will be much easier for us to move to workflow that d.o chooses if we have experience using git, than starting from scratch.
@BrianGilbert_
Help make Drupal Melbourne meetups more awesome:
http://groups.drupal.org/node/204518
The best way to grow your local commununity is by participating in it!
Full steam ahead with a git
Full steam ahead with a git talk! We don't slow down for drupal.org to catch up ;)
+1 from me anyway
K -- 9/Nov it is
K -- 9/Nov it is
great
Great, looking forward to it Alec!
Dang it
Yep, so was I - until I realised I am starting a welding short course that night. Still hands on, just wrong field!
I was hoping this would be the push I needed to make the move away from SVN too.
Websites for training material
Material is taking shape at
Change in URL
Please note I have fixed a typo in the URL supplied. The GitHub repo for the workshop materials is now
https://github.com/alecthegeek/gitWorkshop
Looks like it's going to be a great session
... shame I'll be oversees...
bash git branch display
To add the display of the current branch to your bash shell prompt, install bash_completion package(s) on your favourite Linux distro, then edit the PS1 shell variable in your ~/.bashrc
export PS1="\u@\h:\w\$ $(__git_ps1 \"(%s)\")"
For Mac OS X users, please see:
http://blog.bitfluent.com/post/27983389/git-utilities-you-cant-live-without
http://superuser.com/questions/31744/how-to-get-git-completion-bash-to-w...
For those using the OS X git
For those using the OS X git installer from Google code:
http://code.google.com/p/git-osx-installer/
you can add the following to the end of your .profile or .bash_profile in your home directory
# git Bash shell command completion
source /usr/local/git/contrib/completion/git-completion.bash
# git show branch at prompt
PS1='[\u@\h \w$(__git_ps1 " (%s)")]\$ '
@BrianGilbert_
Help make Drupal Melbourne meetups more awesome:
http://groups.drupal.org/node/204518
The best way to grow your local commununity is by participating in it!
_
Visual merges with Changes.app (http://connectedflow.com/changes/):
http://blog.expandrive.com/2008/08/07/git-fu-visual-diff-with-changesapp/
Haven't tested this yet, but Changes.app is a fantastic (non-free) merge tool for Mac OS X.
Follow up links
Some of my Git tips (well other peoples actually) at http://alecthegeek.wordpress.com/2009/12/03/top-tips-and-handy-hacks-for...
The Pro Git book at http://progit.org/ -- worth buying the dead tree version as well
Deploy Application Files with Git http://www.slideshare.net/alecclews/deploy-application-files-with-git (not sure how useful this is for Drupal folks...)