Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 13

Version Control: to control the version of the projects.

So that i’m able to roll back to my previous


specified version

Version Control using Git and CLI:

.git file is used to track, commit all the changes and to perform version control.
Staging area is a good place to track down the files to be ignored and to be tracked.
GitHub and remote repositories:

Both local and remote repositories can be synced, or can be made parallel
GitIgnore:
#.txt means all of the files that have a .txt extension will be ignored.
Cloning a remote repository to pull it into a local machine:

Forking, making pull requests and merging repositories:

Branching:

Ex – to implement new ideas, or try something new, a side branch can be created instead of the
main branch.
Side branches can be useful when merging the parallel projects into the main branch.

One branch can be merged into another.

Rebasing in Git:

Forking and pull requests:

Git clone is just grabbing the entirety of the repository and then cloning to the local environment.
Git fork is keeping the GitHub repository to our own GitHub account to make changes.

You might also like