Victor Choi

  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Home
  • Business
    • Internet
    • Market
    • Stock
  • Downloads
    • Dvd
    • Games
    • Software
      • Office
  • Parent Category
    • Child Category 1
      • Sub Child Category 1
      • Sub Child Category 2
      • Sub Child Category 3
    • Child Category 2
    • Child Category 3
    • Child Category 4
  • Featured
  • Health
    • Childcare
    • Doctors
  • Uncategorized

11/18/2019

Git ignore vs Git exclude

 5:22 PM     exclude, gitignore, ignore, react native, source control     No comments   

If you are a developer you might have used git to manage your source repository. Then you might use .gitignore file to exclude files or folders that you don’t want to sync with your remote repository.

.gitignore

If you specifies files or folders in .gitignore file, you can exclude files or folders messed up by an unexpected situation. Because it syncs with your remote repository which means all your team members share this configuration for a project.

exclude

git ls-files --others --exclude-from=.git/info/exclude

When I work on a React Native project then I need to be careful not to affect Android sources. In this case exclude file could be a solution for you. The scope of exclude file is for your machine which means that you exclude folders or files in your machine not to sync with the remote repositories.

  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Email ThisBlogThis!Share to XShare to Facebook
Newer Post Older Post Home

0 개의 λŒ“κΈ€:

Post a Comment

Search This Blog

Popular Posts

  • How to put a padding into a UITextField ?
  • Time machine gives error "can't connect to a current time machine backup disk"
  • Keynote Tutorial Text Outline - Make your animation meaningful
  • Keynote Tutorial , Sound is a design,too
  • Keynote Tutorial How to improve your bullets

Blog Archive

  • ►  2020 (2)
    • ►  January (2)
  • ▼  2019 (21)
    • ►  December (2)
    • ▼  November (6)
      • How to launch Xcode in macos catalina terminal zsh
      • Bye Slack, Meet Teams
      • Git ignore vs Git exclude
      • React Native - launch an app on iOS device and qui...
      • When you try to import a library or a framework in...
      • Bitbucket authentication error, Invalid username a...
    • ►  October (5)
    • ►  September (2)
    • ►  August (3)
    • ►  July (2)
    • ►  June (1)
  • ►  2017 (11)
    • ►  December (2)
    • ►  November (2)
    • ►  July (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (3)
  • ►  2016 (48)
    • ►  December (3)
    • ►  November (2)
    • ►  September (1)
    • ►  August (10)
    • ►  July (5)
    • ►  June (7)
    • ►  May (2)
    • ►  April (18)
Powered by Blogger.

Navigation Menu

  • Home
  • About
  • Documentation
  • Contact

Contact Us

Name

Email *

Message *

Copyright © Victor Choi | Powered by Blogger
Design by Hardeep Asrani | Blogger Theme by NewBloggerThemes.com | Distributed By Gooyaabi Templates