GitLab vs. GitHub: Distinctive feature for developers

GitLab vs. GitHub: Distinctive feature for developers

Gitlab and GitHub are commonly used VCS, which have become an essential part of the daily practice of development teams - The following article will show you some good features of Gitlap that Github does not.

A couple weeks ago I was introduced to a application called Gitlab, and I must say, I love using it. For those of you who don't know, Gitlab is a self-hosted alternative to Github. It has almost every feature Github provides, and a couple features that Github doesn't have.

Awesome Stuff

Possibly the best thing Gitlab provides, is the ability to have unlimited Private & Public (private by default) repos, for free. Then there is stuff like user/repo management, service hooks, a nice GUI, Team management, wiki support, and of course, Gitlab is open source.

Drawbacks

While I think Gitlab is simply fantastic to use, setup is another story. While I was installing on Ubuntu Server 13.02, I ran into several issues that required me googling around, in order to solve them. 2 specifically annoying problems were:

  • One of the config files was located in a specific branch but the instructions used the Master branch version of the file.
  • When adding the ssh info to your local git repo, you need to use the servers absolute path to the repo, and not the path shown in Gitlab.

For the second problem, I haven't found a "complete" solution, but it is entirely possible that is a problem specific to my machine. To help solve this problem for me, I added mount -o bind /home/git/repositories /repo to /etc/rc.local and restated my machine. Given that both the source and destination already exist as directories, the command works perfectly.

This means this:

ssh://[email protected]/home/git/repositories/project-name.git

is changed to this:

ssh://[email protected]/repo/project-name.git

Thankfully, the creators of Gitlab have created a very detailed install guide, and this guide will help you solve most problems you might encounter.

Conclusion

Gitlab might be a bit of a pain to setup, but it is totally worth it.

Originally published by Nicholas Jordon at coderwall.com

web-development

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Hire Web Developer

Looking for an attractive & user-friendly web developer? HourlyDeveloper.io, a leading web, and mobile app development company, offers web developers for hire through flexible engagement models. You can **[Hire Web...

Why Web Development is Important for your Business

With the rapid development in technology, the old ways to do business have changed completely. A lot more advanced and developed ways are ...

Important Reasons to Hire a Professional Web Development Company

    You name the business and I will tell you how web development can help you promote your business. If it is a startup or you seeking some...

Hire Dedicated eCommerce Web Developers | Top eCommerce Web Designers

Build your eCommerce project by hiring our expert eCommerce Website developers. Our Dedicated Web Designers develop powerful & robust website in a short span of time.

How long does it take to develop/build an app?

This article covers A-Z about the mobile and web app development process and answers your question on how long does it take to develop/build an app.