-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.bash_history
More file actions
131 lines (130 loc) · 2.49 KB
/
.bash_history
File metadata and controls
131 lines (130 loc) · 2.49 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
l
sls
sudo yum install java-1.8*
ls
sudo su
]ls
echo $JAVA_HOME
exit
echo $JAVA_HOME
sudo wget -O /etc/yum.repos.d/jenkins.repo https://pkg.jenkins.io/redhat-stable/jenkins.repo
sudo rpm --import https://pkg.jenkins.io/redhat-stable/jenkins.io.key
sudo yum install epel-release
sudo amazon-linux-extras install epel
sudo yum install jenkins
sudo su
ls
cd /opt
sudo su
vi /.bash_profile
ls
cd
ls
vi /.bash_profile
vi ./bash_profile
history
sudo su
vi .bash_profile
sudo su
echo $M2_HOME
exit
echo $M2_HOME
mvn --version
sudo su
echo $M2_HOME
sudo su
ls
clear
git init
ls
git config --global user.name "Shivam Dubey"
git config --global user.email "invinshivam@gmail.com"
git branch Jenkins_Tomcat
git branch
git sttaus
git status
ls
git clne https://github.com/jhawithu/hello-world.git
git clone https://github.com/jhawithu/hello-world.git
ls
cd hello-world/
ls
cat pom.xml
ls
cd webapp/
ls
cd src/
ls
cd main/
ls
cd webapp/
ls
vi index.jsp
ls
cd
ls
git status
git add hello-world/
git diff
git commit -m "my-first-commit"
git push
git config --list
git config --global user.name "shivam-dubey-1"
git config --list
git config credential.helper store
git push https://github.com/shivam-dubey-1/Jenkins.git
git push --set-upstream https://github.com/shivam-dubey-1/Jenkins.git master
git push --set-upstream https://github.com/shivam-dubey-1/
git push --set-upstream https://github.com/shivam-dubey-1/ master
git push --set-upstream https://github.com/shivam-dubey-1/Jenkins.git master
git remote add origin https://github.com/shivam-dubey-1/Jenkins.git
git branch
git branch tomcat
git branch
git branch tomcat
git switch tomcat
git push -u origin main
git push -u origin master
git config --global credential.helper cache
git pull -v
git cofif --list
git cofig --list
git config --list
git -global -e
git config --global -e
ls
git status
git remote add origin "https://github.com/shivam-dubey-1/Jenkins.git"
git config --list
git push origin master
sudo git remote set-url origin https://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@github.com/shivam-dubey-1/Jenkins.git
sudo git branch -M main
sudo git push -u origin main
git branch
git switch master
git status
history
sudo git push -u origin master
ls
git rm master
git branch rm master
git branch
ls
git branch master
git ls
git ls-tree
git ls-tree -r
git ls-tree -r master
git tm hello-world/
git rm hello-world/
git branch -d master
git branch -d rm
git switch main
git branch -d master
git branch
git status
git push -u origin main
git push origin --create master
git fetch -p
sudo su'
sudo su