Avoid using online tools that shows differences between text files!
While these tools seem quick and easy, they come with a significant risk—your data could be stored, shared, or even misused without your knowledge. This can be especially risky when dealing with sensitive data or confidential files.
Linas Kapočius
Solutions Architect at Corgineering.com
Git could help you down there, again! But if you still do not like terminals, then check out VScode approach at the end of this post! ↗
Here’s what you need to do:
1️⃣ Install Git (link in the comments)
2️⃣ Know the location of your files
3️⃣ Open your *command line
4️⃣ Run this command
git diff --no-index <your-file1 > <your-file2>
🛠 Bonus: The --no-index flag allows you to compare files that aren’t tracked by Git—super convenient and completely secure!
Not a fan of terminals? No problem! If you're using VSCode, you can easily compare files with its built-in feature
👉 If you found this tip helpful, remind your co-workers to avoid uploading data to unknown online tools!
This article is part of our Best Practices series. Check out our other articles.