Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7829963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T11:00:26+00:00 2026-06-02T11:00:26+00:00

To distribute my Ubuntu packages, I use debuild -S to create the source package

  • 0

To distribute my Ubuntu packages, I use debuild -S to create the source package and then upload it to launchpad, which creates the binary packages. This is very convenient. However, I noticed that my source packages are growing quickly in size, due to the fact that all of my packages contain a .git directory which is included in all the source packages.

What would be a way to set a global option so that debuild/dpkg always skips any .git directories when creating a source package?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T11:00:28+00:00Added an answer on June 2, 2026 at 11:00 am

    You could use something like this

    git archive master | tar -x -C /somewhere/else
    

    and then create the .deb from /somewhere/else which should not include a .git directory

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I distribute my application using a VS2008 install package, which normally works great. When
I use setuptools to distribute my python package. Now I need to distribute additional
I want distribute some links in columns. I use this css: .cols{ float: left;
pip install --upgrade distribute throws the following error. Downloading/unpacking distribute from http://pypi.python.org/packages/sourc e/d/distribute/distribute-0.6.25.tar.gz#md5=a690874b9964d958a3200485eb827b1 d
I am trying to use the Windmill Testing Framework over https. I'm running Ubuntu
Possible Duplicate: Can distribute setuptools be used to port packages implemented in python 2
Here's the current situation I'm in: I want to distribute a binary app on
i follow this manual to lean to use the bashdb: http://archive09.linux.com/articles/153383.html#commentthis And when i
The scenario is: I am on Ubuntu 11 which comes with Python 2.7, I
I distribute a statically linked binary version of my application on linux. However, on

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.