LBRY Block Explorer

LBRY Claims • use-this-git-powertip-for-sensitive-info

32ec5634fd0206cb55ec35dc8df40af66c02d728

Published By
Created On
8 Jan 2023 23:56:06 UTC
Transaction ID
Cost
Safe for Work
Free
Yes
Use this Git PowerTip for Sensitive Info #shorts
You've got a file with some sensitive info.

So you want it to push to GitHub with template content.
But you want a local version of the file to have your real data. Problem is, if I change it, Git will track it and push it to GitHub overriding my template.

You can tell Git to ignore just that file with:
git update-index --assume-unchanged FILENAME

You'll notice that Git is not tracking it anymore. To change it back, just change the command to

git update-index --no-assume-unchanged FILENAME

Follow Me
=======
Blog: https://raybo.org
LinkedIn: https://www.linkedin.com/in/planetoftheweb
Twitter: https://twitter.com/planetoftheweb
...
https://www.youtube.com/watch?v=GHEL9swU1vY
Author
Content Type
Unspecified
video/mp4
Language
English
Open in LBRY

More from the publisher

Controlling
VIDEO
GETTI
Controlling
VIDEO
DEVOP
Controlling
VIDEO
LYNDA
Controlling
VIDEO
BUILD
Controlling
VIDEO
CHECK
Controlling
VIDEO
CAN S
Controlling
VIDEO
HOW T
Controlling
VIDEO
UNDER
Controlling
VIDEO
THE A