Keeping a GitLab installation up-to-date.
Use the “—force-unsafe-io“ of dpkg to speed up the upgrade. Source: GitLab Omnibus Package issue #1403
my 2 cents
Use the “—force-unsafe-io“ of dpkg to speed up the upgrade. Source: GitLab Omnibus Package issue #1403
As XenServer 6.5 is based on CentOS 5, we can use the corresponding EPEL repositories to install Git as follow: yum repolist wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm rpm -Uvh epel-release-latest-5.noarch.rpm this will install git, perl-Error, perl-Git and perl-TermReadKey yum install git now disable … Read More »
browsing the git history in a compact yet still highly condensed view containing all important information: git log —graph —source —oneline —branches —tags
a short cheat sheet of commands I used several times to migrate SVN-repositories to GIT… preparation sudo aptitude install subversion git-svn svn co https://my.server.private/repos/my_repo cd my_repo svn log q | grep v ‘^*$’ | cut -d ‘|’ -f 2 | … Read More »
git svn clone —stdlayout https://svnserver/repos/my_repo display info about the svn-connection: git svn info display all known branches: git branch -a create a local branch tracking an existing branch from SVN (NOTE: for the local branch you have to use a … Read More »
tracking a svn-repository using git-svn… usually, you want to be up to date with svn and thus use “git svn rebase” to fetch changes from SVN, but what to do if you don’t want to update to the latest revision … Read More »
this is based on redmine-1.0.0 we need a more recent version of rails and rubygems than those shipped with lenny, so first add the backports-repository to your sources.list: deb http://www.backports.org/debian lenny-backports main contrib non-free then, update your package list: sudo … Read More »
a copy from google’s cache of one of the most useful articles about git and svn…
first, update to current HEAD: git svn rebase then, look for the appropriate hash-name in git corresponding to the svn-revision: git log | grep -C 5 “my-desired-revision” switching to the revision is done by a checkout: git co f914a51a99f09aa609f253fb24a5adcfe0014461 then, … Read More »
by far the best article I’ve read for somebody used to subversion (and tied to an SVN-repo) who wants to use git locally: Git-SVN: Whys And Hows thanks!!