Please enable JavaScript.
Coggle requires JavaScript to display documents.
Git, Github - Coggle Diagram
Git, Github
Pre-requisites
-
-
-
Git Commands
- Git init = Creates a new repository
-
The git status command displays the state of the working directory and the staging area. It lets you see which changes have been staged, which haven't, and which files aren't being tracked by Git.
The git branch command lets you create, list, rename, and delete branches.
- A staging step in git allows you to continue making changes to the working directory, and when you decide you wanna interact with version control, it allows you to record changes in small commits
-
-
-
-
-
Github
-
- Push the changes of local to remote
-
Version Controlling
Git is a type of version control system (VCS) that makes it easier to track changes to files. For example, when you edit a file, git can help you determine exactly what changed, who changed it, and why. ... Git isn't the only version control system out there, but it's by far the most popular.
-
-
-
Difference b/w git and github -Git is a version control system that lets you manage and keep track of your source code history. GitHub is a cloud-based hosting service that lets you manage Git repositories. If you have open-source projects that use Git, then GitHub is designed to help you better manage them.