Git is version control, where we can check in the code and look back on the history of the code how it's written.
We have to understand how GitHub Workflow works.
- Branching
- Commits
- Pull Request
- Collaborate
- Merge
GitHub Workflow - for open source :
- Fork: Exact copy of repository under your account
- Why: Permission access
- How: Create fork, GitHub Flow, Open pull request
Cloning Repositories:
- What is work locally
- Cloning - local vs remote
Cloning repository means we have a remote copy of the repository on the local machine, we can change our code in offline mode. Once all changes did we can make a commit to the remote repository.
Git Commands:
Git clone - get the copy of the source in local Git pull - Sync local repository Git branch - to create a branch Git checkout - to checkout to a specific branch Git status - to check what going on Git add - to add in a repository Git commit - to commit Git push - finally push on the remote repository
Top comments (0)