Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
45f92f73
Commit
45f92f73
authored
Nov 10, 2016
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A perhaps too-baroque way to clean files but also keep some.
parent
496aaa54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
.gitignore
+4
-0
Makefile
+9
-0
No files found.
.gitignore
View file @
45f92f73
...
...
@@ -3,9 +3,13 @@
### Files private to developers
# Files that should be git-ignored, but are hand-edited or otherwise valued,
# and so should not be destroyed by "make clean".
# start-noclean
requirements/private.txt
lms/envs/private.py
cms/envs/private.py
# end-noclean
### Python artifacts
*.pyc
...
...
Makefile
0 → 100644
View file @
45f92f73
# Do things in edx-platform
clean
:
# Remove all the git-ignored stuff, but save and restore things marked
# by start-noclean/end-noclean.
sed
-n
-e
'/start-noclean/,/end-noclean/p'
< .gitignore
>
/tmp/private-files
tar
cf /tmp/private.tar
`
git ls-files
--exclude-from
=
/tmp/private-files
--ignored
--others
`
git clean
-fdX
tar
xf /tmp/private.tar
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment