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 101

    When several people collaborate on source code or documents, things can get messy fast. Git provides a quick cure: The distributed versioning system reliably ensures the integrity and consistency of data with minimal effort.

  • Perl: Collaborate with GitHub

    GitHub makes it easier for programmers to contribute to open source projects by simplifying and accelerating communications between project maintainers and people willing to contribute.

  • Version Control with Git

    The Git version control system is a powerful tool for managing large and small software development projects. We'll show you how to get started.

  • GitX Clone Gitg Moves to 0.0.4

    The young Gitg project, which visualizes a graphical representation of git data for Mac OS X under Gtk+/GNOME, allows check-ins and merges in its newest release 0.0.4, among other things.

  • Perl: Tracking Online Orders

    A distributed database based on the distributed Git version control system relies on a Perl script to help users track Internet orders. When the goods arrive, purchasers update their stock counts, wherever they may be at the time.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95

News