Android Question Git - which folder can I ignore.

Discussion in 'Android Questions' started by davemorris, Aug 3, 2019.

Tags:
  1. davemorris

    davemorris Member Licensed User

    Hi, Guys
    I am using GIT for my version control system - however the .git file is growing at an alarming rate.

    Question - which folders can I safely ignore - they appears that Objects folder and its sub folders are the problem but the manifest is in there so I am wondering which sub folders I can safely ignore.

    Kind regards
    Dave
     
  2. DonManfred

    DonManfred Expert Licensed User

  3. davemorris

    davemorris Member Licensed User

    Hi, Thanks for the reply -
    I have had a quick look at the documentation and it appears discuss the SVN system (I am using BitBucket a GIT based system). Therefore I simply need a list of folders (and files if necessary) and update the .gitIgnore file according.

    Here is my list of possible folders (within the project folder) to exclude.

    project /Autobackup
    project/Objects/bin
    project/Objects/gen
    project/Objects/res
    project/Objects/shell
    project/Objects/src

    All the rest looks important and should be committed - any comments?

    Kind regards
    Dave
     
  4. f0raster0

    f0raster0 Active Member Licensed User

    +1 want to know too..
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    You can ignore all files under the Objects folder (the icon will be excluded but it is probably not a big deal).
    The AutoBackups should also be excluded. Other files are needed.
     
    f0raster0 likes this.
  6. moster67

    moster67 Expert Licensed User

    f0raster0 likes this.
  7. davemorris

    davemorris Member Licensed User

    Hi
    Thanks all, I will give it a try.

    Regards
    Dave
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice