Skip to content

parmithareddy/VITMAS_TASK0_21BDS0047

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 

Repository files navigation

VITMAS_TASK0_21BDS0047

git init

Usage: git init

This command is used to start a new repository.

git config

Usage: git config –global user.name “[name]”

Usage: git config –global user.email “[email address]”

This command sets the author name and email address respectively to be used with your commits.

git touch

usage: touch(file name with extension)

This command is used to create new and empty files in the repository.

git add

Usage: git add [file]

This command adds a file to the staging area.

git status

Usage: git status

This command lists all the files that have to be committed.

git push

Usage: git push [variable name] master

This command sends the committed changes of master branch to your remote repository

git pull

Usage: git pull [Repository Link]

This command fetches and merges changes on the remote server to your working directory.

git merge

Usage: git merge [branch name]

This command merges the specified branch’s history into the current branch.

git stash

Usage: git stash save

This command temporarily stores all the modified tracked files.

git remote

Usage: git remote add [variable name]

This command is used to connect your local repository to the remote server.

git log

Usage: git log

This command is used to list the version history for the current branch.

git rm

Usage: git rm [file]

This command deletes the file from your working directory and stages the deletion.

git diff

Usage: git diff

This command shows the file differences which are not yet staged.

git clone

Usage: **git clone [url] **

This command is used to obtain a repository from an existing URL.

git Branch

usage: git branch

This command lists all the branches available in the repository.

git show

usage: git show [commit]

This command is used to show the metadata and content changes of specified commit.

git fetch

usage: git fetch

This command is used to download branches and tag from one or more repositories.

git checkout

usage: git checkout

This command is used to switch between branches in a repository.

YOUTUBE DEMONSTRATION LINK :https://youtu.be/8d-LIjhP1tk

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published