News for hackers. Stuff that matters.
Re:Simple Revision Control by vertex-four on Thursday November 13, 2014 @10:24AM (#8601926)
The point is managing single files, not directories. Want to version control your ~/.bashrc, for example? Or a single document? You can do that without having to move the file into its own directory in some hackish way.
Re:Simple Revision Control by shabble on Thursday November 13, 2014 @10:28AM (#8601954)
GNU Stow[1] referencing a git repo in ~/.dotfiles is what I use for that.

You might consider it hackish, but at least there are plenty of tools out there for managing it :)

[1] https://www.gnu.org/software/stow/

Re:Simple Revision Control by Karunamon on Thursday November 13, 2014 @10:55AM (#8602157)
How is this different from just `init`ing the repo in your home directory and only adding files you care about?
Re:Simple Revision Control by desdiv on Thursday November 13, 2014 @11:11AM (#8602262)
What happens if you accidentally git clean -dfx?
Re:Simple Revision Control by Karunamon on Thursday November 13, 2014 @11:16AM (#8602293)
Roughly the same thing that happens if you run rm -rf ~. Any tool that manipulates files can be coaxed into shooting you in the foot.

Any usage of -f on a git command means you're probably doing something that you shouldn't be unless you absolutely know better.

Re:Simple Revision Control by mitchty on Thursday November 13, 2014 @12:11PM (#8602623)
You can always just set GIT_REPO_DIR to a bare/remote git repo and not have to move crap around if you don't want to.

git is a bit more flexible than how its normally used.