Need pull to delete files.

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

 



Yesterday, when running get pull, I got the message.  

Stopping, untracked file in the working tree would be overwritten by the merge.   Please delete fileX before continuing merge. 

As part of our regular process, we are continually deleting files.   
We will have:
File1 
File2.  

Then we will add 
File3 
And delete File1.  

We do not want to get a message saying untracked file ...   If the file is untracked, then why is git checking it? 

During pull ( for build ) we need the pull to delete the deleted file.   Using -ff did not work.  
On our build machine, the remote ( github ) is the master.   Local working tree is expendable.   We want to always pull and merge the remote regardless.  


Thanks, 

Scott Russell
Staff SW Engineer 
NCR Corporation 
Phone: +17706237512
Scott.Russell2@xxxxxxx  |  ncr.com
       





[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