Fletcher Nichol
024856e538
Remove .git suffix on destination directory if URL ends with it.
...
For example, the following:
homesick clone git://github.com/technicalpickles/pickled-vim.git
should produce a castle directory of:
$HOME/.homesick/repos/pickled-vim
2013-06-16 10:47:53 -06:00
muratayusuke
e530df7239
fix #35
2013-06-09 23:10:21 +00:00
muratayusuke
a95c4b2446
refactor symlink
2013-06-03 18:17:38 +00:00
muratayusuke
af950d042a
fix merge miss
2013-03-29 01:58:35 +09:00
muratayusuke
23ae908e7d
Merge remote-tracking branch 'jbuckner/track-git_add' into local
...
Conflicts:
lib/homesick/actions.rb
2013-03-29 01:57:07 +09:00
Yusuke Murata
b0bde0eb44
Merge pull request #26 from jbuckner/castle_push
...
Castle Commit & Push
2013-03-28 08:23:45 -07:00
Yusuke Murata
763cf8aa0a
Merge pull request #28 from muratayusuke/enable_recursive_submodule
...
yeah merged :)
2013-03-28 08:01:24 -07:00
Josh Nichols
376fd88fc9
Fix git_clone to work with github URLs like https://github.com/technicalpickles/dotpickles
2012-12-09 15:33:15 -05:00
muratayusuke
fca23274bf
enable recursive submodule
2012-12-06 20:10:18 +09:00
Jason Buckner
27d038512c
perform a git add when doing a homesick track
2012-11-24 23:56:12 -08:00
Jason Buckner
ca832a38e2
start adding git push functionality
2012-11-24 21:01:37 -08:00
Jacob Buys
9ced2921d9
Fix overriding existing symlinks that point to directories.
2011-08-23 22:04:00 +02:00
j.c.sackett
58767454b3
Added track command.
...
* Moves a specified file into the specified castle.
* Symlinks it into its original position.
Signed-off-by: Joshua Nichols <josh@technicalpickles.com >
2010-10-27 08:37:56 -04:00
Joshua Nichols
3f26a74c71
Use || instead of or
2010-09-03 18:49:49 -04:00
Mathieu Sauve-Frankel
1041cb5160
make homesick symlink respect the force option
...
Signed-off-by: Joshua Nichols <josh@technicalpickles.com >
2010-09-03 18:49:25 -04:00
Joshua Nichols
f0c67f9653
Merge remote branch 'Sutto/master'
2010-05-18 20:25:53 -04:00
Jorge Dias
95d22951b3
Implemented update action for castle
2010-04-09 19:02:43 +02:00
Joshua Nichols
c9399064e0
First pass at castle generator task.
2010-04-08 01:05:34 -04:00
Joshua Nichols
c0797dd607
Cloning will now try to init and update git submodules, if they exist.
2010-04-01 21:59:15 -04:00
Joshua Nichols
9a22513ba4
Allow symlinking existing directories into repos, instead of cloning.
2010-04-01 21:19:25 -04:00
Joshua Nichols
5ac2a0739a
Clone github repos into username/repo instead of username_repo, for more consistent use with symlink.
2010-04-01 21:08:36 -04:00
Joshua Nichols
46b2cbfa3f
Renamed symlink action to ln_s.
2010-03-31 23:57:18 -04:00
Joshua Nichols
cde7989e85
Fix conflict resolution when destination is a plain file (not a symlink).
2010-03-31 23:18:38 -04:00
Joshua Nichols
73d890652e
Fix quiet support
2010-03-19 00:33:59 -04:00
Joshua Nichols
8be582a4cb
Fixed cloning from github.
2010-03-18 23:45:34 -04:00
Joshua Nichols
b80b132a7a
Adding in pretend options.
2010-03-18 23:38:45 -04:00
Joshua Nichols
bf66d91b1f
Shuffled some stuff out of main homesick.rb
2010-03-18 23:30:18 -04:00