Skip to content

Latest commit

 

History

History
62 lines (34 loc) · 1.67 KB

File metadata and controls

62 lines (34 loc) · 1.67 KB

This Project deals with all the git realated activities

Creating a New Repository

echo "# MasteringGit" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin <Repo Link>
git push -u origin main

Git Stages

  • Untracked: Files are not tracked/qrecorded for any modifications

  • Staged/Tracked: Woerk In progress, The files are being tracked by GIT

git add filename

  • Commited: you are done with the changes and you want to send the changes to remote repository

git commit -m "commit message"

Here is the link for MarkDown-Cheatsheet

Configuring Remote Repo

  • Create a GitHub Account for maintaining the remote repositories

Resources To Learn Git

Git Useful Commands and Links

Git Branching Stratagies

Advanced Git