Add build directory to .gitignore, so that it's not tracked. #1335

pull rebroad wants to merge 1 commits into bitcoin:master from rebroad:IgnoreBuildDir changing 1 files +1 −0
  1. rebroad commented at 6:10 PM on May 17, 2012: contributor

    I'm not sure how come I'm the only person who seems to need this line, but I'm currently unable to submit pulls without this entry, so rather than have it in every pull request, here's a separate one to hit the nail on the head.

    If there's a way to untrack the build directory without adding it to .gitignore, please NACK this and let me know! Thanks!

  2. Add build directory to .gitignore, so that it's not tracked. 0ec6e88048
  3. sipa commented at 6:21 PM on May 17, 2012: member

    ACK

  4. laanwj commented at 6:22 PM on May 17, 2012: member

    Ideally, the build directory is outside the repository. With qmake you can easily do this:

    $ cd ..
    $ mkdir bitcoin-qt-build-desktop
    $ cd bitcoin-qt-build-desktop
    $ qmake ../bitcoin
    

    With the makefiles it's probably possible with some trickery.

  5. jgarzik referenced this in commit 985302c7cc on May 17, 2012
  6. jgarzik merged this on May 17, 2012
  7. jgarzik closed this on May 17, 2012

  8. coblee referenced this in commit e4c3f19ac0 on Jul 17, 2012
  9. suprnurd referenced this in commit 39dcc35d40 on Dec 5, 2017
  10. lateminer referenced this in commit 47cfdf86d1 on Jan 22, 2019
  11. lateminer referenced this in commit 535baaacd7 on May 6, 2020
  12. lateminer referenced this in commit f30074a123 on May 6, 2020
  13. lateminer referenced this in commit c5fc9cc7a3 on May 6, 2020
  14. DrahtBot locked this on Sep 8, 2021
Contributors

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-22 18:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me