Re: [git-users] git subtree add: Import only specified folder from remote git

2017-11-20 Thread Konstantin Khomoutov
On Sun, Nov 19, 2017 at 08:15:53PM -0800, Zvi Vered wrote: > I'm using the following command to create subtree: > git subtree add --prefix=DRV1 https://github.com/zviered/DRV1.git master > > The repo https://github.com/zviered/DRV1.git contains few folders. > I want my subtree to contain only

Re: [git-users] Git on Windows marks file as "modified" even it has no changes

2017-11-20 Thread Philip Oakley
I think this is just a misunderstanding about how Git is working, which can be hard to appreciate at first. Because Git has the Staging Area/Index (equivalent to an old style Out box for things that are Done but not yet filed) the act of adding the file makes it appear to go away. In addition

Re: [git-users] git subtree add: Import only specified folder from remote git

2017-11-20 Thread Zvi Vered
Hi, I tried: git subtree split --prefix=windows and got: adb5b0b26c0793db6cf86ee7647a4a649c2c7a8d Then I tried to run : add+commit+push but got: nothing to commit, working tree clean What should be the next step ? Thank you, Zvika On Monday, November 20, 2017 at 10:17:25 AM UTC+2,

[git-users] Git on Windows marks file as "modified" even it has no changes

2017-11-20 Thread IL Ka
Hi all. I copied file from different folder over file in my repository. Contents are the same, only modification date differs. But file is marked as "changed". But when I "stage" it -- it simply disappears from list. Modified: >git status | findstr flake8 modified:

Re: [git-users] git subtree add: Import only specified folder from remote git

2017-11-20 Thread Zvi Vered
On Monday, November 20, 2017 at 10:17:25 AM UTC+2, Konstantin Khomoutov wrote: > > On Sun, Nov 19, 2017 at 08:15:53PM -0800, Zvi Vered wrote: > > > I'm using the following command to create subtree: > > git subtree add --prefix=DRV1 https://github.com/zviered/DRV1.git > master > > > > The