-
Notifications
You must be signed in to change notification settings - Fork 0
/
update_git_from_svn.sh
43 lines (21 loc) · 1017 Bytes
/
update_git_from_svn.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
echo reading paramethers begin...
source create_git_from_svn_params.sh
echo reading paramethers end.
cd $GIT_FROM_SVN_PARAMS_LOCAL_PROJECT_FOLDER_NAME
echo ===============================================================================
git svn rebase
echo ===============================================================================
git svn create-ignore
echo ===============================================================================
git add --all
echo ===============================================================================
git commit -am "Added .gitignore from SVN ignore"
git svn dcommit
echo ===============================================================================
git push --set-upstream origin --all
git push --set-upstream origin --tags
echo ===============================================================================
echo svn externals in repo:
git svn show-externals
echo ===============================================================================
cd ..