Git tools for linux

1.5 Getting Started — Installing Git

Before you start using Git, you have to make it available on your computer. Even if it’s already installed, it’s probably a good idea to update to the latest version. You can either install it as a package or via another installer, or download the source code and compile it yourself.

This book was written using Git version 2. Since Git is quite excellent at preserving backwards compatibility, any recent version should work just fine. Though most of the commands we use should work even in ancient versions of Git, some of them might not or might act slightly differently.

Installing on Linux

If you want to install the basic Git tools on Linux via a binary installer, you can generally do so through the package management tool that comes with your distribution. If you’re on Fedora (or any closely-related RPM-based distribution, such as RHEL or CentOS), you can use dnf :

If you’re on a Debian-based distribution, such as Ubuntu, try apt :

For more options, there are instructions for installing on several different Unix distributions on the Git website, at https://git-scm.com/download/linux.

Installing on macOS

There are several ways to install Git on macOS. The easiest is probably to install the Xcode Command Line Tools. On Mavericks (10.9) or above you can do this simply by trying to run git from the Terminal the very first time.

If you don’t have it installed already, it will prompt you to install it.

If you want a more up to date version, you can also install it via a binary installer. A macOS Git installer is maintained and available for download at the Git website, at https://git-scm.com/download/mac.

Git macOS installer

Installing on Windows

There are also a few ways to install Git on Windows. The most official build is available for download on the Git website. Just go to https://git-scm.com/download/win and the download will start automatically. Note that this is a project called Git for Windows, which is separate from Git itself; for more information on it, go to https://gitforwindows.org.

To get an automated installation you can use the Git Chocolatey package. Note that the Chocolatey package is community maintained.

Installing from Source

Some people may instead find it useful to install Git from source, because you’ll get the most recent version. The binary installers tend to be a bit behind, though as Git has matured in recent years, this has made less of a difference.

If you do want to install Git from source, you need to have the following libraries that Git depends on: autotools, curl, zlib, openssl, expat, and libiconv. For example, if you’re on a system that has dnf (such as Fedora) or apt-get (such as a Debian-based system), you can use one of these commands to install the minimal dependencies for compiling and installing the Git binaries:

$ sudo dnf install dh-autoreconf curl-devel expat-devel gettext-devel \ openssl-devel perl-devel zlib-devel $ sudo apt-get install dh-autoreconf libcurl4-gnutls-dev libexpat1-dev \ gettext libz-dev libssl-dev

In order to be able to add the documentation in various formats (doc, html, info), these additional dependencies are required:

$ sudo dnf install asciidoc xmlto docbook2X $ sudo apt-get install asciidoc xmlto docbook2x

Users of RHEL and RHEL-derivatives like CentOS and Scientific Linux will have to enable the EPEL repository to download the docbook2X package.

Читайте также:  Настройка fiber channel linux

If you’re using a Debian-based distribution (Debian/Ubuntu/Ubuntu-derivatives), you also need the install-info package:

$ sudo apt-get install install-info

If you’re using a RPM-based distribution (Fedora/RHEL/RHEL-derivatives), you also need the getopt package (which is already installed on a Debian-based distro):

Additionally, if you’re using Fedora/RHEL/RHEL-derivatives, you need to do this:

$ sudo ln -s /usr/bin/db2x_docbook2texi /usr/bin/docbook2x-texi

due to binary name differences.

When you have all the necessary dependencies, you can go ahead and grab the latest tagged release tarball from several places. You can get it via the kernel.org site, at https://www.kernel.org/pub/software/scm/git, or the mirror on the GitHub website, at https://github.com/git/git/tags. It’s generally a little clearer what the latest version is on the GitHub page, but the kernel.org page also has release signatures if you want to verify your download.

$ tar -zxf git-2.8.0.tar.gz $ cd git-2.8.0 $ make configure $ ./configure --prefix=/usr $ make all doc info $ sudo make install install-doc install-html install-info

