Ubuntu – Download files from Git + GUI

git

This post is related to downloading files from Git Repository on Ubuntu 11.10.

I have installed 'Git' from Software Centre including the components like GUI, revision tree visualiser etc etc

The files I am downloading are from the following Repo

From Terminal I can clone the repository by issuing following command

khurram@CP:~/GitRepos$ git clone https://github.com/commonsguy/cwac-wakeful.git

So

  1. This repository has a jar file in downloads section of the git. But the above command doesn't download those file so I have to do that manually. How can I download the said jar file or any other file for that matter automatically.

  2. Can some one share a script to check for updates on git repository to download files.

  3. How can I invoke the GUI component of my git installation.

  4. Does Linux have something like Tortoise SVN. I have used Tortoise SVN for Subversion in Windows and it integrates to the Explorer. It shows a little red marker on the folder to indicate that it is out-of-sync. Hence I can just right click on the folder to update from repository.

Best Answer

Let me see if I can address how this works.

  1. The contents of the JAR are the repo. It makes no sense from a source control aspect to put the JAR which is the repo in to the repo. If all you want to do is download the JAR then something like this:

    wget https://github.com/downloads/commonsguy/cwac-wakeful/CWAC-WakefulIntentService.jar
    

    would suffice.

  2. You can check for updates at any time with git fetch, you can pull down changes with git pull

  3. Make sure you've installed git-gui Install git-gui package and run git gui from the command line.

  4. Nautilus Git Integration

Related Question