Zipping all files in a Git repository

Hello,

This is a quick / reference post illustrating how to archive (zip format) all the files in a branch in a Git repository.

From the command prompt, type:

 
git archive --format=zip -o files.zip master

Explanation:

  1. The “–format” argument lets you specify the archive type. I used the zip file format
  2. The “-o” argument lets you specify the output file name
  3. master” is the name of the branch to be archived.

 

flower separator
batchography-good-resDo you want to master Batch Files programming? Look no further, the Batchography is the right book for you.

Available in print or e-book editions from Amazon.
flower separatorYou might also like:

 

Ganesha – The obstacle remover

Ganesha, in the Hindu religion, is known as the remover of obstacles. I first learned about him when I was listening to Thomas Ashley-Farrand’s audio-book entitled: Mantra: Sacred Words of Power.

I love mantras and I learned his mantra:

Om Gam Ganapataye Namaha

The following picture explains Ganesha’s most famous depiction:

You might also like:

My fourth painting: Sunset flight

This is my 4th painting.
I enjoyed painting this one on 06/24/2017 at Pinot’s Palette

Sunset flight

You might also like:

One theory about why numbers are written the way they are

Many years ago, I was reading in Thiaoouba Prophecy book by Michael Desmarquet. A very nice book.

Anyway, in that book, there was a mention about numbers and why they are written the way they are. The alien in the book explains that the numbers are written like this because of the number of angles each number have:

You might also like:

Mystic Moon: My third painting

This is my 3rd painting.
I enjoyed painting this one on 06/17/2017 at Pinot’s Palette

You might also like:

Futurama: Bender – Robot Grace – or the Geek’s prayer

If you are a fan of Futurama, and Bender the bending robot in particular, you might like this audio clip where Bender says grace before eating:

In the name of all that is good and logical, we give thanks for the chemical energy we are about to absorb. To quote the prophet Jerematic, one zero zero zero one zero one zero one zero one zero one… [Time lapse.] Zero zero one… zero one one zero zero one…two.
Amen.

You might also like:

Life is Short – Forgive quickly

It is always cheesy when I enter a shop and find those cliché quotes hanging on the wall! 🙂

I like it, except for the “break the rules” one. I would encourage you to be responsible if you want to break the rules

You might also like: