Re: [git-users] Error while pushing Git repository to Github

2012-11-16 Thread Konstantin Khomoutov
On Fri, Nov 16, 2012 at 12:05:58PM +0530, Ankita Poovaiah wrote:

  I have created ssh keys. While trying to push git repository to github it
  is showing this error git push -u origin master
  fatal: unable to connect to github.com:
  github.com: Servname not supported for ai_socktype.
  What do I need to do?
[...]
  Could you show your file 'git/config'? There we could look at your origin
  configuration.
  Maybe there is something wrong there.
 
  git/config
 bash: git/config: No such file or directory

He meant .git/config in fact--Git stores its repository in the
directory named .git under your project directory.
But inspecting it is not really needed now as we've seen already you
have wrong URLs configured for your remote.

-- 




Re: [git-users] Error while pushing Git repository to Github

2012-11-16 Thread Iñigo Medina


On Fri, 16 Nov 2012, Konstantin Khomoutov wrote:


On Fri, Nov 16, 2012 at 12:05:58PM +0530, Ankita Poovaiah wrote:


I have created ssh keys. While trying to push git repository to github it
is showing this error git push -u origin master
fatal: unable to connect to github.com:
github.com: Servname not supported for ai_socktype.
What do I need to do?

[...]

Could you show your file 'git/config'? There we could look at your origin
configuration.
Maybe there is something wrong there.


 git/config
bash: git/config: No such file or directory


He meant .git/config in fact--Git stores its repository in the
directory named .git under your project directory.


Yep. Sorry for the dot.


But inspecting it is not really needed now as we've seen already you
have wrong URLs configured for your remote.


Ups, I've not seen that URL. :/

iñ



--





--




[git-users] Track changing imports when using git mv on Python project

2012-11-16 Thread Mario
I am currently totally rearranging a python project, which mainly means 
changing file names and moving folders and files. Therefore I user git mv 
and changes go very fast. Unfortunately I have to fix all the hanged 
imports, which is really a lot when having more than 100 files. Is there 
any possibility to make it easier for me?

-- 




Re: [git-users] Track changing imports when using git mv on Python project

2012-11-16 Thread Iñigo Medina


I'm not sure I understand this right. Do you mean change the references to
imports on python files or git references?

iñ


On Fri, 16 Nov 2012, Mario wrote:


I am currently totally rearranging a python project, which mainly means
changing file names and moving folders and files. Therefore I user git mv
and changes go very fast. Unfortunately I have to fix all the hanged
imports, which is really a lot when having more than 100 files. Is there
any possibility to make it easier for me?

--





--




Re: [git-users] Track changing imports when using git mv on Python project

2012-11-16 Thread PJ Weisberg
On Fri, Nov 16, 2012 at 3:13 PM, Mario supermari...@googlemail.com wrote:
 I am currently totally rearranging a python project, which mainly means
 changing file names and moving folders and files. Therefore I user git mv
 and changes go very fast. Unfortunately I have to fix all the hanged
 imports, which is really a lot when having more than 100 files. Is there any
 possibility to make it easier for me?

Refactoring is the job of your IDE, not your version control system.

-PJ

Gehm's Corollary to Clark's Law: Any technology distinguishable from
magic is insufficiently advanced.

--