![]() private void borderStyleOutsetRadioBtn_CheckedChanged( This code example is part of a larger example provided for the TableLayoutPanel control. ![]() The following example shows how to use the TableLayoutPanelCellBorderStyle enumeration to set the CellBorderStyle for a TableLayoutPanel control. * Actually the initial challenge was getting used to say “Git” outside of its usual context in the UK.Enum TableLayoutPanelCellBorderStyle FieldsĪ single-line border containing a raised portion. Now what was that someone said about Mercurial being better… Otherwise, as usual, just throw yourself in and have a go. What would I do differently? certainly I’d read “Pro Git” cover-to-cover much sooner than I did. So that’s my top 5 What have I missed (remember you’ve got to drop one to add one)? Nevertheless I’d still rather work at the shell. I didn’t find the GitHub Windows client tool especially friendly, whereas SourceTree from Alassian I found a more intuitive client. Both GitHub and BitBucket offer graphical frontends to managing Git local/remote repo’s but without understanding the underlying Git model (which you only really get from using it at the command line) then it’s easy to get lost. #5 “Initially do all your work on the command line”įor Linux people (and hopefully most programmers on a Mac), this doesn’t need saying as why would you do it any other way? However for all those Windows-based people (and in the embedded world this is the majority) then there is a tendency to use graphical tools. The nice folks at Atlassian have put together a set of guides on workflow. Using Git is very much about understanding workflow and typically messing up means you’ve not quite got your workflow model running smoothly. But I’d highly recommend spending a bit of time understanding unstaging as opposed to unmodifying a file. Committing without adding, modifying files without branching (see #1), committing unwanted files (see #2), not pushing changes (see #3) and the list goes on (and I’ve done them all).īe assured, you can always fix it, from a simple commit-amend to, probably one of the coolest things, being able to create a branch from a stash. There are many ways to mess it up, if you really try. ![]() This just made it plainly obvious where Git ended and GitHub/BitBucket started. In fact we use both, GitHub for our publicly hosted projects and BitBucket for internal work. Second, moving to BitBucket away from GitHub. I found it so useful to I also bought the eBook (Kindle) version. ![]() Two things really helped first the excellent book Pro Git written by Scott Chacon which you can find online at. In hindsight it’s all obvious (well of course it’s just a web-based hosting service for software development projects that use Git), but at the time I can say my understanding was a little “fuzzy” around the edges. Most of the early stuff I looked at to help understand and learn Git almost always used GitHub to host your project. Maybe it’s my onset of senility, but initially it wasn’t exactly clear where Git ended and GitHub started. It’s also worth getting to know the basics of the pattern matching that can be used in the. It’ll just save you a whole load of tidying up later on (ok so maybe this is an age thing? don’t procrastinate!). You know you’re going to need it, so do it before you start any real work. There is an excellent tutorial to help learn branching on Git. I guess it all fits in with the aim to keep work cycles too much shorter timeframes, so branching and merging must be trivial. It couldn’t be more different using Git, and once I’d “got it”, then it is an instinct to always work on a branch. So you could end up being counter-productive by trying to avoid branching unless absolutely necessary. In many RCSs, branching is particularly “heavyweight” and merging branches (and branches of branches, and branches… you get the gist) can be, to say the least, challenging. I’m sure you’ve all got your own “ top 5” and I don’t necessarily expect you to agree with me, but here’s my key learning points:Īt the outset this was certainly the biggest mindset change*. It’s been an interesting exercise, especially where, like me, you’ve come from a traditional model (such as subversion or even back to good old SCCS). During the last couple of years, internally we’ve moved over to using Git as our Revision Control System (RCS).
0 Comments
Leave a Reply. |