Hacks W2
Hacks and Commands I learned Below
PBL Unit 1 / Week 2
Directory = Folder
Nested folder/ sub folder - refered to folders inside folders
Root directory - main directory; where all folders and files are stored.
Shell-Prompt: Where to type commands to commit changes in Git
Bash: Unix Shell and command language —–> Snytax:[arugments...]
Git: Version control system; allows devolper to track different thier versions (has a lot more features)
Git: U in a file means it is untracked by Git; When you commit a stage then it turns into an A in a file meaning its added to Git. M means modified.
Git init: Creates a new Git respository
Code .: opens your code in vscode
commit button: To save all changes in the database. Staged a change: means to save a the new version
Git commit: puts a name of version (when you enter a name in the space) of your code and stores it
README: a file that has a description of what your post is.
[Other Notes] {https://safinsingh.github.io/demystifying-git/}
Struggles I Faced
- Realzied that I had to commit and stage my changes into GitHub to save.
- Commit Button was loading a lot, so I pushed all the changes using the terminal
- My GitHub was not syncing to my Blog and so I created a Token to solve the problem
- My Token wouldnt work because I used the Fine-Grain Token instead of the Token (Classic), and set the expiration date to 90 days.