repo: command not found?

I am new to git and repo. I am in window 7 so I use cygwin. I have installed git from cygwin setup. After that I try to repo with the following command in cygwin.

$ repo init-u git://

  • How to push Eclipse project to Github
  • Connecting to GitLab repositories on Android Studio
  • Ideal Android Studio gitignore file
  • Is it mandatory to save *.iml files in Version control?
  • Include Git Library with Project on Android Studio using aar?
  • Ignore app/build in Android Studio 1.3+ in .gitignore
  • error like these> bash : repo: command not found

    I think I need to make setup in cygwin for repo. What do I need next to get repo.
    Thanks in advance,
    hope for help!

  • Git - How to see if a branch has EVER been merged into another branch?
  • Automatically resolve git conflicts except for some files
  • Problems with Python indentations when cloning from GitHub
  • Add images to on GitHub
  • git vs mercurial performance
  • git required password on every push
  • 4 Solutions collect form web for “repo: command not found?”

    You still need to install repo. repo is a third party tool built on top of git. See:
    for how to install

    add line
    export PATH=~/bin:$PATH in file ~/.bashrc

    edit .bash_profile and uncomment these fields. (any text editor will do)

    # Set PATH so it includes user's private bin if it exists
    # if [ -d "${HOME}/bin" ] ; then
    #   PATH="${HOME}/bin:${PATH}"
    # fi

    Restart CYGWIN.

    I have the same problem and I have to do:
    $ PATH=~/bin:$PATH every time I repo sync but at least it works.

    Git Baby is a git and github fan, let's start git clone.