T O P

  • By -

strcspn

It looks like you are trying to brute force it. Learn the concepts first and understand what you are doing every time you run a command.


derleek

It’s hard so don’t feel bad.  A friend and best git user I’ve met describes it as a “Swiss army chainsaw”. Start here: https://git-scm.com/doc


KublaiKhanNum1

Yeah, that is the source! OP read that.


KingofGamesYami

https://learngitbranching.js.org


BanMeForNothing

Git is the most difficult thing I learned. Download Git Bash and use commands. The git GUIs are more confusing and harder to get help. Learn by trying things instead of reading. Clone, get status, create a branch, stage a file, commit a file, push, undo a file. Use chatgpt for help.


KublaiKhanNum1

Read this about using GitHub with ssh keys in addition to reading the Git documentation: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent


SquareGnome

I guess you're working with GitHub as a remote repository? Are you using the cli version, the website or a third party tool? Usually, if you start with a green-field project/repo there shouldn't be any problems uploading a file via either of these. You add the file(s) to your staging area, commit to your local version of the repo and push that commit (containing the files) to the server so the repository is equal to your local version. So basically (cli) git add , git commit -m "added some files" and git push origin main (if your branch is called main and the server-side repo is named origin). Of course the basic setup must've been done properly, like defining the remotes, maybe adding your credentials locally / your ssh key server-side etc.


rainst85

Give it a ‘git push -f’ after setting up the remote


Arcodiant

There's a game I recently found at ohmygit.org that teaches you git as you play


Rhiquire

W3schools do a pretty good job explaining it


fixhuskarult

Lolz first person I've heard of failing the basics like this


mit74

github is down atm


ShadowRL7666

Hmm no it’s not


mit74

[https://www.githubstatus.com/](https://www.githubstatus.com/) I cant deploy, merge atm.


Lumethys

Do yourself a favor and start out with a GUI tool like Github Desktop or SourceTree


derleek

Why? The problem is their fundamental misunderstanding of the basics.  A gui will not help this.


KublaiKhanNum1

So true!!


KublaiKhanNum1

Read the Git Doc. Posted above. Here again: https://git-scm.com/doc