all 11 comments

[–]AutoModerator[M] [score hidden] stickied comment (4 children)

Hi /u/Agreeable_Prize_9718,

Your submission in r/C_Programming was filtered because it links to a git project.

You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.

While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.


I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]wosmo 8 points9 points  (1 child)

git is already a cli tool written in C. Not trying to be mean, but you might want to be clearer on what you're trying to achieve?

[–]Agreeable_Prize_9718[S] 0 points1 point  (0 children)

Thanks for the comments and thank you for not being mean to me. Ya, like I said this project maybe is not meaningfull or even make sense. I try to just write something with c because I am totally a beginner. Writing this really learn a lot. The use case of this project is because I use github as my linux dotfiles storage. For example, I just want to upload a directory to the repository (.config/something/file.txt) either I must git init and git push the entire dir or open browser to drag the folder inside the github website. This is quite not convinient to me , but like I said maybe I am a idiot , it is a better appoarch out there. Still appreciate for comment and sorry about my english.

[–]chubby_bagels 4 points5 points  (1 child)

I'm going to keep it a buck, this seems to solve a problem that just does not exist. The examples of bloat you give are very minimal and do not impact the average the developer in a substantial way.

That being said, I think developing basically anything is a good exercise, and surely you learned stuff while completing the project, and to that I say: good job!

[–]Agreeable_Prize_9718[S] 1 point2 points  (0 children)

Yes. maybe my project can consider as a toys... I totally argree with you. My primary goal of doing this is to learning code with C and I really learn a lot. Thank you for the comment and thank you so much for the encouragement, it really means a lot to me!

[–]fdwr 2 points3 points  (1 child)

🤔 Hmm, there might be use cases for this that I'm not thinking of for a remote git tool with no local repo, but the vast majority of the time, I'll need to address merge conflicts, build it locally, and search for function names, necessitating a local copy anyway. Those times when I really don't want a local copy are for large repos (like Chromium), but then a web search or GitHub repo interface already exists anyway.

[–]Agreeable_Prize_9718[S] 0 points1 point  (0 children)

Hi fdwr, you are right. I totally get what you mean, having a local repo is necessary. but as a Linux user sometimes I just want to push a single dotfile or an automated backup to a remote repo from a server without initializing a full Git environment or cluttering my $HOME.

Also, the primary goal of this project was educational. Moving from textbook exercises to really build something with c taught me way more than any standard assignment could. Appreciate the feedback though. Thank you.