Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Re: Textpattern moves to Git and GitHub
Also, if you’re new to Git(Hub), their GUI apps are an excellent way to get started:
Offline
Re: Textpattern moves to Git and GitHub
gaekwad wrote #284543:
if you’re new to Git(Hub), their GUI apps are an excellent way to get started
Yes, they’re great. I started that way. The only reason I switched to the command line (besides being a keyboard geek) is that Github for Windows assumed that any changes I made were to form part of the next commit. That didn’t matter all the time I was a read-only user, but as soon as I started writing, contributing and patching, it became a slight annoyance to my way of working.
As an example, sometimes I’ll tweak a few files to set up debugging or temporarily change a few supporting tracked files, but don’t want those files to become part of the commit. With the command line I can selectively git add path/to/file-or-folder
on a file-by-file or folder basis and then commit them, leaving the supplemental files as-is until such time as I revert them with git checkout -- name-of-file
. The GUI wouldn’t let me do that without unchecking individual file names with the mouse, which became tiresome. And sometimes it wouldn’t let me revert changes, which I never fathomed. Things may have moved on since then, but I’m used to the CLI now and find it very quick.
But on the whole, the GUIs are highly recommended as a simple introduction to the wonderful world of git, as Pete says.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Txp Builders – finely-crafted code, design and Txp
Online
Re: Textpattern moves to Git and GitHub
Thanks for how-to and the advice Stef and Pete! It is very much appreciated.
Offline
Re: Textpattern moves to Git and GitHub
Stef, Pete, do you know any tutorial about git & github? I know all the cool kids are saying that it is fairly easy but it remains to be seen if that is the case for cool-grumpy old men like me.
(I’m reasonably familiar with SVN and Mercurial, and use the latter for tracking personal projects)
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textpattern moves to Git and GitHub
A book that helped me a lot: Git Reference.
You may want to start directly from chapter 2.
Offline
Re: Textpattern moves to Git and GitHub
Also bear in mind that branches of Textpatterm might not be too stable, or even guaranteed to become part of the master trunk. It’s where we do development work in progress. Still, feel free to run and test and contribute to them though.
Offline
Re: Textpattern moves to Git and GitHub
@CeBe – thanks!
Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern
Offline
Re: Textpattern moves to Git and GitHub
And another free tutorial: www.git-tower.com/learn
TXP Builders – finely-crafted code, design and txp
Offline
Re: Textpattern moves to Git and GitHub
Ok. After moving to Github I received ~ 2000 mails with all issues and updates of https://github.com/textpattern/textpattern. :)
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
Re: Textpattern moves to Git and GitHub
trenc wrote #284561:
Ok. After moving to Github I received ~ 2000 mails
Yep, me too, unfortunately that was the only way to migrate the issues from Google Code to GitHub. Sorry, it should settle down now it’s moved.
Offline
Re: Textpattern moves to Git and GitHub
No problem, I just wondered. I’m glad it’s now on GitHub.
Digital nomad, sailing the world on a sailboat: 32fthome.com
Offline
Re: Textpattern moves to Git and GitHub
I’m glad it’s on github for more visibility and perhaps more widespread contribution…
One thing I’ll miss is a simple revision number, i.e., “4432” instead of “0d1d7fc32” which made zipping back and forth between revisions, a snap…
used to be svn update -r 4432
(4432 is clearly a smaller numbher than 4444 or 4938)
but now it’s gonna be more like git reset --hard 0d1d7fc32
Ah well… All for the best. Still don’t understand why they didn’t set git up with some concurrent simple sequential numbers for submits even if they are just for dislay.
Offline