Re: [git-users] Git Bad Pattern Error

2014-04-03 Thread Konstantin Khomoutov
On Wed, 2 Apr 2014 15:34:36 -0700 (PDT) akhilagarwa...@gmail.com wrote: I was just doing git add filename But instead of filename, I pasted some random text. And now when I am doing any git function, it is giving an error git:160: bad pattern: my random text Number 160 is an example, it is

[git-users] Wanted to setup a local git server

2014-04-03 Thread Dhanesh Kumar
Hi, I have a GIT server setup in US. But am working from India. So accessing of server is slow. So I wanted to setup a local GIT server in India where in all the developers will check-in the code and do all the operations. And that code will be synced to the US server. Anybody has any idea on

Re: [git-users] Wanted to setup a local git server

2014-04-03 Thread John McKown
On your local server (to be), try doing something like: git clone --mirror url-to-us-server This will create a bare repository on the local server which is identical to the server in the US. Have your local developers do a git clone from this server. This will cause git push to update the local

[git-users] git aws.push stopped working after OS upgrade to Ubuntu 14.04

2014-04-03 Thread John Kolen
I've been successfully pushing my rails app to AWS electric beanstalk for several months. Earlier this week, I upgraded my dev box to Ubuntu 14.04. Now, 'git aws.push' fails when trying to push to AWS with the following error fatal: unable to access

[git-users] advice for migration

2014-04-03 Thread Phil Cruz
I need some guidance on how to import our existing SVN repo to Git. The structure of the repo is not exactly standard. Say we have 2 versions of our app in the repo, Version1, the currently shipping version and Version2, the next version in development. The SVN structure is like /branches

Re: [git-users] git showing modified files right after branch chekout

2014-04-03 Thread Nelson Efrain A. Cruz
Perhaps it's a problem with git for Windows. I run in a, somehow, similar situation using git for windows: in a branch, say branch-one, I have files that didn't exists in branch-two. So changing from branch-one to branch-two will result in all of these files that didn't exists in branch-two

Re: [git-users] git showing modified files right after branch chekout

2014-04-03 Thread Stas Fedotov
I am using git on Cygwin. Today I figured out that this is .gitattributes file which is messing the stuff. .gitattributes contains only * text = auto After removing the file - problem was gone. But I still wonder why? Because the both git-scm book and github tutorial on lineendings told

Re: [git-users] git showing modified files right after branch chekout

2014-04-03 Thread Dale R. Worley
From: Stas Fedotov stas.fedo...@gmail.com I am using git on Cygwin. Today I figured out that this is .gitattributes file which is messing the stuff. .gitattributes contains only * text = auto After removing the file - problem was gone. But I still wonder why? Because the both

Re: [git-users] git showing modified files right after branch chekout

2014-04-03 Thread Philip Oakley
Sorry for top post. The problem maybe 'unicode' in that autodetect on general unicode text (i.e. non US ASCII chars) will be detected as binary files rather than as text files, and somehow thus different (or treated different). In particular I believe it's that Git detects null bytes as an

Re: [git-users] git showing modified files right after branch chekout

2014-04-03 Thread Stas Fedotov
Thanks Philip, Those files are usually code files (java, as, xml, properties) and doesn't contain any non-ascii symbols. Running file command gives usually this: file A.java A.java: ASCII text, with CRLF line terminators How else can I check that? On Thursday, April 3, 2014 11:18:35 PM