Software Engineering in WordPress, PHP, and Backend Development

Tag: Source Control (Page 3 of 4)

Don’t Report Issues on GitHub

In the admittedly short time I’ve worked in software development, I’ve rarely seen a site like GitHub have such a level of success especially for something as nerdy as version control.

Linktocat has always been one of my favorites.

Linktocat has always been one of my favorites.

Don’t get me wrong: Version Control is a must have for any serious software development shops – be it a single person or a team of people. But the fact the site works so well, has a variety of quality clients, and doesn’t  look like, y’know, developers built the site is such a huge plus.

And as much as I love open source and what GitHub has brought us, I often see development shops asking users to report issues on GitHub whenever they see them.

That’s never sat well with me.

The thing is, even though GitHub looks good, even though it works well, and even though it does its job well at doing what it’s meant to do, it’s still targeting an audience that’s very rarely going to be our core audience.

Continue reading

A Guide To Merging (Based in Git)

In the previous post, I gave a working definition of branching (based on Git’s model of source control) and provided a conceptual model that I hope makes it easier to understand what’s happening whenever you branch code from the master branch of the application.

The thing about creating branches is that they’re typically merged back into the main application once a feature has been completed, a bug has been resolved, or something has been patched.

If branching is taking a copy of the code and creating an independent sandbox out of which to work on the program, then merging is the opposite – it’s taking the code from the branch and pushing it back into the main part of the application.

Continue reading

A Guide To Branching (Based in Git)

Whenever we introduce others to a new technology, service, application, or anything else, I think that we – as developers – don’t often do such a hot job of showcasing what the true “beginner-level” features are.

That is, we’re either so enamored at what we’re working with, that we’re eager to show what we’re able to do or we skip to more complicated things without explaining the foundation off of which said things have been built.

Maybe I’m off base, but one of the places I’ve seen this crop up in a few conversations is around the idea of Git branching and merging.

That is to say, I’ve had others ask specifically about understanding what a branch is and what a merge does.

For those who have worked with other source control systems, these terms are taken for granted, but for those who are just getting their feet wet and who are hopping into development (even if it’s with Subversion and its branches directory), these are concepts that seem to be glossed over in an attempt to get to more of the “exciting” parts of source control.

At least, as exciting as it can really get.

Continue reading

Quick Tip: Disable Auto-Updating of CodeKit Settings

When it comes to CodeKit, there are normally global CodeKit settings that I use; however, a number of the projects that I work on often result in some minor deviation from my core settings.

For those who have used CodeKit regularly, you know that you can set per-project settings, but if you’re using a project that’s under source control, there’s likely one irritating factor that you’ve noticed.

Continue reading

Using Kaleidoscope For a Git Diff Tool

In a previous post, I’ve mentioned that GitBox is my git client of choice. In short, I think it’s UI is simple and it’s extremely easy to manage all of the standard git tasks.

GitBox

And, of course, if you find yourself needing to issue some commands from the command line, it’s really easy to install git for the command line.

But for anyone that’s done an any amount of work with source control, you know that a portion of your time is resolving merge conflicts and sifting through code using a diff tool to help manage the merging.

Though there’s a lot of good options available, the latest version of Kaleidoscope has become my favorite application for managing code diffs. After installing it, here’s how you can configure it for your environment.

Continue reading

« Older posts Newer posts »

© 2024 Tom McFarlin

Theme by Anders NorenUp ↑