Re: Gitattributes file is not respected when switching between branches

2016-09-18 Thread Torsten Bögershausen
On 16.09.16 08:51, Виталий Ищенко wrote: > Sorry for delay. > No problem about the delay. (And please no top-posting) If you say > ".gitattributes" indeed is not present in "master", but this is intentionally then nobody has (to my knowledge) thought about this situation/workflow yet. The sho

Re: Gitattributes file is not respected when switching between branches

2016-09-15 Thread Виталий Ищенко
Sorry for delay. ".gitattributes" indeed is not present in "master", but this is intentionally It is placed only in following 2 branches: feature-branch unix-feature-branch This is how flow looks on windows $ git --version git version 2.9.3.windows.1 vitalii.ishchenko@DESKTOP-9TC9UPB MINGW64 /c/

Re: Gitattributes file is not respected when switching between branches

2016-09-12 Thread Torsten Bögershausen
On 12.09.16 21:35, Torsten Bögershausen wrote: > On 12.09.16 14:55, Виталий Ищенко wrote: >> Good day >> >> I faced following issue with gitattributes file (at least eol setting) >> when was trying to force `lf` mode on windows. >> >> We have 2 branches: master & dev. With master set as HEAD in rep

Re: Gitattributes file is not respected when switching between branches

2016-09-12 Thread Torsten Bögershausen
On 12.09.16 14:55, Виталий Ищенко wrote: > Good day > > I faced following issue with gitattributes file (at least eol setting) > when was trying to force `lf` mode on windows. > > We have 2 branches: master & dev. With master set as HEAD in repository > > I've added `.gitattributes` with following

Gitattributes file is not respected when switching between branches

2016-09-12 Thread Виталий Ищенко
Good day I faced following issue with gitattributes file (at least eol setting) when was trying to force `lf` mode on windows. We have 2 branches: master & dev. With master set as HEAD in repository I've added `.gitattributes` with following content to `dev` branch ``` * text eol=lf ``` Now wh

Re: Switching between branches

2005-04-21 Thread Petr Baudis
Dear diary, on Thu, Apr 21, 2005 at 04:12:49PM CEST, I got a letter where Matthias Urlichs <[EMAIL PROTECTED]> told me that... > Hi, Petr Baudis wrote: > > > Hello, > > > >> Perhaps it's a naive question, but how do I switch between branches? I > >> mean an equivalent of "svn switch" or "cvs upd

Re: Switching between branches

2005-04-21 Thread Matthias Urlichs
Hi, Petr Baudis wrote: > Hello, > >> Perhaps it's a naive question, but how do I switch between branches? I >> mean an equivalent of "svn switch" or "cvs update -r branch" that would >> reuse the existing working directory. > > you can't. There was 'git update' (and intermediate never-committed

Re: Switching between branches

2005-04-21 Thread Petr Baudis
Dear diary, on Thu, Apr 21, 2005 at 03:42:39AM CEST, I got a letter where Pavel Roskin <[EMAIL PROTECTED]> told me that... > Hello! Hello, > Perhaps it's a naive question, but how do I switch between branches? I > mean an equivalent of "svn switch" or "cvs update -r branch" that would > reuse th

Switching between branches

2005-04-20 Thread Pavel Roskin
Hello! Perhaps it's a naive question, but how do I switch between branches? I mean an equivalent of "svn switch" or "cvs update -r branch" that would reuse the existing working directory. I tried to switch a git-pasky working directory to the linus branch. Here's what I tried: git track linus