git Tutorial
Introduction Installing Git Understanding Git architecture Initializing the new Git respository Cloning new Git repository .git directory in Git repository Viewing Git configuration First time Git configuration Using SSH keys with Git Checking Git status Adding files into staging area in Git Committing changes to the local repository Ignoring files using .gitignore Viewing the history of commits Viewing the file contents in working directory, staging area and repository Viewing difference between files Viewing the history of files Git revert Git Reset git reflog Creating and switching to new branches in Git Viewing existing branches Merging branches Resolving conflicts Rebase Deleting branches Renaming the branch in Git Push Pull Stashing the changes in Git Tags in Git Patches in Git Creating new repository on GitHub Pushing local repository to remote repository like GitHub IntelliJ IDEAgit directory in git repo
.git directory stores all important information about the Git repository. It is present in your git repository directory as shown in below image.
- hooks – actions to be takes after certain event like commit, update etc.
- info
- objects
- refs – list of all refs like heads, tags etc
- config – tells if repository is bare or not. Also contains lot of configuration settings like user name, email address, remotes
- description – Name of the repository
- HEAD – current ref
Web development and Automation testing
solutions delivered!!