This repository has been archived by the owner on Aug 9, 2023. It is now read-only.
forked from sakibguy/android-kotlin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sakib-ci.sh
109 lines (77 loc) · 2.08 KB
/
sakib-ci.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
#!/usr/bin/env bash
##################################################
### Script : ci.sh (14-10-2017) ###
### CI : Continious Integration ###
### Target : Tool dev ###
### Automated Continious Integration ###
### among local & remote repo ###
##################################################
###############################
### Setting up a repository ###
###############################
############
# Step: 01 #
############
echo
echo [ Done ] Initializing who am I.
git config --global user.email "[email protected]"
git config --global user.name "sakib-rahman-bangladesh"
############
# Step: 02 #
############
echo [ Done ] Initializing a new Git repo for this project.
echo
git init
############
# Step: 03 #
############
echo
echo [ Done ] Saving changes to the repository.
git add .
############
# Step: 04 #
############
echo [ Done ] Committing...
echo
#############################
## follow up simple commit ##
#############################
## Rename pre_filename.md to new_filename.md
## Create file.ext
## Update file.ext
## Delete file.ext
## Release v1.5.0
## Solved issues
## Default: Commit skipped|forgotten
## new-iop-apps: [ok] classify 10k images
git commit -m "obstacle 2: CASINOHUNTERSLOT"
############
# Step: 05 #
############
# List your existing remotes in order to get the name of the remote you want to change.
echo
echo [ Done ] checking remote origin.
echo
git remote -v
############
# Step: 06 #
############
# Change your remote's URL from SSH to HTTPS with the git remote set-url command.
echo
echo [ Done ] Updating remote URL.
git remote set-url origin https://github.com/sakib-rahman-bangladesh/kotlin2d-games.git
############
# Step: 07 #
############
# Verify that the remote URL has changed.
echo [ Done ] Verifying remote URL.
echo
git remote -v
############
# Step: 08 #
############
echo
echo 08. Pushing local codebase to remote repo...Repo-to-repo collaboration: git push
echo
git push origin master
git push --all -f https://github.com/sakib-rahman-bangladesh/kotlin2d-games.git