Class_002 - AndreCunhaAGAP/MyJavaClasses GitHub Wiki

Class 002

Topics

  • Installing git
  • Sign up to Github
  • Configure git
  • Creating git repository
  • Sync local and remote repositories
    • git init - Create git repository in this location
    • git remote add <repo_name> <repo_location> - Create a link to a repository named <repo_name>, with link to <repo_location>
    • git clone <repo_name> - Sync the remote repository named <repo_name> with our local repository
    • git add --all - Add all files in the Untracked to the Staged
    • git commit -m <commit_message> - Add files from Staged to local repository
    • git push <repo_name> - Add files from local repository to remote repository
⚠️ **GitHub.com Fallback** ⚠️