untrack

Git: How to add an untracked file back to the repository?

If you want to add certain files that was previously removed from Git repository, follow the steps given below.

STEP 1: remove the file reference in .gitignore

STEP 2: remove the cached reference from git.

$ git rm –cached sampleconfig.txt
Continue Reading…

Share
Kurinchi Calendar
September 2018
M T W T F S S
« Oct    
 12
3456789
10111213141516
17181920212223
24252627282930