Professional Documents
Culture Documents
Notes Git Github
Notes Git Github
.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:
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.
Rebasing in Git:
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.