We just released a free chapter of our DI training course so the entire ColdFusion community can benefit, so check it out: http://bit.ly/v7Igda!
Category: Software Development
Just my little contribution to the MXUnit project. Here is a little cheatsheet: http://ortus-public.s3.amazonaws.com/MXUnitCheatSheet.pdf
This is an open question to bring in your comments about source code deployment. There are several ways and tools and I am very interested in your approaches. What are your deployment flows? What tools do you use? How do you integrate git/svn into the mix? How do you deal with tiers?
Anyways, I will write about my personal experiences, but wanted to kick off a conversation on deployment strategies for ColdFusion.
This is something I want to blog in order to save it for posterity so I don’t go crazy looking for this. I have a remote branch I committed but I need to remove it for whatever reason, how do I do this with git?
You do this in two easy steps:
- Remove the local branch either through your favorite GUI or via: git branch -d “branch name”
- Push the removed branch to the remote origin: git push origin :refs/heads/”branch name”
The key here is that you push a non-existent branch, so it basically removes it from the remote repository. That’s it!
This is something I want to blog in order to save it for posterity so I don’t go crazy looking for this. I have a remote tag I committed but I need to remove it for whatever reason, how do I do this with git?
You do this in two easy steps:
- Remove the local tag either through your favorite GUI or via: git tag -d “tag name”
- Push the removed tag to the remote origin: git push origin :refs/tags/”tag name”
The key here is that you push a non-existent tag, so it basically removes it from the remote repository. That’s it!
I am a huge fan of development tools as I am also a tool developer myself. One tool that has been lacking in my arsenal was an awesome Git client for Mac, as Mac is my main development environment. I, like any true geeky developer, love the console, however, there is something about having a UI that gives me a warm warm feeling. I have used the eGit plugin for Eclipse and although it is usable, it is still quirky as it is still constantly in development. No disrespect for the developers, but this project is still moving forward and I know it will be a great great plugin and most likely I will use it hands down as my unique git client as it is embedded in Eclipse/CFBuilder.
However, I recently have experienced two great git clients: SmartGit and Tower. SmartGit is java and cross platform. It is very very good, but its aesthetics are well, java like and not sparkly like Tower. Tower is Mac only and it truly shines as a Mac application. I have really like the inbox style approach where I can move between tags, remotes, branches and stashes. Nice double click and I have switched branches! I can even right click on a branch and publish it or pull, refresh, etc. The graphical history is very very nice and you can even change it to a more github like commit view.
Overall, I would say SmartGit and Tower are two of my favorite git clients. So give them a shot, it will truly change your outlook on the Git tools landscape.
This is more of a question post than a learning post, so your feedback is welcomed. Here is what I am trying to do. I have several commits into a branch and I would like to build a patch file that has all the files that where changed from commit X to commit Y. Example:
Commit 1 – Changed files
Commit 2 – Changed files
Commit 3 – Changed files
Now I want to run SOMETHING or do SOMETHING automated that can produce the following patch:
So any Git gurus can comment on how to achieve this.