Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@electrineer Yea, still picking up how all of it works. My best plan of action was just to keep the two repos separate since it seemed to be too much work to combine then and it wasn't worth learning how gitignores work for 2 adds
-
@andpeterson It would have been worth learning before somebody went and added .DS_Store :P
-
@electrineer Somewhere along the line the .DS_Store got changed by the system as I was the only one making changes to the repo at the moment. Will for sure look into learning in the future though! Just didn't have the time today to deal with it
-
Don't use "git add ."
I know it's easier, but it's better to be explicit about which files to commit.
And don't commit things that aren't part of the project. IDE files shouldn't be committed, for example.
Don't give up. Everyone messes up at first. -
fdgram4866y@shellbug better than specifying which files to add, use -p/--patch to specify which hunks and even modify them interactively
-
jeeper58096yYou will learn in time. Don’t feel bad using the git gui til you get used to the process and then ween off it to using the cli
-
I fucking hate .DS_STORE files. Fucking Apple, man; always ruining a good thing.
-
@RiderExMachina I'm enjoying the Linux terminal. One of the few upsides to using a Mac over windows PC
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
sasikanth28A group of wolves is called a pack. A group of crows is called a murder. A group of developers is called a m...
-
gggggggggg19"Whenever I see a door that says push I pull first to prevent conflicts"
This was my day at work today
-Be me at work
-Use git terminal on WORK PROVIDED MacBook
-Decide to clone into a repo into another repo as it was one project inside another project
-Makes changes to code
-Attempts to add .
- warning: adding embedded git repo ...
-Apparently needs submodules
-Shit doesn't get added
-During this get asked to create 2 new branches and modify some code
-Do that specifying files to add as add . breaks everything
-Has 3 branches now detached from master
-Super confused where anything is and what's going on
-Go back to branch for other repo to get added to
-Spends 30 minutes trying to understand submodules
-Gives up and deletes folder moving it elsewhere
-Commits begin failing everywhere. Super confused.
-Get everything figured out and commiting
-Goto merge all branches to master
-Merge conflict with .DS_Store
-FML
I think I'm done guys
rant
fml
branches
mac
submodules
git
merge conflict
vso