Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Git/GitHub: The basics and beyond

Git/GitHub: The basics and beyond

Git is a widely used software for software source control and versioning. This talk touches the basics and internals of Git, and also demonstrates how collaboration happens on GitHub

opara prosper

March 06, 2020
Tweet

More Decks by opara prosper

Other Decks in Technology

Transcript

  1. What we will cover… ✓ Git basics, internals, workflow. ✓

    GitHub basics, terminologies, workflow ✓ Collaborating using GitHub ✓ Question/Answer session
  2. GIT BASIC Version Control GIT Version 1.0 Version 2.0 Version

    3.0 Distributed Version Control System No central data store Recording Changes to file(s) over time and recall this changes
  3. GIT BASIC $ git init <repository name> $ git add

    <file> $ git commit –m “<commit message>” Make modifications (additions/deletions) Staged files Snapshots $ git checkout –b <feature branch name> $ git restore --staged <staged file name> $ git remote add origin <URL to remote repository> $ git push –u origin master
  4. $ git clone <URL to remote repository> $ git add

    <file> $ git commit –m “<commit message>” Make modifications (additions/deletions) Staged files Snapshots $ git checkout –b <feature branch name> $ git restore --staged <staged file name> $ git push –u origin master GIT BASIC