Do you’re employed with Git lots? Use Gnome Shell? If that’s the case, it might be worthwhile to integrate Git with the Gnome file manager. You are able to do so by putting in the Git plugin for Nautilus which has dozens of options that builders will love. With it, you’ll have the ability to entry distant code repositories, rapidly commit code immediately, and extra!

Set up RabbitVCS Git extension

Nautilus Git integration is made doable due to RabbitVCS. It’s a bundle of software program that features many helpful VCS (model management) integrations for the Linux desktop. On this tutorial, we’ll primarily be focusing on getting the Gnome file manager plugin they develop working. In the event you’re fascinated about utilizing extra than simply the file manager extension, think about testing their web site.

To put in the RabbitVCS Git extension into Nautilus, shut your file manager. Then, open up a terminal window and comply with the directions that match the Linux working system that you just use.

Notice: do you utilize one other file manager? RabbitVCS has an equal Git extension for a lot of of different Linux file manager as nicely! Get it here.

Ubuntu

The RabbitVCS Git extension is out there on Ubuntu, through the Universe software program repository. To put in it, do:

sudo add-apt-repository universe

sudo apt set up rabbitvcs-nautilus

Debian

These on Debian Linux can get the RabbitVCS Git plugin for the Nautilus file manager for variations 7,8 and 9 through the Apt-get command.

sudo apt-get set up rabbitvcs-nautilus

Arch Linux

To put in the RabbitVCS Git extension for Nautilus on Arch Linux, you should construct the unofficial AUR bundle, because the maintainers of Arch Linux have chosen not to embrace it within the official software program sources. Observe the steps beneath to get it going!

Step 1: Set up each Git and Base-devel, in order that your Arch PC can work together with the AUR and set up packages manually.

sudo pacman -S git base-devel

Step 2: Clone the RabbitVCS Git extension’s snapshot from the AUR with the git clone command.

git clone 

Step 3: Clone and construct the RabbitVCS AUR bundle, in addition to it’s dependencies, as they’re mandatory to get the Nautilus extension working.

git clone 

cd python2-pysvn

makepkg -sri

cd ..

git clone 

cd python2-dulwich

makepkg -sri

cd ..

git clone 

cd rabbitvcs

makepkg -sri

cd ..

Step 4: Transfer the terminal window into the newly cloned rabbitvcs-nautilus code folder utilizing the CD command.

cd rabbitvcs-nautilus

Step 5: Construct and set up the RabbitVCS Git extension for Nautilus utilizing the makepkg command.

makepkg -sri

Fedora

Want the RabbitVCS Git extension in your Fedora Linux PC? Open up a terminal and use the DNF command to set up it to the system!

sudo dnf set up rabbitvcs-nautilus -y

OpenSUSE

OpenSUSE is the one mainstream Linux distribution that chooses not to distribute the RabbitVCS Nautilus Git extension of their software program sources. Because of this, SUSE customers should construct it from supply. Launch a terminal and set up the next dependencies, then skip to the supply code directions to get it working.

sudo zypper set up python-nautilus python-gtk python-gtk-devel python-pysvn dbus-1-python dbus-1-python-devel python-dulwich subversion meld

Supply code

Putting in RabbitVCS on Linux distributions that don’t instantly help the plugin is sort of simple. To begin, open up a terminal window and obtain the most recent Tarball launch with the wget downloader instrument.

wget 

Extract the RabbitVCS archive utilizing the tar command.

tar -zxvf v0.16.tar.gz

Read the RabbitVCS dependency page and set up all the packages it requires on your Linux OS. When the dependencies are taken care of, transfer the terminal window into the code folder with the CD command.

cd rabbitvcs-0.16

Set up RabbitVCS to your PC with:

sudo python setup.py set up

Entry Git in Nautilus

Putting in the RabbitVCS extension for Nautilus doesn’t require any tweaks. So long as you have already got your Git workspace arrange on Linux, it’ll detect it. To make use of it, shut any open Nautilus home windows, then re-open them.

After re-launching Nautilus, head to a Git folder on your arduous drive. From there, right-click and search for “RabbitVCS Git” and hover-over it to reveal all out there actions.

Replace

9k=

Do you know that RabbitVCS lets customers replace a Git repo instantly from Nautilus? To do it, click on on the repo folder, then right-click and select “update”. Choosing “update” immediately downloads the brand new code to the repo folder.

Commit code

Want to commit code to a Git repo? Open up the Nautilus file manager and choose a repo folder. From there, right-click wherever and choose the “Commit” choice.

Push

To push code from Nautilus (through RabbitVCS Git,) right-click on the file you’d like to ship, then click on the “push” choice.

Merge

RabbitVCS lets customers merge adjustments proper from the file manager! To do it, find the information you’d like to merge. Then, right-click wherever, and hover over the “RabbitVCS Git” menu. Within the menu space, click on the “merge” button.

Change settings

The default settings for RabbitVCS Git ought to work for many customers. Nonetheless, when you’re not a fan of the way it’s arrange, it’s simple to change. To entry the settings space, right-click, choose “RabbitVCS Git,” then “settings.”



Source link

Share.
Leave A Reply

Exit mobile version