JavaCodeByJava
Monday, 14 February 2022
get parent branch in git
git show-branch -a \
|
grep
'
\*
'
\
|
grep -v
`
git rev-parse --abbrev-ref HEAD
`
\
|
head -n1 \
|
sed
'
s/.*\[\(.*\)\].*/\1/
'
\
|
sed
'
s/[\^~].*//
'
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
links for Data Structure
1) 𝐁𝐞𝐜𝐨𝐦𝐞 𝐌𝐚𝐬𝐭𝐞𝐫 𝐢𝐧 𝐋𝐢𝐧𝐤𝐞𝐝 𝐋𝐢𝐬𝐭: https://lnkd.in/gXQux4zj 2) 𝐀𝐥𝐥 𝐭𝐲𝐩𝐞𝐬 𝐨𝐟 𝐓𝐫𝐞𝐞 𝐓𝐫𝐚𝐯𝐞𝐫𝐬𝐚𝐥𝐬...
How to deploy a war file to remote server on tomcat using shell script
Step1: reach to project directory where pom.xml file exist from terminal Step2: clean mavan using below mvn clean Step3: create a war f...
Kafka Partition
In previous examples, the ProducerRecord objects we created included a topic name, key, and value. Kafka messages are key-value pairs and w...
Kafka Producer
We start producing messages to Kafka by creating a ProducerRecord, which must include the topic we want to send the record to and a value. O...
No comments:
Post a Comment