Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
Thread Tools Display Modes
Share |
  #1  
Old 08-09-2016, 07:31 PM
HenryMartin HenryMartin is offline
Junior Member
 
Join Date: 08-09-16
Posts: 9
iTrader: 0 / 0%
What is Gitignore ?

What is Gitignore and is it important for us ?

Be a developer, We still know Git as source code manager. Sometimes, in your team, when you push code on Git, you merge code with others in your team cause trash files like log, config, etc. And Gitignore was created to solve this problem.

So, actually it is what and how it work ?
 
Reply With Quote

Advertisement

Advertisement

  #2  
Old 08-10-2016, 12:16 AM
Dan Williamson Dan Williamson is offline
The Controversial Coder
 
Join Date: 05-01-06
Location: Manchester; UK
Posts: 2,710
iTrader: 0 / 0%
Basically files that you want Git to ignore when you are committing, pushing, merging etc.

https://git-scm.com/docs/gitignore
 
Reply With Quote
  #3  
Old 08-10-2016, 12:43 AM
HenryMartin HenryMartin is offline
Junior Member
 
Join Date: 08-09-16
Posts: 9
iTrader: 0 / 0%
Thank Dan, Is it really necessary ?
 
Reply With Quote
  #4  
Old 08-10-2016, 09:47 AM
Dan Williamson Dan Williamson is offline
The Controversial Coder
 
Join Date: 05-01-06
Location: Manchester; UK
Posts: 2,710
iTrader: 0 / 0%
Quote:
Originally Posted by HenryMartin View Post
Thank Dan, Is it really necessary ?
Not necessary at all, but extremely useful, especially when working on larger projects.
 
Reply With Quote
  #5  
Old 09-11-2016, 05:03 PM
brogrammer30's Avatar
brogrammer30 brogrammer30 is offline
Junior Member
 
Join Date: 07-12-16
Posts: 32
iTrader: 0 / 0%
Imagine user uploads to a site. Every time a user does this, it will create untracked files. This tells git to disregard those files
 
Reply With Quote
  #6  
Old 10-16-2016, 11:44 PM
d4jk4 d4jk4 is offline
Junior Member
 
Join Date: 10-15-16
Posts: 7
iTrader: 0 / 0%
It will ignored in your project, your co-worker can not see your changes because you can not push your change in the files .gitignore file
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 02:30 AM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2018 VIX-WomensForum LLC