Choosing the right Git hosting service is not an easy task and there is no one solution that fits all organizations - each organization have different factors to consider while making that decision.
Lately, once coming to migrate some projects to GIT (from CVS or SVN - see the tool I've created in https://github.com/tikalk/tikal-alm-tools), I repeatly being asked: which Git hosting service to use for the teams collaboration?
The "Big Bang" is an awesome title (don't mind if I say so ...), our apps are divided into micro-services - and so is our hosting OS, the following slides attempt to show how LXC and Docker simplify the complexity of our Micro Services deployment.
Presentation is available via: http://bit.ly/1evpfya
Moving from SVN to GIT comes with many advantages. One of the disadvantages I, personaly, have encountered is the fact that you cannot clone a single file or folder in a repository.
Googling to find a decent solution brought me to the following interesting set of commands that actually does that:
From you working copy folder, run: git clone <repo-url> --depth 1 --bare
Now, checkout the subfolder into a new workspace: git --work-tree=/path/to/checkout checkout HEAD -- sub/directory
A stunning title I know - too many fancy words :)
Make a long story short if you need (like me) to run docker on a vm - consdering I can't run LXC on my mac, and you want a lightweight linux distro to test drive docker, there are two great resources I came across:
One of the very nice feature of linux is the option for auto complete on the command line. Yes windows has the power shell, but it is not the same as linux.
For those in windows and want a linux shell you can install Cygwin (http://www.cygwin.com/).
In order to summarize our Fuse day I would like to take a moment and explain our end goal.
The end goal consist of:
How many time have you commited somthing to git and forgot to add a file (or two ...), if this was perfoece / subverison / other, your screwed :) with git all you need to do is:
git commit --amend –C HEAD
This instructs git too add any indexed files to the commit + the '-C' reuses your previous commit message - no need to re-type it !