L01_Git

Nice cheatsheet I found

L01.1_GitHub_Markdown

L01.2_Git_VS

Task: Discuss certain concepts:

Task: Familiarize yourself with these Git actions:

- stage: add to the index
- commit: captures a snapshot of the projects currently staged changes
- fetch: fetch the commits of a remote repository into local repository
- push: upload local repository content to a remote repository
- pull: fetch and download content from a remote repository and immediately update the local repository to match the content
- merge: join two or more development histories together
source for most of these

L01.3_Git_Other

Task: Solve the following problems:

- How do you exclude a file from being tracked by Git?
File called .gitignore in which you can specify filenames, directory names, ...
- You have changes but you want roll everything back to the last commit, discarding all the changes.
git reset --hard
- You have changes but you want roll everything back to the last commit, discarding all the changes temporarily.

- Remove all untracked files from local folder:
git clean
- Difference between these merge strategies:
source

L01.4_Git_Knowledge

Task: Answer these questions:

- What does Visual Studio Code mean by "Sync Changes"?
update your project and add all changes made in the remote repository
- What does the ".git" folder do in your project? (turn on hidden files and file extensions if you don't see it)
can't find the .git folder...
- How does Git differ from e.g. Dropbox or Google Drive?
- Why not use those instead of Git?
lets you work on vscode idk