[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>you need git as a single developer developing a personal

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 67
Thread images: 4

File: wat.png (6KB, 429x410px) Image search: [Google]
wat.png
6KB, 429x410px
>you need git as a single developer developing a personal project
Why?
>>
>>60887195
If you need to revert back to a former version, or maybe you have a development branch and a stable branch.
>>
>>60887195
Who are you quoting?
>>
>>60887195
Because unless you're writing single-file bash/python scripts, you'd be stupid to not use git.
>>
>>60887195
online portfolio, plus it's an extra layer of backup in case your computer blows up
>>
>>60887233
If .git is gone then nothing helps
>>
>>60887241
they might mean they also push it to a remote server, like GitHub or Bitbucket, so they could just clone it again.
>>
I think it's a bait but basically this >>60887224
>>
>>60887195
>what is versioning
>>
>>60887195
> all take "what is version control" for 100
> bonus points for "shows employers that you know how git work"
>>
for publishing on github (at least as backup)
for branches (at least stable/develop)
for editor/ide because they detect .git folder and take it as project root
>>
ITT: shitty reasons
>>
>>60887347
Either you only write "hello world"-tier programs or you implement your own form of version control instead of using git
>>
This is bait.
>>
File: 0013k5bc.png (601KB, 1439x806px) Image search: [Google]
0013k5bc.png
601KB, 1439x806px
>>60887422
Or, you develop a huge ass program using nothing but manual backups.

Nothing but meme programmers with their memes ITT
>>
>>60887195
You want simple redundancy in case of a system failure, OP. Jesus. But I wouldn't used some distributed crap, no I would go with a centralized solution because I want my repository to live elsewhere. Plus, I'm not going offline or worry about others so I don't need a local repository. Nah, I'll use SVN instead of GIT.
>>
>>60887300
>his editor doesn't handle that
>>
>>60887452
>apache software
>ever
>>
>>60887464
This. Emacs has built-in version control capabilities. Git is an unnecessary burden for personal projects. Branching is a meme.
>>
>>60887464
what editor does that?

please no autismo answers like vim or emacs
>>
>>60887195

It's way easier to track your changes.

You don't have to use github, there is plenty of alternatives that offer free private repos. You could also host your own git repo.
>>
>>60887195
I was using dropbox before realizing every job applications want a github link.
>>
>>60887563
Why would you track your changes? Then you're developing backwards, not forwards.
>>
>>60887195

Because you can try out things in multiple branches, go back and forth between revisions, you have a fucking backup and after a long time you can read the revision history tounderstand why you did some things.

I don't understand why you don't see thosebenefits. Are you retarded?
>>
>>60887635
>go back and forth between revisions
Seems like a shitty way to program.
>>
>>60887224
I use folders with source code and timestamp on them, is git Superior? And how?
>>
>>60887546
I think he's talking about any editor with git integration.
>>
>>60887773
I don't know, since he was shittalking git in the first place.
But maybe you're right.
>>
>>60887702
>is git Superior?
Infinitely.

>And how?
Every way imaginable.
>>
>>60887195
You don't. Just use RCS.
>>
>>60887822
no real response indicates you can't back up your claims
>>
>>60887702
Git is vastly superior.

- It's easier.
- It consumes far less disk space
- It keeps a log with commit messages so you can actually find where you made changes.
- It lets you see which lines were altered and how.
- It can merge changes to a single file.
>>
>>60887195
If you wanna cripple yourself then don't use it
>>
>>60887642

No. It's just necessary when developing big projects. You'll love branches and commits when your changes go back multiple hours or even days of work. That's stuff you better should not try with undo/redo, even when using an editor having undo-tree.
>>
>>60887224
Yep. I never even knew source control existed when I did a couple of projects years ago for a couple of gaming communities, and basically broke stuff without even remembering how it used to be in order to revert it.

Wish I'd have known about git or svn then, would've saved me loads of hassle.
>>
>>60887195
Because git blaming your old commit messages is superior to inline comments.

> Fixed for real this time
> fixed
> asdf
> initial commit
>>
>>60887848
What did you change between the current version and the last version?
Just copying your source files won't tell you that; any version control system will - it's just that git is the best.

Let's say you're in the middle of a new feature, but then you discover a bug in the existing application.
With git, you can easily stop what you're doing, fix the bug, then pick right back up where you were. You can't do that with just copying your source files.

Version control is absolutely essential for development, and git is the best version control system out there.
>>
>>60887195
I even use git when I write an article.
>>
>>60887452
>But I wouldn't used some distributed crap, no I would go with a centralized solution because I want my repository to live elsewhere
Are you mentally impaired? (Honest question)
>>
>>60887272
Or if you don't want your stuff to be public access or under the control of someone else, git repos can easily be copied or cloned to any kind of storage or remote server under your control.
>>
>all these git shills
codelets when will they learn
>>
>>60887195

>I really wish I had not deleted that one function that took me 1.5 hours to write, in favor of saving screen real-estate

Best practice starts at home. If you're gonna do it right might as well do it right everywhere, less you become a sloppy undisciplined bitch.
>>
>>60888103
>shills
>free open source program.
>>
>working for a company that doesn't use any svn/git anything anything at all
>huge ass projects with 20k loc fully bloated
>one ftp where multiple person work on at different times
>connect to ftp, download one file, work on it, upload it again. Backup halfheartedly on your pc and maybe in the ftp in the same directory with some random name
>we have been doing this for over 16 years now, no joke, welcome to the real world.
>I also know another company that does it like this
>>
>>60888235
there's at least offsite backup right?
>>
>>60887195
>developing on multiple computers
>commit often practice is useful in every project even if you are alone as it makes you to think small and get shit done
>feature branches are helpful because you can go back if you found a bug and check if it was introduced while working on the new feature itself or is it some older bug you just found
>>
>>60888264
Two backups (another online and one offline of the current state. If there is an error, then the projectbackup has that error too) and maybe backups of the files you download and store in your own folder.
>>
>>60888235
One thing to add:
>programmer A downloads file, starts working on it
>programmer B downloads the file an hour later and also starts working on it
>B loads the file up after like 4 hours of work
>Sometime later A loads the file up and overwrites everything B did.
This happened in the past. Since then, people talk to each other a bit more.
>>
File: 1478363310128.jpg (97KB, 415x454px) Image search: [Google]
1478363310128.jpg
97KB, 415x454px
>>60888174
>free
>>
>>60887538
emacs vc just interfaces with a git repository, it's not replacing it at all
>>
Is there any reason to use CVS, SVN, or gh over git?
>>
>>60888174
s/shills/cultists
>>
>>60888376
SVN is a bit easier to use. But git is the one to rule them all in the real world.
>>
>>60888356
It's both free as in freedom and free as in beer.

I don't see what your problem is?
>>
>>60888235
So why haven't YOU stepped up and done something about it?
>>
>>60887447
Please never work where I work. You're literally stupid aren't you?
>>
>>60888454
I have to pay to keep my privacy when using it
>>
>>60887866
>- It keeps a log with commit messages so you can actually find where you made changes.

No it doesn't. YOU keep the log.
>>
>>60888532
>I am too retarded to know the difference between git and github

OK, KYS then.
>>
>>60888539
I only write the commit messages.

Git combines them into a log, ads time stamps and other info, and tracks which changes in which files were involved in each commit.
Doing all this myself would be a lot more work than just typing
>git commit -m"added poo to designated street"
>>
>>60888495
Here's the thing. Version control is basically for stupid and undisciplined people. If you develop right you don't need shit like that. It's only useful for teamwork.
>>
>>60888359
No, I was referring to emacs' numbered backups..
>>
>>60888532
LMao you are retarded that's github not git
>>
>>60888695
/thread
>>
>>60888532
Confirmed for mental retardation.
>>
>>60888565
>>60888761
>>60888890
>go to git
>"Learn Git in your browser for free with Try Git."
>it links to a github url
whatever you say
>>
>>60888946
hahahaha
Thread posts: 67
Thread images: 4


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.