After this is done, you can also get Git via Git itself for updates:

$ git clone https://git.kernel.org/pub/scm/git/git.git

Источник

Top 10 Git GUI Clients for Linux

This post was written by guest author, Nahla Davies. Nahla has been in the software space since 2010 and a technical writer since 2019. She previously served as a lead programmer at an Inc. 5,000 experiential branding organization whose clients include Samsung, Time Warner, Netflix, and Sony.

Git is an open-source version control system that is used to store code and web content in repositories. Git was designed to facilitate collaborative projects between developers.

But leveraging the power of Git via the command line can be challenging to master, so many developers choose to use GUI clients to make using Git commands and actions more visual and simple.

However, as was covered in this Best Git GUI article, not all Git clients are the same. If you’re in the market for a GUI client for Linux, then you’re in luck! In this article, we’ll cover the top 10 Git GUI clients for Linux in 2023.

GitKraken Client

GitKraken Client UI

Price: GitKraken Client is free on public repos and offers a variety of paid options for developers and teams that want to use it on private repos. The Pro package for individual developers and small teams is priced at $4.95 per user per month, the Teams package is priced at $8.95 per user per month, and the Enterprise package starts at $18.95 per user per month. All plans are paid annually, and there is a free version that comes with a 7-day trial of the Pro bundle.

GitKraken Client uses an intuitive UI to make Git more accessible with the ability to switch between a terminal or a GUI and integrations that devs need to clone, fork, and add remotes. Additionally, it’s easy to create, view, and manage pull requests with a sleek design and simple navigation. GitKraken Client’s integrations with some of the most popular Git platforms, like GitHub, GitLab, Bitbucket, and more, make it easy for development teams to work with remote repos, make pull requests, and perform code reviews.

Читайте также:  Radeon hd 8730m linux

Millions of teams and developers use GitKraken Client because of its amazing features like workspaces, beautiful commit graph, variety of integrations, and merge conflict tool. Want to know the best part? GitKraken Client can run on Mac, Windows, and Linux making it an easy option for your entire team.

“When I was allowed to use Linux as my primary OS at work I went searching for a suitable Git Client. I heard about a cross-compatible GUI called GitKraken Client. I haven’t looked back since.” – William Penton, PHP Developer

Источник

11 Best Graphical Git Clients and Git Repository Viewers for Linux

Git is a free and open source distributed version control system for software development and several other version control tasks. It is designed to cope with everything from small to very large projects based on speed, efficiency and data integrity.

Linux users can manage Git primarily from the command line, however, there are several graphical user interface (GUI) Git clients that facilitate efficient and reliable usage of Git on a Linux desktop and offer most, if not all of the command line operations.

Therefore, below is a list of some of the best Git front-ends with a GUI for Linux desktop users.

That said, let’s proceed to listing them.

1. GitKraken

GitKraken is a cross-platform, elegant and highly efficient Git client for Linux. It works on Unix-like systems such as Linux and Mac OS X, and Windows as well. Its designed to boost a Git user’s productivity through features such as:

GitKraken Git Client for Linux

  1. Visual interaction and hints
  2. 100% standalone
  3. Supports multiple profiles
  4. Supports single-click undo and redo functions
  5. Built-in merge tool
  6. A fast and intuitive search tool
  7. Easily adapts to a user’s workspace and also supports submodules and Gitflow
  8. Integrates with a user’s GitHub or Bitbucket account
  9. Keyboard shortcuts plus lots more.

2. Git-cola

Git-cola is a powerful, configurable Git client for Linux that offers users a sleek GUI. Its written in Python and released under the GPL license.

The Git-cola interface comprises of several collaborative tools that can be hidden and rearranged according to a users wish. It also offers users many useful keyboard shortcuts.

Its additional features include:

Git-cola - Git Client for Linux

  1. Multiple sub-commands
  2. Custom window settings
  3. Configurable and environment variables
  4. Language settings
  5. Supports custom GUI settings

