Skip to content

Hem125/GIT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 

Repository files navigation

GIT

How to setup GIT

Installing Git

  • Go to google.com and search install git than click on first link given

image

Capture1

  • Select the system type you want to install 32bit or 64bit

Capture2

  • When you are ready to continue with setup click next

image

  • Select the path and click next

image

  • Select components needs to install

image

  • After finishing all steps , install when ready

image

  • Complete the wizard setup

image

  • Git is ready for use

image

  • Getting a Git Repository

image

  • Architecture of git

MicrosoftTeams-image (1)

Working with various commands in GIT

  • Git config command for confriguration of username and email address

image

  • GitInit command turns a directory into an empty Git repository. This is the first step in creating a repository.

image

  • Touch command to create an empty file in git

image

  • Git add command to add files in to the staging area for Git.

image

  • Git status commands returns the state of the repository. git status will return the current working branch.

image-

  • git commit command record the changes made to the files to a local repository

image

  • git branch command to add a new branch. The git branch command lets you create, list, rename, and delete branches.

image

  • To start working in a different branch, use git checkout to switch branches.

image

Staging our modified files

image

  • Unstaged changes are changes that are not tracked by the Git

image

  • Adding and committing can change it to staged area

image

  • Commit change by adding file than commit

image

  • We can remove file in git using rm command

image

  • Changing your last commit

image\

  • fetching from remote

image

  • pulling from remote

image

  • pushing from remote

image

  • inspecting from remote

image

  • Removing and Renaming Remotes

image

  • Branch management in Git

  • image
  • create remote branch

image

  • delete remote branch

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published