Easier use of Git
I’m using Git as the version control system for my projects for some time now. Since the graphical user interfaces are not very mature yet and I like having full control over everything, I’m using Git on the command line (i.e. Bash). In order to avoid entering the same commands all over again, I wrote some Bash aliases and functions, which help me speed up my workflow.
This is a short summary of the most used commands:
Verbose add (executes
git add -vand then
git status). All parameters will be forwarded to
add -p foobar.txt
Pipes the output of
grepto add only those files that match a given pattern. All parameters (including the pattern) will be forwarded to
add, this command is verbose and calls
git statusat the end.
gadd -i '\.java$'
git pull --rebaseand then displays all commits since the last pull in a short format.
A complete list can be found in the README.
In the future, I may add further commands. I appreciate any feedback.
Finally, I want to thank Simon Templer and Simon Thum for their ideas!
Posted by Michel Krämer
on 4 June 2010
Since my last article about building Scala projects with Eclipse PDE, the OSGi bundle names of the Scala library and the compiler have changed. This article gives an update and explains how you need to modify your configuration.
Buckminster is a tool to build Eclipse RCP applications. It contains a lightweight Eclipse SDK and features but no means to build Scala projects yet. This post tries to bridge this gap.
gradle-download-task is a Gradle plugin that allows you to download files during the build process. This post summarizes common patterns and use cases of gradle-download-task and provides useful tips and tricks.
A new minor version has been released. It deprecates a few properties in the workflow and process chain models and offers a few other features such as separate SSH usernames per setup and a new workflow validator.