-
I love the super professional Changelogs you see in a lot of open source project.
Git-chglog is a Golang program you can run inside docker, to generate very professional change logs.
It works by collecting git comments with special keywords (like “Fix”, “Feature” and so on) and in the last version is also feature a JIRA integration can further simplify your work
Read More -
Nice tool to test:
Git hook scripts are useful for identifying simple issues before submission to code review. We run our hooks on every commit to automatically point out issues in code such as missing semicolons, trailing whitespace, and debug statements. By pointing these issues out before code review, this allows a code reviewer to focus on the architecture of a change while not wasting time with trivial style nitpicks.
As we created more libraries and projects we recognized that sharing our pre-commit hooks across projects is painful. We copied and pasted unwieldy bash scripts from project to project and had to manually change the hooks to work for different project structures.
Read More -
Hosting a Git repository can be a strong need if you want to keep your projects outside the cloud providers.
Keep in mind security offered by GitHub, GitLab and Cloud providers like AWS, MS-Azure, etc are damn good (often offering 2FA, two factor authentication, for free) , so think twice before deciding to hosting your own git server. It is a good shot if you do not plan to expose it to Internet, otherwise the expertise required to secure it, it is not trivial.
Read More -
Git Summary and more!
Git extras package add some nice commands to git, like git summary, which give you some insights on commit stats
-
As you know, sometime Internet is a bad place (and not, I am not talking about Facebook :)
There are “bots” which scans github repo in search of an AWS Keys or other similar api keys, mostly for installing spam bots and so on. You should not version it but… what can you do if your teammate did it already?
Read More -
Suppose you are developing a boring Jenkins pipline (like Jenkinsfile-s) with no time at all.
You are forced to commit and then run the jenkins pipeline. Jenkins download the code from your LOCAL repository.
To avoid commit& push roundtrip you are using the simple git daemon command to expose your local repository to jenkins. So jenkins see every commit you has just done.
And you end up doing a lot of commits, full of trial and errors: you would like to “squash” them before pushing your work to your remote repository, to avoid co-worker laugh your wasted time(!)
Git can do that, but I have an hard time to find the easier way of doing it, even reading git books!
So let me explain to you:
Read More -
An year ago, we discovered MSWindows was developed on Git as revision control System
On this week, Microsoft decided to buy GitHub. I suppose they had a tons on projects on GitHub platform already!
By the way, GitLab (the first competitor) now offers the Enterprise edition to open source project….
Read More -
Another subversion repository
Wellcome in 2002 subversion users!
Some very old and stable customers has just discovered Subversion. Bad luck: a lot of cool open source software are on git already!
You can leave them with the old-as-your-grandpa subversion system, but you can develop with git in your local directory…
Read More -
Sometimes you are behind a http proxy, and the git:// protocol is not accessible.
For instance on erlang rebar, all developers prefer the git:// protocol when listing dependency. But how to fix it if you are behind a http proxy?
Ask help to git… [bash] git config –global url.https://github.com/.insteadOf git://github.com/ [/bash]
Read More -
[bash] git fsck –full –unreachable [/bash]
-
Git: Version Control for EveryoneI was involved as Book reviewer by the publisher, Packt Publishing. The book is very easy to read, and it is ideal if you need a soft&sharp introduction to Git.
Read More -
cvs2svn/cvs2git is a tool that can be used to migrate CVS repositories to newer version control tools, including git. git is a distributed version control system most famous for being used for Linux kernel development. The program used to convert to git, called cvs2git, is distributed as part of the cvs2svn project.
Read More -
Git Flow is a very popular workflow for working with git. I have the lucky to set up Git on a medium sized project, and the following article helped me a lot… I report you the schema too, because it was very useful in a presentation I attended.
Read More -
I admit it: I hate xml square brackets dancing orgy, even in Java.
Anyway, all is xml-ized around me. So in 2006 I developed a small XML parser based on SAX. It was a shitty dirty code for JDK 1.4 which let you parse xml stuff defining a method and forgetting about selectors, XPath, XWing, Tie fighters and so on…
Read More -
In the last seven months I learned git, working for a dozen of projects. On some of them I was the master&commander, on others I only set up the streams and let the young Jedi find the way to the delivery. Via trial and error I find out a bunch of userful commands.
Read More