git cheatsheet </>
<Frontend developer/>
Git init
Create an empty git repo in specified directory.
Git clone
Git clone is use copy repo files and directory.
Git add
Stage all changes in <directory> for the next commit.
Git commit -m
Commit the staged snapshot and giving a mess by -m for future reference
Git status
To See which files are staged, unstaged, and untracked.
Git config
Define user name for all commit in current repo.
Git log
Show entire commit history using the default format.
Git diff
Show the unstaged change between index an working directory
Git Remote add
Create a new connection to a remote repo.
Git fetch
Fetches a specfic <branch>, from the repo. Leave off <branch> to fetch all remote refs
Git pull
Fetch the specified remote's copy of current branch and immediately merge it into the
local copy
Git Push
Push the branch to <remote>, along with necessary commits and objects. Creates named branch in the remote repo if it doesn't exit.
#Thank You



