Skip to content

AKanparia/git-tutorial

Repository files navigation

Git & GitHub tutorial

Meme PC

Resources to learn Git

  1. Git Handbook Git, GitHub, DVCS, oh my! Learn all the lingo and the basics of Git.
  2. Learn Git branching Try Git commands right from your web browser. Featuring some of your soon-to-be favorites: branch, add, commit, merge, revert, cherry-pick, rebase!
  3. Cheat Sheet Keep these handy! Reference sheets covering Git commands, features, SVN migrations, and bash. Available in a multiple languages.
  4. Markdown Cheatsheet to write clean README

Basic Setup

  1. For installation, download git for your respective platfrom.
  2. Configure your username with git config --global user.name "[name]"
  3. Configure your email with git config --global user.email "[email address]"

Basic Git commands

Command Description
git init Turn an existing directory into a git repository
git clone Clone (download) a repository that already exists on GitHub, including all of the files, branches, and commits
git add Snapshots the file in preparation for versioning
git commit Records file snapshots permanently in version history
git status shows the status of changes as untracked, modified, or staged
git branch shows the branches being worked on locally
git checkout Switches to the specified branch and updates the working directory
git merge Combines the specified branch’s history into the current branch. This is usually done in pull requests, but is an important Git operation.
git pull Updates your current local working branch with all new commits from the corresponding remote branch on GitHub. git pull is a combination of git fetch and git merge
git push Uploads all local branch commits to GitHub
git log Lists version history for the current branch

Internal Training

Completed By

  • Abhishek Kanparia (973904)
  • Aditya Wadhawan (1774100)
  • Akanksha Patro (1771247)
  • Deep Mukherjee (1337107)
  • Eshika (1821178)
  • Jitender Rathore (845434)
  • Kushal Shah (1768625)
  • Md Safiul Haque (1779416)
  • Pavan Khedkar (1822226)
  • Pinak Bagchi (1793394)
  • Saayali Vispute (1768201)
  • Shailesh Madav (1444664)
  • Shubham Soni (1846853)
  • Siddhesh Deshpande (1777871)
  • Sonal Chavan (1787214)
  • Soumyadip Roy (1857388)
  • SUBODH KUMAR (1844955)
  • Swarnadeep Ghosh (1769592)

About

Git & GitHub training/tutorial

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published