Why is this program such a pain in the ass to work with?
Worse than the verbose roundabout way of getting the most simple done, it just deleted all of my files. Just like that, gone. -From directory root, ran git init -git add [files] I wanted to make an initial commit to the local repository, saw there were no branches, went to make a branch. Ran checkout -b master while trying to figure out its fucked up way of going about what should be easy tasks. -Tried to commit again -Saw files were all gone. -No branches -No commits There's nothing. Luckily I had all the files I'd changed open in an editor and the rest are backed up, but new or not this complete ass backwards retardation. I'm going to continue trying to make this work, but so far a program that deletes all the files it was told to track then can't recover them, is not at all impressive.
>Stupid piece of shit don't be so hard on yourself
Henry Williams
It's al right, even if you're a failure I'm sure your mother still loves you.
Owen Green
Cunt.
Luke Gray
>he doesn't use magit ayylmao at your life, brother
Ryan Brooks
>saw there were no branches
This is impossible and you know it.
Julian Mitchell
Clever.
git branch prints nothing.
Hudson Perez
ITT: OP is too retarded to use git.
Isaiah Long
You shouldn't have to be too clever to have your version control system keep the files it was told to track. As in, not delete them.
Juan Miller
user, all you need is git status, git add, git commit, git log and git reset. Only the last command can remove files. You need to do some really retarded shit to remove files with git.
Ethan Hughes
>paying $10k's to study >not knowing how to use git
It must have something to do with checkout -b. When there was no master branch I made one. git branch still displayed nothing.
Levi Jenkins
If you did git init then a master branch already exists
Jason Rodriguez
OP here.
Alright, I'm over it. Either going to figure out git or switch to mercurial. I have so many things to get done and so much shit going on at this point my mind and subconscious are splintered into pieces.
Perhaps git's ass backwards garbage design has shown me that there is no way forward without relearning how to deal with things serially, and to reunify my mind.
/blog
Also, fuck you all. Well, most of you anyway. Git is a mediocre piece of shit and so are you.
Caleb Carter
It did not. git branch was the first thing I checked.
Levi Allen
Op, for personal projects and you're using a remote repo like GitHub this is all you need to know.
git add . git commit git push origin master
To update your local repo for when you switch to a different machine do the following:
git pull
To update your local repo.
Liam Perry
checkout -b creates a new branch and switches over to it. You're files are probably still there, you're just in the wrong branch to see it. There is usually always a master branch. Try a git branch to see if there is a master branch.
Anthony Rodriguez
>Also, fuck you all. Well, most of you anyway. Git is a mediocre piece of shit and so are you. Haha, poo in loo can't into It.
American. Green eyes, brown hair. Native American, French, probably Russian, and just enough Jewish heritage to know how dangerous the Jew mind would be undiluted.
Blake Myers
Alright, thanks for the feedback. It might just be an MSYS2 thing, packages are fucked up occasionally. OP out.
Oliver Lewis
You'll probably want to backup your files manually if you're too stupid to use git.
Nathaniel Davis
>it's a /Jew trying to weasel his way out of being a Jew/ episode heh stay classic
Adrian Cox
Maybe your confusion stems from the belief that using "git add [file1] [file2] ..." is enough to track them: it is not. That tool adds them to a staging area.
To track them, you must use "git commit", which then prompts you for a message. When you are done, you can see the commits added with "git log".
I was not able to reproduce your issue, anyway I suggest you read the quite extensive manual or at least follow a tutorial to familiarize with the basic tooling.
Cheers
Owen Rogers
What are you even using git for? You shouldn't be allowed to program if you're too stupid to use it.
Henry Jones
This. Git is way too complicated. Just back your shit up somewhere and you’re good.
Luis White
I just found out that some people actually do git commands through the command line.
How stupid do you have to be to not use the built in commands in whatever IDE you're using to program?
Thomas Wilson
Git gud
Parker Bennett
-120 stupid, since IDE plugins impose a workflow
Nathan Butler
Brainlet detected
Adrian Evans
>le git XD le commit, le fork, epic made-up meme terminology for basic things, im such a hacker mom lmao just save as and increment the filename by 1
Henry White
what you just said does not mean anything
Jack Perez
>ide I bet you use C# or Java
John Collins
>IDE Kys pajeet.
Eli Sanchez
Don't blame git if you are retarded and did rm -rf * between one of the git commands.
Some IDEs like Android Studio make really bad choices when it comes to git, I don't know why Android Studio is so eager to rebase on each time I want to create a commit, I just use magit or the cli
Hudson Morgan
OP, have you considered using magit?
Brody Gutierrez
Use magit. Git is such an overcomplicated piece of shit that it will never be fixed, and neither do the masochists want to.
Tell me how elegant and uncomplicated git is, and how it is a centerpiece of the UNIX philosophy
Nolan Smith
Why do you niggers have such a hard time with git? What the fuck is so hard about git add and git commit. Jesus christ.
Lucas Robinson
Hahahaha
You seriously can't take the 10 minutes to understand how girl works?
It's a file system at it's core, just learn how it's arranged, and stop being a big fucking retard.
Anthony Scott
Nobody knows how girls work user
Josiah Nguyen
It's not complicated at all you moron, I looked once at the man page and never had problems. Why do you even need source control for your fizzbuzzes anyway?
I use tortoise Git client, because I was familiar with SVN first
Chase Roberts
commit, pull, fetch, push, merge, checkout, branch, reset, stash, rebase (-i), add (--patch) there are quite a few more commands you need from time to time.