git TutorialIntroduction 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 IDEA
Committing changes in gitChanges that are in the staging area are committed to repository. To commit the changes, you have to use git commit command. Below image shows the commit command in action. Notice that we had one file in staging area – f1.txtAfter commit command is executed, nothing remains in staging area. So git status says that nothing to commit. Also In working directory, there are no new changes. If we modify, delete or add new files in the working directory, git status will give proper information.
Web development and Automation testing