Manage and share files with Git

Comments

This article only applies to the use of a file interface for the remote repository, which saves the need to set up a Git server but is quite unusual in practice. For larger projects, a server is practically a must for security reasons and for easier access control. Information on how to deal with Git and its inner workings can be found in the online book Pro Git [2].

Conclusions

When it comes to managing files, Git is the ideal companion, even for the smallest projects. The few commands you need, simple branch handling, support for merging, and, above all, high performance are convincing throughout. Although Git focuses on managing text files, it is also suitable for binary files. The Git version control system has a lot more to offer, especially when dealing with branches and remote repositories.

Infos

  1. "Version Control with Git" by Roman Jordan, Linux Pro Magazine, issue 216, November 2018, pg. 34, http://www.linuxpromagazine.com/Issues/2018/216/Version-Control-with-Git
  2. Pro Git (2nd edition): https://git-scm.com/book/en/v2
  3. Rebasing: https://git-scm.com/book/en/v2/Git-Branching-Rebasing

The Author

Roman Jordan has been working with Linux for more than 20 years. His main focus lies in the kernel and in programming small embedded platforms.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Git Cheat Sheet

    Frequently used Git commands at a glance.

  • Branch Management

    Git makes version control as simple as possible. To manage your Git branches successfully, you need to learn the ins and outs of git branch and git merge.

  • Tree View

    Complex Git projects sometimes require a better view of the dependencies and branches. Several tools offer GUI options for Git. We take a look at gitk, gitg, git-gui, and GitAhead.

  • Getting with Git

    Git comes up all the time in discussions of Linux, but in our new world of repositories and package managers, many users are still unfamiliar with it. Read on to get started with this powerful version control environment.

  • Git Ready

    If you develop open source software, you need to know how to use Git. Information on Git fills books, but this basic overview will get you started with a vital open source development tool.

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News