Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "version control"
*Dev in his 40's from our counter-part office.
Me: Here's my SSH keys.
Dev: What's this?
Me: SSH keys. Give me access to the repository.
Dev: We don't use any version control here. Let's just use FTP or Remote Desktop and just download the codes.22
When I was in my second semester of college I was tasked with creating a file encrypt/decrypt program. Take in normal textfiles and spit out a new random text and symbols file. I worked on it for two weeks and read up on all different encryption types and stuff. I was so excited when it was done. After it was done compiling I tried it out on its own source code. Encrypto.c and named the output file Encrypto.c 😰 The next thing I did was google " best version control and how to use it."17
There is. My latest creation. A 8bit microcontroler made in minecraft.
(1.0 version without control room)
-8bit full adder + overflow flag
-16x8(4bit instruction, 4bit address)
-64 possible microinstructions (16 instructions with 4 step each)
-uncondintional and if oveflow jumps
(place determined using address written with instruction)
-1/3Hz clock speed 😨
New working version (2.0) has 1Hz clock and new faster instruction decoder.
In 3.0 in addition to that useless bus was replaced with 16x8bit "hardware" stack that can store adresses and data. The clock is going to be yeeted out because it is unnecesary #clocklessisbetter (WIP tho)
Might add more documentation and post it as learning model for CS wanabees 🤔. What do you think?
Picture: Old working version 1.0
(the only one with fancy diagram)
Newer version screenshots in comments.39
Somehow I feel like I personally owe Linus for git.
17:50 Colleague whispers "fuck" and the entire project we've worked on for the last half year responds with 404.
17:55 A quick diagnosis shows that she wrote "rm - rf ../" instead of "./" when she threw out her staging dir an thereby deleted everything.
17:58 git pull, everything is back.
18:15 everything is configured and we're up and running again.
**Alternative Timeline without Version control **
17:58 We start looking through Backup folders
18:20 We're fairly confident to have found the most up to date Backup in /var/backup/newback/v2/june/new/released/ and start copying back into the project directory.
19:30 Some files are missing we start patching shit up.
19:40 I realize how much work went down the drain and start strangling my colleague. The Api seems to do the most important things again.
20:00 My colleagues dead body is hidden and I'm 80% confident that the tasks depending on us should run.
Next day: They didn't run. Every nightly build failed, nobody can do anything useful.
A week later : Shits starting to work again, all lost files are replaced. Replacement for dead colleague still missing though.
It's moments like this that make you really appreciate the luxurys we have nowadays...5
Junior trying to avoid git by saying :
'With today's ram and storage size, it's faster to clone a folder and zip it'
I installed gitlab at our company. I ranted about not using any version control whatsoever in the past but now it happened!
My boss wanted to see a project I was working on for himself so I copied the project to a usb drive and gave it to him. I used git for the project locally and I told him to use this too if he changes anything. And that it would be a great idea to have this centralised on our server. He agreed and I told him he just had to give me the order to implement it. He was like "go ahead" and one hour later we had a gitlab up and running.
We will have some internal training to do and then we are in the 21st century!
I'm so happy right now.9
First day at new web dev job:
Me: what IDE do you guys use?
M: Okay... Any version control?
C: Oh we don't need it. We just update the server pages.
*Boss walks in*
Boss: Heres the project for you to do just need you to rebrand this web app we made for client A for client B just need to change some scripts. Should only take afew hours.
I take a look. No comments. Not formatted. Missing braces and brackets. Semicolons at odd places and missing at others. 7802 lines of code...18
Apparently I, the Intern, am the only developer at this company with any experience with Version Control. My Boss just asked me for 'Documentation on how to create a Repository in GitHub'...
"There's a big button that says 'Create Repository'. CLICK IT."14
There are two kinds of programmers:
Those who use version control,
and those who soon whish they've used version control.6
Fresh out of college?
Junior Web Intern: 16k A Year!
Git version control
Must be able to display example of each requirement.17
/*The following dialogue is an excerpt from an actual conversation I had a couple of hours ago*/
MS: Are you sure you downloaded JS from Oracles website then?
Me: *ended the chat*2
About 11 months I posted that my wife was pregnant. I now have upgraded to son 1.0. All without writing any tests!15
Incompetent doesn't even start to describe this one:
1. Uses Google drive instead of an online repository for code sharing
2. Uses multiple files instead of version control
3. Preferred variable names like a, a1, b, temp
4. Didn't like "wasting" space. The result was unreadable unindented code
5. Would rather use deprecated HTML tags rather than proper CSS styling
He was more like the personification of bad coding practices9
Found in one of our internal version control tools today. The Dark Knight is among us.4
The superpower to perform version control on reality. (Git)
Imagine this universe (the current branch), which is made up of a series of events (commits).
Having this ability to allows us to:
- undo events (git reset/git revert)
- reorder events (git rebase)
- transfer to another universe (git checkout)
- derive a new universe from current universe (git checkout -b)
- delete a universe (git branch -D)
- apply an event from another universe (git cherry-pick)
and my favorite:
- merge universes and their events (git merge)
we have to resolve conflicting events, of course.
What else? ;)8
git add .
git commit -m "Minor changes.."
"Fuck that char in that variable name isn't meant to be a capital!"
git add .
git commit -m "Minor changes.."
We were four.
I setup a git repo, invited everyone and started coding. After a week I noticed I still was the only contributor.
Turned out they had their own code base in Dropbox. :/6
Much-security.nl is down.
No, no hack or whatsoever. I just reinstalled the wrong server through my control panel.
The new blog version will hopefully be up tonight. 'you keep promising that' - I don't have a backup of the old version and I only just started using git so I can only upload the new version (or git pull). Next to that, except for the front-end, everything works now.
My professor once asked us to brainstorm a good topic for our IT seminar/workshop.
I suggested version control using Git.
She simply shrugged it off. She said she needed a topic that the class can use. WTF.1
I'm not angry, mostly sad.
At my workplace we don't use git.
There are constant overwriting, sending code via email or USB stick and forgetting passwords to zip-files shenanigans going on.
I already use git for all my local projects (literally git init in the directory) but my coworker and I thought that it would be a great idea to have a local server with a Gitlab running on it.
So I started looking into running a self-hosted Gitlab (for about 15 minutes) and then our boss who was sitting right next to me almost shouted at us: "Such stuff should be coordinated with the boss! We don't just do something and burn my money because it's _cool_!"
No, git is not cool, it's necessary for crying out loud! Gitlab is cool but at the end of the day also just another tool too.
I guess I have some persuasion to do.
I don't know what version control has done to our boss that he has such a deep dislike for it.10
do we have to use git/version control software? why cant we just mail everyone else the builds at the end of the day?5
Git: A version control system expressly designed to make you feel less intelligent than you are thought you were.9
Holy donkey nuts, I get too scared to leaved unpushed code when I take a coffee break.
The importance of version control. Had a school project at a real company and i didn't understand it so i said fuck it. Then someone asked me to alter the js library a little and push/pull that to the server. I thought fuck it, altered it and accidentally pressed save (automatic ftp upload). Suddenly the file was overwritten (that guy worked on it for 6 fucking hours) and it went from like a thousand lines to just a few. We did restore it from the browser. He said: either you're going to use git or you're out.
Then i started using git.4
*at front end job interview*
Me: so what kind of version control do you use?
CTO: well, one of the guys here developed our own system.. bla bla bla *turns around laptop*
Me: *sees internet explorer* NO THANKS 😬4
"Hey, about that matter from yesterday..."
"Yes, what about that?"
"We need to talk about that again! How often do you trigger that system?"
"Yes, but i can check it, if you like."
"See, only once."
"Can it happen at a random point later one?"
"Are you sure?"
"Can you check it?"
"Look here, as you can see, it will not happen at other times."
"Do you have an idea why it could happen anyway?"
"Maybe that system does the action without my software telling it to do so, wasn't that specified that way?"
"Yes, but it normally does that roughly 10 seconds after you give the command the first time, so we thought maybe you could say what makes it do the action at other points maybe."
"Did you check that systems sourcecode?"
"No not yet. But did that happen with the older version?"
"No. But we didn't try."
"Did you change something between the versions?"
"Yes, the new feature."
"Could that make a change in behaviour?"
"I don't see how."
"Can you remove that feature for test?"
"We can take the old version."
"No, we need the new version, but without the feature you added."
"That IS the old version, there is no other difference!"
"Are you sure?"
"Would you like to see it in source control?"
"No, ~ okay. What do you think causes the problem?"
"I haven't had any new ideas since we talked yesterday."
"Okay. Mhhh,...okay. Lets talk again later."
YES SURE! BRING IT ON! I'M LOOKING FORWARD TO THAT! PLEASE COME BY OR CALL ME AGAIN! AND BRING THE BOSS WITH YOU, TO SHOW HOW SERIOUS THE MATTER IS! LET ME TELL HIM THE STUFF I TOLD SEVEN TIMES LAST WEEK!2
Had a fun little conversation with a potential employer...
Him: We use git for version control. To work with our team you'll be expected to do the same and be proficient at it.
Me: Not a problem. I am well versed with all things git! May I ask, what does your work flow look like?
Him: All of our source lives in a single repo and everyone commits straight to master.
Him: Conflicts will not be tolerated.6
For those of you who have never used version control and would like a taste of what github is and what it does.
Here's a wonderful tutorial that I utilized that helped me on the way to git greatness
As time goes on, I've always wondered what I'm going to say to my future grandchildren about what Dev work was like today:
"Grandpa Josh what was programming like when you were a kid?"
"They at least attempted to use new paradigms in their framework code, right grandpa?"
"NO CHILD. THEY WERE EXACTLY THE SAME IN EVERY WAY..."5
Wait what's that? You don't use version control on Production servers?
You want me to do what?
You want me to rename every file I have to replace with an underscore and the date after the extension so it looks like this?
You've got to be fucking kidding me right!?
Oh the production server is down again?
Is it because we're not using the right Jar file?
Well shit, I wonder why that's happening...2
When you think you're an "expert". 😛
Found this on a Medium article.
“Self-taught Software Developers: Why Open Source is important to us”
This ist basically my daily work. I have to write Java code in excel files which then are being converted into a DSL and then again being converted into Java code. On top of that many wrappers were built which abstract all this things away..
We have about 30 such excel files which contain about 50000 business rules.
There is no version control for this tables and 5 different team are working on the same tables parallel.
The name of this framework is Drools or as I call it: HELL 😡17
Trying to convince my coworker to have a git repo instead of resending chunks of code in Slack... lmao12
--- NVIDIA announces PhysX SDK 4.0, open-sources 3.4 under modified BSD license ---
NVIDIA has announced a new version, 4.0, of PhysX, their physics simulation engine.
Its new features include:
- A "Temporal Gauss-Seidel Solver (TGS)", an algorithm used in this SDK to make things such as robots, character arms, etc. more robust to move around. NVIDIA demonstrates this in the video by making their old version of PhysX, 3.4, seem like an unpredictable mess, the robot demonstrating that version smashing a game of chess.
- New filtering rules for supposedly easier scalability in scenes containing lots of both moving and static objects.
- Faster queries in scenes with actors that have a lot of shapes attached to them, improving performance.
- PhysX can now be more easily used with Cmake-based projects.
In essence, better control over scenes and actors as well as performance improvements are what's new.
Furthermore, NVIDIA has released PhysX version 3.4 under the 3-Clause-BSD-license, except for game console platforms.
As NVIDIA will release the new version on December 20th, it will also be released under the same modified BSD license as PhysX 3.4 is now.
What are your thoughts on NVIDIA making a big move towards the open-source community by releasing PhysX under the BSD license? Feel free to let us know in the comments!
Some devs like to write meaningless or too general commit messages.
Stop it. Get help.
Call 0800-GITGUDBOIII where real experts talk version control.10
Who the fuck is able to not understand the basics of git. With ten years, supposedly , of front end experience. How in the hell do you not understand version control.18
Bad practice? Christ where to begin? I promise you there's a good reason for all these things and they're 100% out of my control (ok maybe 80%)
I run hand written on-the-fly SQL queries in production, from Vim, with the password saved in plaintext in my .vimrc
For that matter I dev in production. Not test. My local dev environment points to the prod database.
Version control? Yeah, sure, just hand me last week's tapes...
I hand copy random files to "deploy".
It's not agile, it's not waterfall, it's "whatever the fuck fell in my inbox"5
"Why do you need version control? The latest code is all we need."
An email from a bosses new deputy to us...6
My friend and I were watching a documentary about Salmon. He suddenly starts to giggle and I ask him whats up.
Friend: Why do salmon suck at version control?
F: because they always git push force upstream 😂😂😂
So hey we found a critical bug in our software after release.
Ok fine, which version is that? Oh we don't do version numbers, only file modification datetime.
OK cool so what changed since the last point? Haha well we don't do changelogs here.
So we can look into repo hmm? Yeaaah we don't really do version control.
Can we at least revert back to a working version? Let's seeeee. We'll fix this but introduce back a critical bug from earlier.
So we are fucked right? Hmm we could compile now from current source but cannot guarantee what's gonna happen.
Guys I think I need a new workplace.10
i hate everything about programming except programming.
i hate version control, i hate agile, i hate package managements, i hte deploying, i hate clients. I hate that i cant get shit done.16
Still not learning git properly. I still find it very hard to grasp how this works and although I'm starting to use it more and more, I just can't wrap my hear around it so I often reside to scp for upload and no version control at all.
me: "so what version control system + tool you're using for this website?"
co-worker: "what is version control?"
me: "uh... like tfs, you manage changes, merge etc!???"
co-worker: "ah, i'm using filezilla."3
This company has been a "start-up" for 5 years farming money off of fucking idiots using a shitty CMS.
- The senior dev gets paid 15/hr
- No use of version control or testing
- the CEO has no fucking knowledge about tech.
and you wonder why it's FAILING?! I'm surprised you guys stayed afloat this long, jesus fucking christ.5
Team says their code is done, tested, and working. They have merged all of their code and now to merge it with mine.
Take care of the merge, go to test it, and NONE OF IT WORKS.
Ok... So maybe something in my code did it. NOPE. Still crashes without mine.
Thank goodness for version control.
Now need to help define what "tested and working" means...4
Week 26 advice - you all probably know this but good to refresh!
Annotate your code
Use version control properly
Keep yourself in check with project management tools
Your peers are your friends... And competition.
As much as your boss is an idiot respect them and your life will be easier.
With great power comes great responsibility; don't touch that keyboard until you think through what you are doing chances are your first idea is not the best.
Don't write quick fixes and say you will go back to clean it up later on when you have time. That time will never come.3
I just got hired as a systems administrator at a company that develops web forms. NO ONE in the company has heard of git. They don't use any kind of version control.
I'm a little worried...6
The company I work at have never used Git or any other version control system...
Today I'm working on making everything ready for Git and removing "backup", backup_old", "fileX.php" etc.
In the end, I'll be happy and the company will be happy for the better management and control.5
How about teaching a little version control? A passing mention of git in 4 years of college. The entire industry uses some form of version control, and all we get is a passing mention of it?10
Pro-tip #2: wear a suit to work twice a week if you want people to take you seriously.
Pro-tip #3: get some sort of hosting and learn to DIY with Linux and no docker. If you know how to properly run your own version control, email, and web server you will be a step ahead of other developers in terms of secondary skills and resume and you’ll have a website and an email address to prove it.35
Them: Migrating their repositories to gitlab/bitbucket.
My classmates: using Google docs as Version Control.5
no version control
90% of changes done directly in production
no standardization for incoming data
... but I still love my job. 💕13
So my job doesnt use any version control. They just edit the files directly from the network drive. Wtf? Is this the 90's?4
I really wish I had started using version control sooner. 76 contributions on my GitHub this year, 52 of them are from this month 🙈4
I work at a place where security is really high when it comes to server access. Today I was in urgent need to get admin access to a server, this is a real pain. Luckily I found an xml in version control containing the credentials for the web application which happens to be an admin account! Lucky me, saved me at least two weeks of waiting to get admin access!4
Welcome to the company I work at since 2 months, where we:
- do not have secure FTP
- do not have version control for 50% of our projects
- still use classic ASP for major projects
- give our public_html folder chmod 777
- do not have testing databases, only production ones
There's probably a lot more, but this is the first that came to my mind9
The time when we were not aware with advance features of IDE and version control.
(3-4 days before the project demo)
Me: This code was working fine last time. Now it is not compiling. Has anyone did some changes?
Team member: I corrected some spellings. So that our teachers don't correct us at the time of demo.
Me: (shocked, expression less ) We demo the application not the code. And you have not corrected on all the places.
Team member: You should do the rest.
(Based on true story)
My former teammates used to store multiple local copies on their computers, as a form of version control, and pass bits of code on USBs to share their work.
I gave them a fair warning about the importance of working with git, and then one night, I just stole all of their HDDs, leaving them codeless.5
Just got given my own internal project at the company I work for! Basically I created a gulp task for one of our projects that allows us to use version control with Salesforce in a pretty easy way and deploy without a stupid IDE (like eclipse) getting in the way. Now they want me to turn that idea into a node module we can use company wide!5
Been looking for a part time game dev job to pass the time during summer break, got a reply from a guy.
This part came up some time in the middle of our conversation:
Me: So, do you have a version control system in place?
Him: Excuse me, a what?
Me: A Version control system, like Git.
Him: Ow, what's that?
Me: It is a way to host projects in a more productive way for two or more people. It allows us to share our work more easily and work on the same file without overwriting and losing data.
Him: Ow, like Dropbox?
He was developing the game solo thus far and no idea such thing existed.
I am braindead. we sat debugging a crappy old application (php 5.3, multisite, no version control) with 2 devs and an admin for way too fucking long, and in the end, we all figured out that we misinterpreted the documentation. Head->desk. If anyone asks about me, I will now depart for Nepal where I intend to live as a goat.21
Let me ask you something: why do most people prefer ms word over a simple plain text document when writing a manual. Use Markdown!
You can search and index it (grep, ack, etc)
You don't waste time formatting it.
It's portable over OS.
You only need a simple text editor.
You can export it to other formats, like PDF to print it!
You can use a version control system to version it.
Please! stop using those other formats. Make everyone's life easier.
Same applies when sharing tables. Simple CSV files are enough most of the time.
One of our team members would write his name in a comment before and after every line of code he writes!
Like we got version control we can see the changes that have been made and by whom there is no need for this narcissistic behavior.14
When you're the most "junior" person on the team and you're the one pushing for Git. How we've managed to come this far without any version control is beyond me. Especially with the fact that we've had to work alongside a 3rd party who handles a lot of the site dev...there have been a lot of "stepping on toes" over the years and no one ever thought "there has to be another way."
Do you know what i hate most?
... commented old code!
What is the fucking purpose to comment old code IF YOU ARE USING A VERSION CONTROL SYSTEM?????
Commented old code is shit, because it fucks the readibility! I saw entire class full of this shit!
DELETE IT, YOU DON'T LOSE IT YOU MORON!!!!5
PM: That bug you 'fixed' a month ago still occurs every time I run the program.
Me: Are you using the latest revision?
PM: Do you think I'm stupid?
Me: ... Well, can you give me the steps to reproduce it, logs, anything?
PM: <other part calling into my code> doesn't log, but it happens every time I disconnect and reconnect.
*Me spends a day on trying to trigger the bug. Surprise, it doesn't occur because I fixed it already.
Turns out my computationally challenged colleague doesn't understand version control and copied my code to a different part of the repo, and PM ran that outdated version of it even though our convention should make it abundantly clear that this project is not supposed to be there. Seriously, you pay me, wouldn't you like me to spend my time more productively?6
I lol when github goes down, because then I can take cheap shots at people who don’t host their own version control like they should. And like I do.9
noob misconception #527: during my first hackathon i didn't know what version control was (i thought github was this magical elite hacker tool), so id copy my code into a google doc every few minutes along with a timestamp 😫6
Ran couple of interviews today I don't think I'm ever gonna forget this guy: He was explaining a time he worked in a team and used version control. I asked how he handled merge conflicts his response:
'If there are merge conflicts I delete their work and use mine, my code is probably better anyway'.4
At my current project we use SVN, but today I noticed a colleague of mine uses another version of version control as well.
Every singletime Ive to remove 40 lines of comments before Im able to follow the code and refactor it.3
I'm a junior programmer at a small company with mostly web dev. I had a C# project and before the deadline I granted access to the project repository one of my boss/senior coder. Several hours later I got an email with the whole project zipped and a note: I made some modifications, check it out.
Why someone doesn't want to use some kind of version control system?1
you'd think by now people would understand version control. a whole days work gone because of bad merging.5
(Joke || Rant)
This guy came with this joke.
Then months later you realise he pushed this tweaked prototype to master, and now this code is shipped in production and it actually prints some idiotic sentence about flat earth on console output.
It's not my project, but sometimes I'm wondering what people have in their minds when using version control and ship crap...
Interviewer: Oh ...we don't really use version control here..it's too hard to get the different offices on the same page.
tl;dr - My company makes me pass around code over email. Is this normal?
How we fix bugs at my company.
1. Simulate bug in dev env (ok, cool)
2. Get the required code from svn and make changes locally (so far, so good)
3. Deploy changes in dev env and test (yeah!)
4. Take screenshots of fix in action along with the files you've changed and mail it to the respective leads (really? send code via mail?)
5. Keep changing your fix based on feedback and keep repeating above steps (what!)
6. Once approval mail comes, check-in your code in the svn branch for deployment and testing in the test env (QA team)
My question to you fine folks is, is this normal? Is this how most companies work? Passing around code over e-mail? Where the different versions of your fix are just attachments in emails. Or have I committed a sin by being a part of this heinous act?10
You have 5 devs on a team at least 3 of them are working on the same code and there is no version control and we have to rely on looking at when the file was last modified....FML!!!12
See another of this git commit message :
"Fixed bugs and added new feature"
Fixed what bug?! Added new feature what?!4
Learned over Xmas, my brother-in-law works at a company with NO CENTRALIZED VERSION CONTROL. They just... pass around zip files of the latest code? Or something? Like jfc, even as a student we at least used TortoiseSVN!
I was ok with their marriage last summer, but now I feel that my sister deserves better. Can't imagine a company like that attracts the best and brightest. Here's hoping he actually exceeds the expectations, and leads the company into a glorious, gitty future.3
This is something I'll never forget.
I'm a senior UI engineer. I was working at a digital agency at the time and got tasked with refactoring and improving an existing interface from a well known delivery company.
I open the code and what do I find? Indentation. But not in the normal sense. The indentation only went forward, randomly returning a bunch of tabs back in the middle of the file a few times, but never returning to its initial level after closing a tag or function, both on HTML and JS.
Let that sink in for a minute and try to imagine what it does to your editor with word wrapping (1 letter columns), and without (absurd horizontal scrolling).
Using Sublime at the time, ctrl+shift+P, reindent. Everything magically falls beautifully into place. Refactor the application, clean up the code, document it, package it and send it back (zip files as they didn't want to provide version control access, yay).
The next day, we get a very angry call from the client saying that their team is completely lost. I prove to the project manager that my code is up to scratch, running fine, no errors, tested, good performance. He returns to the client and proves that it's all correct (good PM with decent tech knowledge).
The client responds with "Yeah, the code is running, but our team uses tabs for version control and now we lost all versioning!".
Bear in mind this was in 2012, git was around for 7 years then, and SVN and Mercury much longer.
I then finally understood the randomness of the tabs. The code would go a bunch of tabs back when it went back to a previous version, everything above were additions or modifications that joined seamlessly with the previous version before, with no way to know when and so on.
I immediately told the PM that was absurd, he agreed, and told the client we wouldn't be reindenting everything back for them according to the original file.
All in all, it wasn't a bad experience due to a competent PM, but it left a bad taste in my mouth to know companies have teams that are that incompetent, and that no one thought to stop and say "hey, this may cause issues down the line".4
Hmm. when you prove to be more knowledgable than the programmer that was pulled in, to interview you and he starts to go totally defensive and return spiteful responses
( like, what does a rookie like you know? i bet you never had an actual job )
when you calmly asks if any standard like PSR-2 is expected, if there are any preferred frameworks and what version control is used...
well, that went well..
Didn't get that internship..6
I'm the git expert at my work. This means every time someone has the slightest issue with git (or the git features in their ide), I get interrupted.
Also I will say it is fascinating watching people who've used centralised version control all their lives struggle with distributed.
"Do you have my changes? I merged them into your branch..."
"You can commit and not push?!"10
I worked on a browser game for two years and I did not use any version control system. This was 13 years ago. Can't imagine myself how I managed this at all without killing myself immediately.4
I worked about two years on a browser game without using any version control. I also thought it would be nice to have absolutely no comments in the code.
Not separating different changes into different commits, and just adding "a few tweaks" when I can't be bothered to list changes.
git commit -m "Added x, updated y, renamed z, and a few other tweaks"
Can anyone make a simplistic version control like git for microsoft word? I just want an easy check in, check out, and seeing the diff. Goddamn some of these tools got a lot of steps22
My company took over a project that was previously sent overseas . (PHP, laravel 5.1) so I was pointed a lead developer in this project, when I emailed the "senior developer " from the previous company about version control and code documentation. He assured me there was nothing to worry about . ... I found 450 line methods without comments and as version control I found zip files with dates as the name ... fML this is gonna be a long summer15
Game devs/other content creation people, how do you version control large asset files? So far I've been using git, but is there a better way?9
It pains me to know that a lot of people out there who code haven't even heard of a version control system3
I’ve started at a new place - the team use Trello to share code 😳They are happy to zip a folder, upload and download each time a project is updated.
I’ve tried to sell the benefits of Git however some have such conviction that it would be worse. FML.10
At my high school we had these laptop carts in every room. Occasionally the teacher would have everyone in the class grab a laptop from the cart and work on homework or class work or whatever. Well I always used this time to mess with my classmates. Firstly since these were windows computers it was super easily to gain access of the computers local administrator account. From there, I would uninstall the student version of LAN School (which is a program for the teachers to monitor the students computers) and install the teacher version. From there all I had to do was open the program and have complete control of all my classmates computers. I could remotely control there computers, black all there screens or even use the programs keylogger to get passwords. I never used this for more then messing with my friends but it was always a good laugh between my buddies and I. So suprised the teachers never found out.1
"Tar up your projects as version control."
- CS teacher
I understand git is hard (just the awkward syntax) and not part of a curriculum, but can it at least be suggested? A whole year later, I found out about git and it has made CS projects so much easier.
git commit -a -m "No more tape archiving"4
No matter how many frameworks and supersets I try, I always conclude that nothing beats vanilla JS. ES6 in particular is such a beautiful language, and I love having fine control over what happens under the hood.
When I'm done I can just transpile it to whatever ES version, although it's slowly becoming a non-issue.2
This summer was my first internship and the developers at the company weren't using any version control.
It was literally painful to see the engineer (my mentor) make backups of each file before changing anything in it.
I really do feel, version control should be included in our courses as well.14
You know what's cool working for a company that uses Github for version control? My contributions on my profile are going through the roof and I expect will make me look like an open source hero!1
Life could have been way better if God has used some version control system and let individual take care of their life.
git revert l@$tHaPP¥d@¥
git reset --hard beginningOfLife4
There was a workshop about git in our university and I was the teacher.
After teaching main concept of version control and git commands I was talking about open source community and github repository. First I should notice /pul/ in my language means money.
When I was talking about pulling changes from repository one of the student raised his hand and ask me "Why they would give us money?"
After seconds of silence I had feeling between laughing and crying1
Nothing good comes with GUI for version control except for the graphs of branches. And this little tortoise thinks it's the shit.6
Also my phone officially autocorrects and to amd. Wow. I need a life.4
Part? The whole damn thing.
We are supposed to be practicing agile, but I haven't seen a single sprint plan till date. All we do is solve issues that are reported from production/QA.
Nobody follows proper documentation, no reviews, no proper version control... Can't wait to finish my contract here and get the hell out.1
Currently rebuilding a web store backend originally developed in 5.2 and by an Indian guy who loved his spaghetti and his knowledge of version control is to do things like 'index.php, index1.php, index-old.php'. Even on the DB he does this... God damn9
Designers use plugin in WP to modify UI. CSS and JS is saved (somewhere?) in database. No version control. Changes are made across different envs at the same time and all need to be migrates to prod later.
I don't know why universities dont tech version controlling.. i used to save backups of my final year project as a RAR files. I mean when I started the job and got to know the git. It was enlightening..7
Still in beta but it looks like there's finally a version control for designers.
Boss: Let's hire a new person to help us recreate our website
Us: sounds good!
Boss doesn't hire anyone and starts the website on his own
Boss: I started the new website. It's in server X and the address is test.y.com. I also want all of us to work on it
Me thinking: great he just wants us to modify the hosted files like he does 🙄
Me: I'll move a copy to GitHub for version control.
Boss creates a backup folder on the same computer and folder path that the hosted files are on.
Someone please nuke that server so my boss learns version control like I've asked before. I think I'll opt not to work on a website where he and my other co-workers will just overwrite each other's changes because he doesn't want to learn to git 😑4
The one skill I know that I am really proud of is GIT.
Put me into trouble with merge conflicts.
Saved my life with its version control.
Always had an adventurous ride with Git. Hope to have many more such rides and get to learn more about you.
Honestly, without git version control I wouldn't know how I could manage my project properly. Git is awesome in so many aspects <34
Me:To my new boss I think its fare we adopt version control for the project we working on.
Boss: No need just do what we hired you for.
Me:Its my second day of work and don't know how this will play out
Am beginning to dislike this boss he still sticks to old practices4
Even if you are solo, use version control and commit often. When you are working on something completely new, git reset --hard can really get you out of a bind.1
How dense must you be, to check-in files without differences to the source controll?! After being told at least 3 times politely and 4 times >>being screamed at<< to never ever fucking do that again?!5
"You obviously nerfed something, it's broken now and it wasn't last patch!"
*git log shows nothing changed in 9 months*
When players know more about your code than your version control does...1
Waking up to another day of being forced to use SVN because my university seems to have a problem with using git. Who the fuck uses SVN now anyway, piece of shit version control.4
I'm living in the twilight zone...
These people upload and download an entire directory of files from microsoft teams as their way of version control...
And what's worse they're dragging their feet on changing over to git/github
God save me1
fear that updates might break your system?
# cd /
# git init
# git add .
# git commit -m "restore point 1"
if an update fucks up, git reset. profit?6
Have you ever got so stressed because everything is falling around you that you automatically just went into full peace mode because there was nothing you could do to reverse the damage?4
My boss has a weird habit of asking my opinion and then proceed to choose the worst option. So one day he asked what Java for Web framework we should use I said we should use Spring, we are currently using JSF. Then he asked what version control we should use I said git. Guess what, he decided to use SVN. Next time I'm going to say the worst option maybe that will make him choose the better one.2
Biking out to the beach on Saturday I remembered I forgot to remove a log.warn("cuntface", values) before committing on Friday.
I've been trying to get my job to start using Git cause they currently don't use any version control. So today I told my supervisor that I was going to set us up our server so we can host our own repositories and he was like no need we will just set your computer up so you can vpn in from home. I'm like wtf? why go through so much trouble to set that up? That still doesn't solve the problem of accidental file overwriting.-_-3
Debugging an elusive database query problem. Attached to server process about 10 steps into the call stack trying to figure out why a a column value is not being properly cast. In comes Windows. You picked the most inappropriate time to restart for updates without asking me. Restart VM, authenticate with VPN, wait for 2FA, start up Visual Studio, enter credentials for the millionth time to authenticate with version control since the remember me checkbox doesn't work, open solution. Now where was I? Then Windows pops up a notification to inform me the updates couldn't be installed. The following comic strip comes to mind.
I (tried to) use GitHub to version control one of my websites, and doing a pull on the web server broke the entire thing.4
Get a DateTime. Convert to a string. Convert back to a DateTime. Use that DateTime to build a string.
(it's red because I refactored it; snipped copied from our version control)3
"Multiline strings can be used as block comments in Python." Except in some places, where your code will pretty much blow up without any errors, because instead of commenting out a portion of an array, you've just added one big string element. And there's no other way to make block comments. And after actually commenting out every single line, your version control won't know how to merge it anymore, because there are now 100 changed lines instead of 2.6
Okay so i graduated last year and got a job working for a place that sadly disappoints me in their web development practices. This place uses a dead technology(my opinion)called Cold Fusion by Adobe. They do not use any form of version control like Git and their sites are very shitty and the design and development is implemented very poorly honestly. It honestly makes me sad that i feel like im smarter than my department vp. That being said i do not feel challenged here and am looking to collaborate in some open source projects via Github preferably.I dont consider myself an expert in this field but i would say im about intermediate level in web development. Im pretty comfortable with HTML,CSS/SASS,PHP,JS/JQuery, and im pretty comfortable in the PHP framework Laravel. So if anyone is interested in collaborating or starting something up, id be so down for it. :)7
Sharing a branching strategy that I came up with at work, and we've been using quite successfully. We don't run into a lot of conflicts, and it allows us to ensure all feature development is completely isolated.
The strategy is simple. Production is master, and that is the current running code. From that, you branch off a new branch for every sprint that you are working on.
From the sprint, each developer will do their "base development" branch. For each feature or task they are to do, they branch off their base development branch, perform testing, then mark the feature as completed with the name of the branch they are working on.
When they have completed a feature, they checkout their base development branch, branch off of it, and then repeat the process of development.
Near the end of the sprint, the team leader/manager will one-by-one pull in each of the branches under their team and perform tests. The ones that pass get included, and the ones that fail excluded.
When all of the pulls are done, it gets tested and pushed to QA. The diagram I included assumes you have more than one team working on different sprints.
We've been using this strategy, and with a single dev-team (all working on one sprint), we rarely have branch merging problems and it becomes very easy to diagnose which branches are an issue.
I figured I'd share this because it is a very useful strategy that perhaps more teams can use if they aren't already :)5
Sometimes I feel like, if anybody would have told me, the real use of GitHub, bitbucket or any other version control systems. Then life would have been much easier.
I remember in my college days, I use to keep the code backup in several different places on my system as well as Google drive and Dropbox..
For working parallely with the team-mate in college means...sharing of changed code..every now and then..via mail😫
Git, bitbucket you're the real MVP. Period.2
Why use git, do it simple, send me your changes by email and I will merge it.
Why split split source code (js) into different files, use one so we will no have trouble about load order.
Use the same user account for github/gitlab/bitbucket/etc. So we will no worry to setup access permisions.
Use Dropbox/Drive for version control.
We will test the whole system until the end when all is finish.3
Hi fellow devranters,
Just started working for a small engineering company ~10 employees. They have a single guy that have done most og the development work and version control management. Turns out everything was stored om his personal harddrive with a backup on an USB drive. I'm doing the "dirty work" on porting the version control to a network drive. Not ideal, but the boss was insisting on doing it this way. Have anybody encountered anything like this?2
Spent two hours explaining to an intern the basics of version control and why you must always commit and pull before you push. He claims he understood how it worked. I come back the next day only to see my code was overwritten because he pushed and never pulled.. I get yelled at by my boss because he can't see the changes I made and assumes I was slacking off the previous day :/8
Just wasted nearly a day because I got work assigned that has alreay been done half a year ago and nobody knew it.
It's really hard to find a feature to remove, that's already been removed and the truth is only to be found deep within the version control.
Me : "Ok i've to choose carefully my partner for this project. That guy over here seems nice. He did ask a lot of questions to the professor and he never missed a lesson. I should totally ask him to work on this together.
A few later...
Me: "Ok so we don't live near each other, i guess using a control version system like subversion or git can solve this problem."
Him: "Control version system ? What's that ? I've never heard of git or subversion."
MY BRAIN: "OOOOOOOOOOOOOOOOOOOOOOOOUUUUH SHEEEEEEEEEIIIITT ! ! ! !"4
I made 60 lines of modern, clean, multi threaded, optimized python3 code to deliver data from GIT to IBM ClearCase, on old Windows VM, hundreds of files (CC is file-based version control, every file has it's own change)
This calls for sauna today to definitely get rid of this dirt :)
And they said devops is all around docker nowadays :)2
I watched the movie 'happy deathday' today. It really isn't a horror movie but I was thinking of version control the whole time.
The point where she wakes up all the time is the master branch and the different days she experiences are different branches.3
What do you guys think about mercurial (hg)?
I think it has no place in a world where git exists and I prefer git.
Just wondering what the general sentiment is15
STUDENTS NEED MORE HANDS ON COURSES !
I'm doing a year abroad for the fourth year of my masters. I come from a school that really pushes projects, pitches and research forward while leaving in some theory.
Now that I'm at another uni in a different country I can't help but note how UNPREPARED students are for a professional setting ! And they are one year away from finishing their masters in Software Engineering...
Students should use version control tools, they should test their software, they should apply their knowledge to a concrete project ! A 3 hour course on software testing is only as good as its practical counterpart.
I miss the old Version Control, copy pasting project folders with every single update, hiding them in different locations just in case some get deleted, then actually trying to find the latest one..... Good old days
Felt like them text RPG games with lots of endings2
Finally got to release v2.1 of MultiCube. Now I finally decoupled input, processing, and output :)
Next version is going to include Gamepad support as well, for better cube control. :) That version is going to come only next year though.
I was doing an asset management project for the CTO of a small company in ASP.NET and the CTO decided to stick his crap smeared fingers into the development because he 'developed' a completely different AS/400 system which everyone complained was like having a dog smear it's balls all over your screen while taking a dump on your keyboard. Fucking idiot would have given me 2 weeks extra work with all the shit he broke if it wasn't for version control.
The fun you can have with voice control and parents. :-)
Free version lets you have 20 commands:
Great fun letting parents use it for browsing the web, save their fingers.
Though I notice it works better if it has a trigger word ahead of the command.
So instead of:
They was using:
"Bloody Scroll Up"
Much more amusing. :-)
This has been a public service announcement, please continue working...4
Guys, I'm a freshman just out from college and I'm arguing with a 30+ so called senior software engineer we should not store our assets in file server. He insisted S3 is not needed. Wtf man, and he say use svn instead of git if I want to use version control!!6
When do you guys commit? Genuinely curious. I usually commit at the end of the day detailing all I did. What about you?12
I had a small .NET PoC project I wanted to upload to our git server. So added the project to version control using Visual Studio, meaning that VS created a local repository for it. Then I wanted to push it to the remote repository which were created by my colleague. This one was initialized with a commit (.gitignore and Readme.md), so I couldn't push directly. Googled a bit, OK then tried to fetch the remote repo, didn't help. Googled again, tried some "git push origin master whatever" stuff and then rebate, because nothing seemed to help.
OOPS where are my local files? WTF? 😣
Long story short: Experience in other version control systems is not enough or even dangerous when switching over to git. 😂4
Still one of my favorite sites when I am tired and just don't feel like caring about my commit names anymore.
Today's 5PM commit:
"Custom Navbar still not displaying perfectly. Whatever."
Imagine you are half way through your first Linux kernel compiling and, you think you found a way to make it go faster. You have been compiling for an hour already. You press control-c and try it.
"Command not recognised"
You then realise you will have to wait another hour before touchscreen will work on your windows tablet using that specific kernel version.
Worst part of being a fresher is to unsuccessfully trying to get the team move to git version control..10
Is there any sense in using git for a personal project of which I'm the sole dev? Just as a way to learn version control and such, or is it nothing like what it would be as a larger team?14
When you accidentally revert (ankhSVN in visual studio) changes in code, and you lose all the code you just wrote. That feeling in the pit of your stomach... And the hot sweat/silent cursing... I fixed it so it's all good :).4
I'm still new to using version control and now learning Git with GitHub, working on my own project.
My current workflow is:
1.Clone GitHub repo
2.Make a local branch to add new features/fix bugs
3.Work on the feature/fix
4.Merge the local branch with local master
5.Push origin master
There seems to be no point in making remote branches because I am merging my branches locally. Am I doing it wrong?4
Envy me. The fnew position I am getting spun up on has me assigned to take over the work of a guy who uses no versioning methodology and updates directly to production code. and I have to get it into CM!!!2
It's only took me all morning but I got git properly setup on our server.
We have a folder in the repo that holds the distribution files. They get split to the distribution branch. Then the hosting service clones that branch.
Finally we we got some proper version control and a good testing environment.
Oh yeah the distribution files are minified using grunt.
Silently pushing changes to the production site to see how things work out. If it doesn't ->
UNDO the shit out of it.
CTRL + S
revert back to previous state.
Even tho i have my project under version control. 😝
What's your git style? Commit many times as a sort of change tracker/backup regardless of feature completeness or functionality, or only when something is complete and passes tests?6
When your job gets unnecessarily difficult because too many people work on the same files, and then they ignore your changes in version control. I waste more time redoing work that was already done and ignored . . .1
AccuRev. Imagine version control software written by someone who read about the concept in a book once and who also never heard of UX.
I'm studying atm and I survived Haskell, SKI, ... now, in the second semester we started with Python (yeay ♡) and Java (that's fine).
One of the first exercises is about installing Jython ('cause it's good, right? /sarcasm off), using the lecturer's module and write some code for it. It's about painting some shitty graphics *gasp*...
I use PyCharm (not really necessary for these crappy exercises) and programming on Windows and/or Linux.
Downloaded Jython, installed it, set it as interpreter - works fine (win10, pycharm).
Some students got weird errors using linux - for me it's the same but meh Idc.
Today I tried using Jython on my notebook, too (win10, pycharm). Downloaded it from the Jython Project website. Can't update pip, can't run modules - error is about fckin charsets...
Some other student figured out - wrong version of Jython. The newer version has some bug fixes.
2.7.1 is the one and only - the download section of their website offers 2.7.0 as latest release...
So - how to know there is a version 2.7.1?
#1 version control website = Wikipedia
So... there is a blog, guy's writing about this release - this installer is hosted at maven central. Yeay. Obvious. Thanks.
Can't describe such stupidity - maybe it's the user again 😂
The reason I've never heard of the gitlab meltdown is because I have and always will host my own version control. But it's nice to know that lots of really important stuff was almost lost for other people!10
I just became an android dev last week, yay for me. Though, I really hate how I inherited more than 50k lines of spaghetti!
They ask me to fix this and that, but that's okay for me, I can manage this.
The worst thing is we don't use any kind of version control system. And I'm always tasked to merge my work with other 2 android dev working on same spaghetti.1
A few months ago I lost my laptop that had my school project and our start-up projects. Hadn't learned about version control by then. I had a rough time explaining to the time where the projects were as they were due in a weeks time. Spent the next 5 days rewriting the project. It came out more neater and faster than the previous one :)1
Alright I'm finally making the switch from GitHub. I am pretty set on GitLab because it's open source, but was also considering Bitbucket. In addition to using it for personal projects, I'm also an officer of a student organization whose members work on software projects that I will be "managing" and contributing to. I'd like to use the same service for both, but don't know which one would be better. I read into both, but care more about what all of your opinions are than a non-experienced journalist on some click-bait blogging site5
Back on my university internship.
I knew nothing about web dev and it was a full stack role. I was taught nothing and just sat down and ran entire solo projects for websites and web apps. Everything was down to me including client contact.
Taught nothing and had to learn the entire stack on the fly whilst trying not to get fired or lose clients. Company had no version control for these projects, no quality assurance/testing, no frameworks or anything.
The first 3 months were not a good time.
2017 in a nutshell for me:
New year new me! This year I'm going to use a version control system!
Uses git for 3 hours and feels proud. Later forgets about it and never uses it again
I use version control as a glorified backup. Only recently did we start branching at work.
This is why I need to be part of a proper team where I can learn instead of being a team of 2 juniors and no one else 😂
Is anyone out there using Mercurial in a commercial environment still? I always preferred Mercurial over Git back in the day but I find it hard to understand why anyone would still be using it other than out of stubbornness.3
Finally tried using github for one of my own projects. I've always used other tools but I have to say, I'm pretty impressed. The integrated tools in visual studio are great.1
I'm the one one in my team that uses git. In fact, they ask me to set a version control system to collaborate more efficiently... But then I'm the responsible to merge all the versions and spend a lot of time. It is burninge out...
So started my new job this week (first Dev job after 4 years on various support desks) it’s going ok, but for some inexplicable reason they use visual source safe for version control.
I had to google it, i can’t even install it on Windows 10!8
Teaching version control would be nice. Git, SVN, CVS. My work uses CVS, and I still have no idea how to properly fork and merge. My knowledge of Git currently starts and ends with GitHub (sorry but true). I stumbled my way with TortoiseSVN just so I could get a WordPress plugin uploaded.1
It just took me 3 hours to change 1 bloody size in the properties window because of version control not working well. On days like this I love git!5
Visual studio weirds me out... Git a new project idea, set up my local git repository via command line, just because I want to have it done the hard way for once, and initialized my visual studio project in the repo. I happily start coding and commiting until I noticed some symbols next to the files (never used visual studio for anything else than small homework assignments, which didn't need version control). I look for information about them and find out it is the preinstalles git plug-in. "Nice feature, but I want to use the command line this time", I thought. Still i looked a little bit more into the plug-in, open the team view window and realize it says "nothing to commit" and "all files are staged". I start to wonder if it just auto-commits everything. I commit manually once more and see that it commited all changes since my last manual commit. So everything is fine. But at this point I'm too weirded out, because I had a hard time finding the settings and windows that belong to the version control plug-in... Now I'm installing gcc and will probably continue coding in notepad++...
spent close to 3 hrs trying to figure out why my server wasn't serving my webpage (consisting of both static files and HTML) only to find out I deleted the content in the base file that all other files were supposed to extend from. Ah! a month's work! Thank God for version control. How did people survive before? 🤔1
Atm, the most painful tooling is Rational ClearCase for version control (wtf?!) and IBM DOORS for reqs and test specs on a Windows machine.
Productivity = -13
I have to confess: I don't use a version control system. But, as of today, I'd like to change that.
I have a few questions for the community:
What VCS are there and what are the differences? I've heard of Git, but are there any others?
Can you recommend any hosting services? I know of Github and Bitbucket. Are there others? Which is better?
Are there any tools you use? Or just the command line application?
Finally: Can you recommend any tutorials for using these VCS?
Thank you in advance,
Somebody who probably should have done this ages ago (me)8
What might be a legit reason to commit a target directory with thousands of compiled crap the code in the very same repository generates? Why the hell would anyone want to do this?4
Genuine problem, not a rant
Started a new frontend developer/designer/graphic designer job recently. I feel technically capable, no problem there. Just noticing a pattern of repeatedly missing deadlines.
Its a very busy office, with various people all coming to me with things they need me to do. Never worked in an environment so busy before.
Doesn't help that they force me to manage my tasks by spreadsheets, communication by email, deployment by filezilla and no version control, but not convinced I'd still meet deadlines if I had a better setup.3
I might sound stupid, but why don't solo-developers use things like dropbox for active file history that keeps track of every change and also gives diff options and up to 1 year log - instead of git?
Don't get me wrong, git is amazing when you have to work with a team or multiple people in general, but it's simply a pain in the ass when working alone and having to keep track of every state yourself.6
Solving merge conflict on version control takes too much time, so let's allow only guy to check-in and everyone else work offline keeping several old style working copy with (hell) numbers of backup. Once done everyone sends files to check-in guy.
Today is the first time I really wished we would use git, or some good version control. My coworker kept working on my project while I was on vacation and now something isn't working. I'm just not sure if it's not working because I was dumb enough to accidentally STRG+X (I know, I'm dumb) some of his lines or whatever, but the point is I have no way to trace back what it looked like before and now I gotta fill the blanks by deduction I guess10
The designers kept changing the layout for a web app every week and refused to use a version control system so they sent the new files by slack every release9
When I was an apprentice in a small company, ...
in the beginning I had the order to only work on my local machine. After my boss told me to work with him in a "team". I have asked him what version control system he uses for his project. He's been in this bussines for atleast 30 years, and he asked me with a serious face what in the world version control is. I couldn't resist to giggle.
What if life was on git? Where you can simply create new branches of it, stash shit, remove dumb people with dependencies and finally the ability to turn back time with this version control.5
I don't know why, but there is something about watching the files disappear and appear in the VS Code window when I switch and merge branches. Maybe it is because it reminds me my work is safe and sound. Unlike before my company used version control.
Sometimes I think I am a weird nerd, one day I was writing something inside Ubuntu VM for practicing some DSP tech with Python environment on my office computer, someone DM me asking for tech support so I have to pause and go to figure it out. I wanna make some version control or backup stuffs to my little tiny cute .py files, so that I can pick it up when I was at home. And I just plugged my udisk in Ubuntu, copied those files to it, and switched USB port control permission to Windows, and finally git to commit. Actually the next time when I continued to write it at home, I hesitated for a while, should I pull it from git or just take out that udisk from my backpack? #IThinkShareFoldersAreUglyAndDirty
Half of the courses we had in our college were about electronics. Except Microprocessors and Transistors, it's not relevant.
We even had chemistry and engineering drawing. So we essentially wasted more than half of our time.
Besides languages, weren't taught anything about real world software development.
Nothing about how to work with an existing code base, version control, design patterns, system design, creating a website, debugging, functional programming, scalability, reliability.
The industry should be involved in setting the syllabus and also contributing part time teachers.2
Perforce , what kind of version control system is this . It can't revert two check-in on same file. It can't revert check-in from bugs even after back-out of that check-in2
Remembering of when I first learnt about the importance of version control.
There I was, working in Visual Studio, laptop unplugged; the laptop suddenly shuts down - battery dead. Not too worried, might just have to rewrite a few lines I had not saved. Restart the machine, open VS, the file I was working on now contains strange characters - totally damaged.
Google for help, find a question on stackoverflow with the same issue (comforting moment). The answer I get:
"First question, why wasn't your code on source control?"4
My work does not use fucking version control of any kind.... Today I had to look over some old report I did, which contained a few errors, the script to create this report I have since modified so I have no idea when this went wrong and the script now is also not functioning properly for this task...
I know it's my own fault but fucking goddammit why don't we just use git?!!?!5
What the fuck is this version control thing? We managed to pass one fucking entire semester building an mobile game without knowing anything about version control. How my team finished the game? Fuck, we just place our source code and files into the folder, archive to rar and sent it through gmail. My desktop was a fucking mess, it was bunch of New Folder(x) all over the place. Fucking school didn't even taught or mentioned even once about that shit. In fact our faculties were all master degree holder. Our life could have been easier back then. So in this last school year, we gonna use that shit in our Capstone project.5
So, I was working on my code base and wanted to update my remote with the local changes. I issued the git push command but it just remained unresponsive, no error-nothing. (I use bitbucket as remote host). This was strange, even enabling verbose option didn't tell me anything useful apart from usual 'pushing this to that' sort of response. I checked internet connectivity on my system. It's fine. I restarted my network-mananger just in case, tried if ping, telnet and other tools were working. Everything seemed fine.
Well, it turns out for a major portion of the day bitbucket was having issue with ssh connection. Finally I added https remote and was able to push my changes using 'username', 'password' route.
It wasted a good portion of my time today!!
"Version control......what is that? I never heard of it"
Words cannot express the shock I felt when I heard this from an interviewee for junior dev.
How the FUCK do you call yourself a developer you piece-of-shit when you don't know such an essential thing?????9
Any suggestions for an open source/free version control/git kinda thingy?
I'm working on a project and wanna share what I have so far with another developer, so he can add his work too without sending a billion e-mails with attachments.
Basically a cloud for developer teams.5
This is proper version control, right?
((btw: vs code is wonderful idk why i never tried it out before now))
How about "version control blues" about version control tools being more trouble than help? Because I'm having some wonderful time with subversion for VS20102
Can you use version control on a git repo? I mean put a git repo inside a git repo so you can commit while you commit... :P7
I started playing around with computers when I was about 3 years old, than at 12 my "Technology" teacher showed us a programmer he and his colleagues made, a free and open source version of Logo, logoit. You could control a turtle and make it draw lines on a plan. Than I got into c++ and web development.
I'm interested in developing a productivity app for windows, but I have no idea where to get started. Do you have any suggestions for frameworks/tutorials to get started with? I'd prefer to use C# instead of C++, but if necessary I'll do either.
Thanks for the suggestions
P.S. It'll also be the first project I actually use version control for. Fun stuff6
If IBM makes a product of something we use, we get it, ClearCase, ClearQuest, message broker, websphere, rational team concert, jazz source control... And a skinned version of eclipse3
When your version control is a bunch of rar files scattered across three different desktops in three different computers2
Just a small question: how do you guys handle documentation, version control, what technologies do you use (programming languages and frameworks if any)?3
Management fixes our slow running buggy code problem by exactly copying every file into separate version control depots so that Dept A does have to deal with Dept B bugs and Dept B does have to deal with Dept A bugs to the same files.
Think about how big this project could get. Use version control. Build anything as future-oriented as possible. Use all common standards.
I still have some quick'n'dirty side projects that don't let me sleep well sometimes: "Nah, it will be a one time thing, no body will use it anyway" ...
So I stashed my changes to switch branches and quickly fix a f**k up, then I switched back and went to 'pop' the stash.... only I didn't click 'pop' I clicked...'delete' and GitKraken or ShitKraken as it should be called, didn't ask for confirmation... it just deleted all my changes. FML5
Github starts having issues the second I try and get us to start using it instead of gung-ho edits. Coincidence?
TFW you know you're going to be seen as a sort of code anarch or unenlightened (foo)barbarian for even suggesting that there are other git workflows more suitable than GitFlow, but you do it anyway.
Saying that I keep my master unprotected feels like telling Grandma I worship Satan.
I work with a very small team that's always physically nearby, we all get along well, trust each other and communicate to know what everyone is up to, which I guess is hard to believe in and of itself, but is it so fucking hard to believe that we'd be okay without redundant eternal branches or a vomitload of unbisectable history-warping merge commits?1
I have several php+html+css websites and up until now was working on them directly from ftp. I would like to introduce version control (github) but dont know how to go about it. My webhosting has cpanel and if Im not mistaken it should accept deployment from github. How I should go about it?4
Good deed done for he day, my friend was versioning his application by using zip folders with the date as the name of the folder. Introduced him to git because the university hasn't thought us how to use it yet and now he is delighted! Note I'm in my final year and college has barely mentioned using version control
When your pushing to a git repo and found so many conflicts and try to to review it,
And found so many conflicts with whitespace.1
The great thing about version control is that you can seamlessly work alongside other coders through the use of dozens of diverged and cryptically named branches.2
Am I the only one here who has trouble understanding how the mothertrucking cycling raping fuck git works?
Every time I make a significant change, I name my file as "project1" and so on, and when I'm done, I make a "projectFinal"3
Git Submodules and Subtrees make me miss SVN externals. Normally I berate everyone that uses SVN (to be cool), but externals were simple AF
Say what you want about npm and node_modules, it is much better than other package management systems like pip.
Least I don't need to create an entirely new installation of nodejs every time I want to build something new that might depend on some packages that depends on an 0.0.1 version lower of another package that is used by a different project I currently have to also maintain.
P.s. I do love python overall and it's ecosystem, the package management and version control are sheer garbage.2
!rant after struggling with version control in a very restricted enviroment where nothing can be installed on the user's machine.
I finally found a way that was allowed after days of digging, so simple yet beautiful, thy name be clickonce.
yeah sure, having all 5 devs only ever working directly on the production branch and not being allowed to save anything post-release unless it's an urgent bugfix sounds like a great idea
Power BI: wonderful tool, pretty graphics, and can do a lot of powerful stuff.
But it’s also quite frustrating when you want to do advanced things, as it’s such a closed platform.
* No way to run powerquery scripts in a command line
* Unit testing is a major pain, and doesn’t really test all the data munging capabilities
* The various layers (offline/online, visualisation, DAX, Powerquery, Dataset, Dataflow) are a bit too seamless: locating where an issue is happening when debugging can be pain, especially as filtering works differently in Query Editing mode than Query Visualisation mode.
And my number 1 pet peeve:
* No version control
It’s seriously disconcerting to go back to a no version control system, especially as you need to modify “live code” sometimes in order to debug a visual.
At best, I’ve been looking into extracting the code from the file, and then checking that into git, but it’s still a one-way street that means a lot of copying and pasting back into the program in order to roll back, and makes forking quite difficult.
It’s rewarding to work with the system, but these frustrations can really get to me sometimes2
Ever spend 4 years compiling a library of awesome code while all the time forgetting you set up version control for it, and then one day you accidentally hit the magical undo button that annihilates all of your code in one fell swoop?
Yeah... Me either. That's totally not the reason 70% of my classes now look like they were decompiled from yesterdays build -_-
When I was an apprentice in a small company, ...
I had the order to set up Subversion on our machine with a fresh installation of Linux Ubuntu. The order included to create only a single repository for all projects we were working on. He totally missed the point how version control works. In his opinion it is just a place to store backups, and nothing more.2
Fixing and extending some old code, cursing the fool programmer... then version control blames yourself.
Goddamn I hate TFVS. I'm working on PHP application where the code is stored on TFS. So far, I've been getting by using the VSTS plug in Microsoft supplies on PHPStorm. The plugin is buggy as hell, and I'm about fucking done with it. Apparently, PHPStorm doesn't save files when your committing. Unbeknownst to me, however, the most recent attempt failed, crashing the plugin. Of course, and the commit task is still running under the hood, so none of my work has been saved1
What would you guys use to backup multiple mysql databases incrementally without root access. I've been just exporting the db through PMA but I'm switching everything to a version controlled system and would like to do the same for our databases.
Oh yeah and the reason I don't have root is we have cloud hosting which doesn't provide root access. I can't even run Yum.
Just discovered wizzy ... Wow, freaking sweet!
I like it for many reasons, just started playing with it, therefore #1 reason so far is saving dashboards and having them in a git version control, yay!!!
Also, if you're not familiar with Grafana, let me blow your mind: http://grafana.org4
Git, Mercurial and others are distributed version control systems. Maybe it would have a federated version control system for hosting open source software...1
wonder what life must have been like for programmers before there was version control..
-> Not completing database structure and realizing it in the middle of project execution.
-> not using version control
-> no documentation/comments
......List goes on
That moment when you writes every document in markdown and put them in a git repository for version control.
Resolve overlaps in repos downstream from current project. 1 overlap... Get in today, 7 overlaps downstream; including original. This means we can't deploy the code that a developer decided needed to be fixed; it didn't; and we have 1 week before go live and still need UAT validation, oh and QA needs to retest all the components due to the "required fix". What in the actual fuck?!
What's it called when you count down to 0 for your versioning instead of up. Once you get to 0 your software updates freezes. I tried searching online but I keep getting counting for "for loops." This is eating at me lol.
I just want to rant about my teacher who did not teach us on software engineering principles especially on version control and how we handle our code.
[This is Tl;dr section so I won't take your time to read] I just want your advice or opinions on students required to learn version control.
So If you have any ideas please reply. I will read them and evaluate.