I currently use Dropbox for storing my TeX projects, but have been tempted to switch to a "real" revision control system, like Mercurial or Git, lately.  If it is worthwhile to switch, what would be some tips and pointers? My top switching question is should I use GitLab or Bitbucket to host in a private repository, or should I set up the remote repository on my server?
99825
I'd like to be able to use latexdiff with git.  At the moment I have an alias in my .gitconfig file for a word-based diff:  [alias]  wdiff = diff --color-words   but is it possible to make an alias that will use latexdiff then compile the output and open the created dvi/pdf file?  Probably the best approach to this is using git difftool, but has anyone already made an appropriate script?
62977
There are lots of questions that come up when thinking about getting software productive.   Like how to do versioning of the software, how to deploy it on client side and generally how to roll software out.  Having done this multiple times in different ways, there are still lots of open questions.  If I ask them on stackoverflow, they will get closed with very high probability. They are not to programming related, I cannot provide code, they seem to be  ideally suited for "off topic".  So: Where can I ask those questions?  -edit-  To have more concrete example of the questions that I would like to ask:   What to consider before rolling software out? How to version a bunch of assemblies without having to edit lots of config files? How to keep software on client side up to date? ...   I would really appreciate to ask those questions myself, if there is a place for it somewhere. SO seems to be no match.
98781
As launchpad does not support binary uploads, I want to make .deb packages and host them in My own Github website.    How to do it? When done, how to install packages from it?
116386
I have a "docs" folder in a Subversion repository named "project". I've come to the conclusion that it should really be kept under a separate Subversion repository named "project_docs".  I'd like to move the "docs" folder (and all of its revisions) to the "project_docs" repository. Is there a way to do this?
34092
I would like to keep track of changes in /etc/  Basically I'd like to know if a file was changed, by yum update or by a user and roll it back if I don't like the chage. I thought of using a VCS like git, LVM or btrfs snapshots or a backup program for this.   What would you recommend?
17322
Ok, after seeing , I have decided to skip to the end and go with .  So what I need is a beginner's practical guide to Git.  "Beginner" being defined as someone who knows how to handle their compiler, understands to some level what a  is, and has touched source control without understanding it very well.  "Practical" being defined as this person doesn't want to get into great detail regarding what Git is doing in the background, and doesn't even care (or know) that it's distributed.  Your answers might hint at the possibilities, but try to aim for the beginner that wants to keep a 'main' repository on a 'server' which is backed up and secure, and treat their local repository as merely a 'client' resource.  So:  Installation/Setup    How do you set up Git?  Try to cover Linux, Windows, Mac, think 'client/server' mindset.         Working with the code          How do you handle binary files (visio docs, for instance, or compiler environments)? How do you merge files changed at the "same time"?    Tagging, branching, releases, baselines    How do you pull a particular 'release'?   How do you resolve conflicts and complete the merge? How do you merge parts of one branch into another branch?        Other   Describe and link to a good GUI, IDE plugin, etc. that makes Git a non-command line resource, but please list its limitations as well as its good.    - Cross platform, included with Git  - Cross platform history viewer, included with Git  - Mac OS X  - Mac OS X history viewer  - Cross platform, commercial, beta  - console GUI for Linux  - GUI for Windows, Linux  - package for Windows, includes friendly GUI  Any other common tasks a beginner should know?     How do I work effectively with a subversion repository set as my source control source?   Other Git beginner's references                 Delving into Git     (and )    I will go through the entries from time to time and 'tidy' them up so they have a consistent look/feel and it's easy to scan the list - feel free to follow a simple "header - brief explanation - list of instructions - gotchas and extra info" template.  I'll also link to the entries from the bullet list above so it's easy to find them later.
59498
I am thinking on a system, where /etc were tracked on a remote git repository. I am thinking on a git workflow, where every host machine where a different branch.  Every previous versions on every machine could be easily tracked, compared, merged.  If a /etc modification had to be committed on many machines, it could be easily done by some merging script.  In case of an "unwanted" /etc change, this could be good visible (even alarm scripts could be tuned to watch that).  Anybody used already a such configuration? Are there any security problems with it?
22895
I've just been searching around the net for version control that has some support for graphic/Photoshop files. We're currently using BitBucket which is free and unlimited when it comes to file size but doesn't have any design review tools.  Here's what I've found. Does anyone else have any recommendations?  Pixelapse – Free/Beta, works well. Now has layer comp support.   Shipment – Private Beta (waiting for an invite)   LayerVault (out of business) – Windows/Mac, has layer comp support   PixelNovel – SVN Version control for Photoshop   CAD only?! But looks really good.   FileTrek – Very enterprise. No price or demo.   Kaleidoscopeapp – GIT with image compare   Apps that copy files with an incremented version
97619
In a few large projects i have been working on lately it seems to become increasingly important to choose one or the other (XML or Annotation). As projects grow, consistency is very important for maintainability.   My questions are: what are the advantages of XML-based configuration over Annotation-based configuration and what are the advantages of Annotation-based configuration over XML-based configuration?
94072
For my new server, I want to setup a proper backup solution. I've found a great setup that will do twice-daily incremental backups via Dropbox. I plan on backing up my various databases, the webroot directory, the /etc directory/repository, and /var/log.   What else do I need to know to do a proper backup, and what is the standard setup here to ensure you can quickly restore from a backup in the case of a system failure?  I'm thinking of using Puppet, as it describes how the system should be. My restore procedure would look like this:   Install Puppet Run my puppet config Restore my backups from Dropbox (Should I create a script to do this? Probably)   This should also let me create a clone of my production server for use in dev environments, correct? Am I missing anything of importance?
71262
I'm not a git master, but I have been working with it for some time now, with several different projects.  In each project, I always git clone [repository] and from that point, can always git pull, so long as I don't have outstanding changes, of course.  Recently, I had to revert to a previous branch, and did so with git checkout 4f82a29.  When I was again ready to pull, I found that I had to set my branch back to master.  Now, I can not pull using a straight git pull but instead, have to specify git pull origin master, which is annoying, and indicates to me that I don't fully understand what is going on.  What has changed which does not allow me to do a straight git pull without specifying origin master, and how to I change it back?  UPDATE:  -bash-3.1$ cat config [core]     repositoryformatversion = 0     filemode = true     bare = false     logallrefupdates = true [branch "master"] [remote "origin"]     url = git@github.com:user/project.git     fetch = refs/heads/*:refs/remotes/origin/*   UPDATE 2: To be clear, I understand that my original method may have been incorrect, but I need to fix this repo so that I can simply use git pull again.  Currently, git pull results in:  -bash-3.1$ git pull You asked me to pull without telling me which branch you want to merge with, and 'branch.master.merge' in your configuration file does not tell me either.  Please name which branch you want to merge on the command line and try again (e.g. 'git pull  '). See git-pull(1) for details on the refspec.  If you often merge with the same branch, you may want to configure the following variables in your configuration file:      branch.master.remote =      branch.master.merge =      remote..url =      remote..fetch =   See git-config(1) for details.   I can tell git pull which branch to merge, and it works correctly, but git pull does not work as it did originally before my git checkout.
119734
I have a fresh install of a dual boot system with Windows 7 and Ubuntu 10.10. They live in separate partitions of the hard drive, invisible (unmounted...) to eachother, but have a common data partition which they can both reach.  Now, I want to be able to use LaTeX regardless of which OS I've booted. I've previoulsy used MiKTeX and TeXWorks on Windows, and been pretty satisfied with it, but I'm new to LaTeX on Ubuntu, so I have no prejudice on editors etc for this half. What I liked most about TeXWorks was the ability to compile the document without leaving the program, and the split view (source code on one half of the screen, output from latest compile run on the other), so if that's available in an Ubuntu IDE that's a plus.  The most important thing is that they share a package repository. In MiKTeX, packages I hadn't used before were automatically downloaded from CTAN when used the first time, which made things a lot simpler. I also had my own little collection of packages, in a separate root folder. Any setup that doesn't share all packages between the two operative systems, makes my life harder than it has to be =)  How do I best set up this? On which OS should I install what, and how? Does the installation order matter?  Any tips are welcome!
64013
I am migrating a client's SourceSafe repository (3 projects) to SVN and two of the projects share source files.  (These projects are separate products - with different names and release versions, etc)  Has SVN resolved this shortcoming?  How do people generally handle this scenario?  Of the options I know about/can think of   Use the external or extern or whatever for SVN.  I hear this is not a good option for various reasons Create a new project (maybe called shared) that contains the source.  The problem with this is that we still have to get that code (it is not a library) and import it into the project somehow.  It can be shown to be the same problem as the one above and it introduces the overhead of an additional product/project. Just check in the files in both repositories and cross-update them.  This requires developers to know about the sharing and to remember to check in.  I suppose I could write a script that checks all known shared files and updates them when needed. Have one repository for the two projects that share.  This leaves me with the problem having to create a top level project/repository that contains the two and it is a problem for labeling.  I do not really want to label the top pseudo project.  (the tags, trunk and branch things are not exactly where I would want them.)   I will probably go with the last option.  Any other comments?
9653
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here.  While you are encouraged to help maintain its answers, please understand that "big list" questions are not generally allowed on Ask Ubuntu and will be closed per the .   Backup is incredibly important. Obviously there's no best backup tool, but a comparison of the options would be very interesting.   Graphical Interface? Command line? Incremental backups? Automatic backups? Install method: In standard repositories? PPA?
59147
I read some articles, and seen some videos about a github project that do a sort of thing, but it's a little bit outdated things.I wanna see if this thing is possible to do, nowadays. Thanks
109924
I need to ask a question about project layout, git repository structure, and IDE settings for the given scenario.  There really won't be a right answer, but rather, an answer which works best for my situation.  What is the best site to ask these types of questions so they don't get closed/locked?  Being more specific: I have a grails project that is comprised of several plugins that are basically modules for a grails app.  We're getting ready to make a move from svn to git and I want to make sure I have a good structure going forward. Right now, all the plugins and the app site in one repository.  I want to know if they should be broken up and then I have some additional questions about setting that scenario up in my IDE if that is the way to go, given different git repos for a single project.
80129
I am going to be using Subversion for source control on a new J2EE web application. What directory structure will you recommend for organizing code, tests and documentation?