.gitignore is not enough

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are files which one would like to pull from a remote branch but
not have git register said person's changes on said files

Let's have a file named:
.gitpullfromremotebutdonotregistermylocalchanges

Of course, we can think of a better name

By register I mean detect, like when git status detects changes that
are not staged for commit

Use case:

On GitHub, you clone a repo with a default config file (skeleton)
You custom the config file with personal tokens and values
If the config filename was in .gitpullfromremotebutdonotregistermylocalchanges
Then the following don't have to be worried about:
1. The developer (the remote branch maintainer) doesn't have to not
have a default config file (skeleton) because it was in .gitignore
2. Pushing your secrets
-- 
Anonymous



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux