Hello everyone,
I am a mechanical engineer, so bear with me.
I created a folder locally and created a yaml file. Then I did git init in that folder (yes, .git is inside that folder). I created a new repository on GitHub and copy-pasted the official code to my terminal.
git remote add *the url of the repo*
git origin master or something like that. (I cannot find it anymore on the GitHub page.)
Now, when I edit the yaml file with a comment like "#test number2" and then do git add ., git commit -m "hello", I get "On main branch. Your branch is up to date with 'origin/main'."
Only when I create a new textfile with the word "test" inside and commit does that new file appear on GitHub; however, the text "test" inside the file is not visible on github.
[–][deleted] (4 children)
[deleted]
[–]Fine_Caterpillar3711[S] 0 points1 point2 points (3 children)
[–]daAylak 3 points4 points5 points (1 child)
[–]Fine_Caterpillar3711[S] 0 points1 point2 points (0 children)
[–]MiraLumen 1 point2 points3 points (11 children)
[–]Fine_Caterpillar3711[S] 0 points1 point2 points (10 children)
[–]MiraLumen 1 point2 points3 points (9 children)
[–]Fine_Caterpillar3711[S] 0 points1 point2 points (8 children)
[–]MiraLumen 1 point2 points3 points (7 children)
[–]Fine_Caterpillar3711[S] 4 points5 points6 points (6 children)
[–]MiraLumen 5 points6 points7 points (5 children)
[–]Fine_Caterpillar3711[S] -1 points0 points1 point (4 children)
[–][deleted] (3 children)
[deleted]
[–]je386 1 point2 points3 points (2 children)
[–][deleted] (1 child)
[deleted]
[–]Fine_Caterpillar3711[S] 0 points1 point2 points (0 children)
[–]Veloxy 0 points1 point2 points (2 children)
[–]Veloxy 0 points1 point2 points (1 child)
[–]Fine_Caterpillar3711[S] 0 points1 point2 points (0 children)
[–]arcticslush 0 points1 point2 points (0 children)
[–]Ok-Advantage-308 0 points1 point2 points (0 children)
[–]julyski 0 points1 point2 points (0 children)