Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
  • Fatal error in git terminal

    • 0
    • 0
    • 0
    • 1
    • 0
    • 0
    • 0
    • 868
    Answer it

    Hello I'm using git and I just updated code on my get portal but everytime I'm trying to push the update from terminal this error message is showing:-

    fatal: Not a git repository (or any of the parent directories): .git
        root@ongeza-live-evon:/# .git
        -bash: gitpull: command not found
        root@ongeza-live-evon:/# git pull

    Anybody tell me what to do to fix this problem?

 1 Answer(s)

  • The directory in which you are trying to pull(in you case, ongeza-live-evon) is not a git repository. To use any git command, the directory must have to be a git repository. You can initialize your directory as a local git repository by issuing "git init" command.

    To learn more about using git and it's commands, This is a good read.

Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: