Check Mobile App
Read now

Git Remove Tracked file

Save

Git is powerful. To tell you how powerful it just compare it with Mjolnir

But there are always some files which are being tracked in the versioning event if it is not used for us.

Let us take an example:

screenshot-from-2016-12-05-121333

In the above image we can see some of the folder like build, idea are being tracked.

We can simply remove if from being tracked by few commands.

Add .gitignore plugin in you android studio.

Here is sample .gitignore file took from community.

Now if you want to untrack the files, Here are the steps you can follow.

  1. Update the .gitignore file
  2. commit pending changes
  3. Execute following git command.

 

screenshot-from-2016-12-05-122946

 

Hope that fix your git tracking problem.

Happy coding !

 

REFERENCE:

SOURCE 1

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


2 comments

  • Pratheek
    You are awesome! Thanks!
    • anchit (Moderator)

      Thank You 🙂

  • css.php

    Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!

    Deniel Kerr

    Owner and Founder. Opencart

    Talk to Sales
    Start a Project

      Message Sent!

      If you have more details or questions, you can reply to the received confirmation email.

      Back to Home