Mattias Andersson
233686d2a2
Change git-cp to use cleaner branch approach ( #1169 )
...
ci / test (push) Has been cancelled
ci / lint (push) Has been cancelled
ci / typo (push) Has been cancelled
ci / build (macos-latest) (push) Has been cancelled
ci / build (ubuntu-latest) (push) Has been cancelled
* Change git-cp to use cleaner branch approach, per https://stackoverflow.com/a/46484848/32841 and https://devblogs.microsoft.com/oldnewthing/20190919-00/?p=102904
* Name the temporary branch to better fit in with git-extras
* Again, git-extras naming is "copy", not "split"
* Make the commit messages more clear
2024-10-08 11:40:43 +08:00
罗泽轩
78c5ca28a0
git-cp: don't stop execution when merge.ff is not set ( #1096 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2023-10-26 12:28:19 +08:00
Wei Wu
90221f2149
Allow git cp to create destination folder automatically ( #1091 )
...
* Allow `git cp` to create destination folder automatically
* Replace subshell command with builtin operation to infer DESTINATION_DIR
* Remove destination folder existence check and only create it when the path contains slash(s)
2023-10-25 12:03:36 +08:00
罗泽轩
f95e339c03
git-cp: continue to merge when merge.ff is only ( #1070 )
...
Signed-off-by: spacewander <spacewanderlzx@gmail.com>
2023-09-13 13:02:06 +08:00
SchleimKeim
34609bd800
Corrected grammar in bin/git-cp ( #1061 )
...
Corrected grammar in bin/git-cp:41
2023-08-10 15:35:01 +08:00
vanpipy
6e6f59b264
fix(git-cp): keep the history of the files
2022-08-01 09:12:47 +08:00
spacewander
a994411e58
git-cp: remove trailing space
2020-06-22 09:59:59 +08:00
Rémy HUBSCHER
91b3e47243
Simplify the code.
2020-03-20 14:11:17 +01:00
Rémy HUBSCHER
b85fc019ca
Signal if the destination already exists.
2020-03-20 09:43:24 +01:00
Rémy HUBSCHER
2c9b071fde
@spacewander review.
2020-03-20 09:37:43 +01:00
Rémy HUBSCHER
bea25d1ceb
@mschneiderwind review.
2020-03-19 16:11:39 +01:00
Rémy HUBSCHER
629fc03581
Add first version of git-cp
2020-03-19 15:49:07 +01:00