FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
GitPython/init-tests-after-clone.sh at master · og-python-scripts/GitPython · GitHub
og-python-scripts
GitPython
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
GitPython
/
init-tests-after-clone.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
executable file
·
15 lines (13 loc) · 367 Bytes
Breadcrumbs
GitPython
/
init-tests-after-clone.sh
Copy path
File metadata and controls
executable file
·
15 lines (13 loc) · 367 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!
/bin/bash -e
if
[[
-z
"
$TRAVIS
"
]]
;
then
read
-p
"
This operation will destroy locally modified files. Continue ? [N/y]:
"
answer
if
[[
!
$answer
=~
[yY] ]]
;
then
exit
2
fi
fi
git tag __testing_point__
git checkout master
||
git checkout -b master
git reset --hard HEAD~1
git reset --hard HEAD~1
git reset --hard HEAD~1
git reset --hard __testing_point__
Back
|
FazBrowse Home
|
New Git URL