Git

Basic Git commands:

  • To clone a git repository:
    • git clone <url>
    • the <url> can be obtained from the repository's Code tab. Example
    • or we can copy the <url> from the clone button in the repository in Bitbucket.
    • git status
    • git add .
    • git commit -m "some messages about this commit"
    • git push