3. SmartGit

SmartGit is a also a cross-platform, powerful, popular GUI Git client for Linux, Mac OS X and Windows. Referred to as Git for professionals, it enables users master daily Git challenges and boosts their productivity through efficient workflows.

Users can utilize it with their own repos or other hosting providers. It ships in with the following illustrious features:

SmartGit - Git Client for Linux

  1. Supports Git pull requests and comments
  2. Supports SVN repositories
  3. Comes with Git-flow, SSH-client and file compare/merge tools
  4. Integrates strongly with GitHub, BitBucket and Atlassian Stash

4. Giggle

Giggle is a free GUI client for Git content tracker that uses GTK+ toolkit and only runs on Linux. It was developed as a result of a hackathon Imendio, in January 2007. It has now been integrated into the GNOME infrastructure. Its basically a Git viewer, allows users to browse their repository history.

Читайте также:  Astra linux сетевая папка пустая

Giggle - Git Client for Linux

5. Gitg

Gitg is a GNOME GUI front-end to view Git repositories. Its comprises of features such as – enables GNOME shell integration through app menu, enables users to view recently used repositories, browse repository history.

It also offers a files view, staging area to compose commits, and commit staged changes, open repository, clone repository and user information.

Gitg - Client to View Git Repositories

6. Git GUI

Git GUI is a cross-platform and portable Tcl/Tk based GUI front-end for Git that works on Linux, Windows and Mac OS X. It mainly focuses on commit generation by enabling users to make changes to their repository by generating new commits, amending existing ones, building branches. Additionally, it also allows them to perform local merges, and fetch/push to remote repositories.

GitGui - Client for Git

7. Qgit

QGit is a simple, fast and straight forward yet powerful GUI Git client based written in Qt/C++. It offers users a nice UI and allows them to browse revisions history, view patch content and changed files graphically by following distinct development branches.

A few of its features are listed below:

Qgit - Git Client for Linux

  1. View, revision, diffs, file history, file annotations and archive trees
  2. Supports commit changes
  3. Enables users to apply or format patch series from selected commits
  4. Also supports drag and drop functions for commits between two QGit instances
  5. Associates commands sequences, scripts and anything executable to a custom action
  6. It implements a GUI for many common StGit commands such as push/pop and apply/format patches and many more

8. GitForce

GitForce is also an easy-to-use and intuitive GUI front-end for Git that runs on Linux and Windows, plus any OS with Mono support. It provides users some of the most common Git operations and it is powerful enough to be used exclusively without involving any other command line Git tool.

GitForce - Git Client for Linux

9. Egit

Egit is a Git plugin for Eclipse IDE, its an Eclipse Team provider for Git. The project is aimed at implementing Eclipse tooling on top of the JQit java implementation of Git. Eqit comprises of features such as a repository explorer, new files, commit window and history view.

Egit - Git Plugin for Eclipse IDE

10. GitEye

GitEye is a simple and intuitive GUI client for Git that integrates easily with planning, tracking, code reviewing and build tools such as TeamForge, GitGub, Jira, Bugzilla and lots more. It is flexible with powerful visualization and history management features.

11. GITK (Generalized Interface Toolkit)

GITK is a multi-layered GUI front-end for Git that enables users to work effectively with software in any situation. Its main aim is to vividly enrich adaptivity of software, it runs on a multi-layered architecture where interface functionality is adequately separated from look and feel.

Importantly, GITK lets each use choose the kind and style of UI that fits his/her needs depending on ability, preferences and current environment.

Summary

In this post, we reviewed a few of the best known Git clients with a GUI for Linux, however, there could be one or two missing in the list above, therefore, get back to us for any suggestions or feedback through the comment section below. You can as well tell us your best Git client with a GUI and why you prefer using it.

Источник

Оцените статью
Adblock
detector