Edwin Kofler
3ddc315a76
Format comparisons, functions, and redirections to be consistent ( #1201 )
...
* Format comparisons and functions to be consistent
* Add `checkstyle.py` script and add check to CI
* Fix Ruff lints
2025-06-06 11:10:50 +08:00
Edwin Kofler
5c3fb1b062
Improve warning for git clear ( #1168 )
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
2024-09-30 10:07:52 +08:00
Edwin Kofler
35100b4e6f
chore: Improve quoting and builtin usage ( #1015 )
2023-01-04 08:58:31 +08:00
Simon Tate
bc8876b063
git-clear: add force option
...
Add a new -f/--force option to git-clear to allow usage in scripts,
or without user input.
Add -h/--help/? for help
Also update the manual for git-clear for these changes.
2021-09-14 13:45:50 +01:00
Richard Fearn
82d6a7265f
git-{clear,clear-soft,sync}: improve yes/no prompts
...
Don't print trailing newline; prompt for yes/no response on the same line
2016-11-19 16:41:19 +00:00
grindhold
6d49449a4d
fixes #583
...
put default option in security-answer to 'no'
2016-09-23 22:38:27 +02:00
Matiss
61fee79cc7
Add git-clear-soft command
...
Modify git-clear to indicate default behavior of removing git ignored files
2016-05-01 19:05:21 +02:00
Andrew Janke
a09eefde25
Fix missing shebang in git-clear and missing +x on others
2015-12-27 15:02:55 -05:00
grindhold
a66c9446b5
made more precise security-question.
2015-09-01 15:17:14 +02:00
grindhold
dae38840f9
more concise implementation of git-clear
2015-09-01 13:28:29 +02:00
grindhold
ad7811e991
implemented git-clear
...
i wanted a simple command to restore the state of a repo as if it was
freshly cloned with the current HEAD. This is basically git reset --hard
with deletion of all untracked files that are in the repo.
2015-08-26 21:58:22 +02:00