Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ How to install Git client in Ubuntu     - Tmux create the perfect terminal management tool under CentOS (Linux)

- Windows7 system using Vagrant to build Linux virtualized development environment (Linux)

- HA-Federation-HDFS + Yarn cluster deployment (Server)

- Tomcat installation under Linux (Server)

- TeamCity continuous integration in the Linux installation (Linux)

- Kibana Apache Password Authentication (Server)

- Use UDEV SCSI Rules configured ASM on Oracle Linux 5 and 6 (Database)

- Android development, may cause a memory leak problem (Programming)

- How to run in support UDp Docker container JBoss data virtualization GA (Server)

- Use mdadm tool to create software RAID 0 (Linux)

- Redhat Close SELinux correct step (Linux)

- Installation and Configuration JDK8 In CentOS 7 (Linux)

- Use Tmux and Vim to make IDE (Linux)

- C language programming entry - Common operators (Programming)

- Two programs HAProxy + Heartbeat (note, the secondary server vip, normal HAProxy boot method) (Server)

- ssh port forwarding Comments (Server)

- How to use tmpfs in RHEL / CentOS 7.0 (Linux)

- MongoDB uses aggregate, group, match mysql achieve in having (count (1)> 1) features (Database)

- Java deserialization test (Programming)

- Monitor traffic Linux Shell Edition (Programming)

  How to install Git client in Ubuntu
  Add Date : 2018-11-21      
  QGit is a from Marco Costalba with Qt and C ++ to write open source GUI Git client. It is a better version provides browsing history in a graphical interface environment to view the records and documents submitted to the patch client. It uses the git command line to execute and display output. It has some features like the regular version of the browser history, compare, file history, files annotation, archive tree. We can format and submit the application with the selected patch between two or more instances of drag and submit more. It allows us to use its built-in generator to create custom buttons to execute specific commands.

Here are a few simple steps in Ubuntu 14.04 LTS "Trusty" compile and install QGit client.

1. Install QT4 library

First run QGit need to install ubuntu in QT4 library. Since apt is ubuntu default package manager, while qt4 also the official repository, so we directly use the following apt-get command to install qt4.

$ Sudoapt-get install qt4-default

2. Download the compressed package QGit

After installing Qt4, we want to install git, so that we can in QGit clone git repository. Run the following command apt-get.

$ Sudoapt-get install git
Now, we want to use the following command to clone git QGit client warehouse.

$ Gitclonegit: //repo.or.cz/qgit4/redivivus.git
Cloning into 'redivivus' ...
remote: Counting objects: 7128, done.
remote: Compressing objects: 100% (2671/2671), done.
remote: Total7128 (delta 5464), reused 5711 (delta 4438)
Receiving objects: 100% (7128/7128), 2.39MiB | 470.00KiB / s, done.
Resolving deltas: 100% (5464/5464), done.
Checking connectivity ... done.

3. Compile QGit

After cloning, we are now entering redivivus directory, and create our need to compile a makefile. Enter the directory, run the following command.

$ Cd redivivus
Next, we run the following command from qmake project file (qgit.pro) to generate a new Makefile.

$ Qmake qgit.pro
After generating the Makefile, we are now finally able to compile the source code and generate qgit binary. First we need to make and install g ++ compiler package for, because this is a program written in C ++.

$ Sudoapt-get install make g ++
Now, we use the make command to compile the code.

$ Make

4. Install QGit

After a successful compilation QGit source, we have to install it in Ubuntu 14.04, so that you can execute it in the system. Therefore, we will run the following command.

$ Sudomake install
cd src / && make-f Makefile install
make [1]: Entering directory `/ home / arun / redivivus / src '
make -f Makefile.Release install
make [2]: Entering directory `/ home / arun / redivivus / src '
install -m 755 -p "../bin/qgit" "/ usr / lib / x86_64-linux-gnu / qt4 / bin / qgit"
strip "/ usr / lib / x86_64-linux-gnu / qt4 / bin / qgit"
make [2]: Leaving directory `/ home / arun / redivivus / src '
make [1]: Leaving directory `/ home / arun / redivivus / src '
Next, we need to copy qgit binaries from bin directory to / usr / bin /, so that we can run it globally.

$ Sudocp bin / qgit / usr / bin /

5. Create a desktop file

Now that we have successfully installed ubuntu qgit, we have to create a desktop file so that you can QGit in our desktop environment menu or launcher found. To do this, we need to call in / usr / share / applications / create a new file qgit.desktop.

$ Sudo nano /usr/share/applications/qgit.desktop
Next, copy the following lines to the file.

Name = qgit
GenericName = git GUI viewer
Exec = qgit
Icon = qgit
Type = Application
Comment = git GUI viewer
Terminal = false
MimeType = inode / directory;
Categories = Qt; Development; RevisionControl;
When finished, save and exit.


6. Run QGit client

QGit After installation is complete, we can now start it from any starter or in the Programs menu. To run the following in a terminal QGit, and we like that.

$ Qgit
This will open framework based on Qt4 GUI mode QGit.

to sum up

QGit is a great QT-based git client. It can run on Linux, MAC OSX and Microsoft Windows for all three platforms. It helps us to easily browse history, version, etc. branch git repository information provided. It reduces the use of the command line version to perform tasks such as browsing, history, comparative functional requirements, with a graphical way to simplify any of these. The latest version also qgit default warehouse, you can be installed using apt-get install qgit command. Therefore, QGit with its simple graphical interface makes our job easier and faster.
- Java memory area (Programming)
- Struts2 study notes -Valuestack (value stack) and OGNL expression (Programming)
- Android memory optimization of the memory cache (Linux)
- Ubuntu install Geary (Linux)
- DM9000 timing settings (Programming)
- Install snort intrusion detection system on Debian (Linux)
- A command to install Sublime Text 3 on Manjaro / Archlinux (Linux)
- Ubuntu install driver manager Mint Driver Manager and Device Driver Manager (Linux)
- Installation and Configuration rsync server under CentOS 6.3 (Server)
- Build Docker based MongoDB replication cluster environment (Database)
- How to configure HTTP Strict Transport Security (HSTS) (Linux)
- Install Oracle database error process of [INS-35172] (Database)
- RHEL6.4 x86_64 build SVN service (Server)
- VMware ghost Linux card error (Linux)
- Ubuntu install video playback software SMPlayer (Linux)
- Ubuntu install virtual machine software VirtualBox 4.3.10 (Linux)
- Oracle to use full-text indexing (Database)
- To install Internet security firewall Raiders (Linux)
- TNS-03505 name could not be resolved (Database)
- Use SVN to automatically deploy code under Apache (Server)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.