Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

Git tag

# Add tags
git tag tagName

# Push tags
git push --follow-tags

# Delete locally
git tag -d tagName

# Delete remote tag:
git tag -d tagName
git push origin :tagName
Comment

git tag

#To Create a tag on your current branch:
git tag <tagname>
#To include a description with your tag, add -a to create an annotated tag:
git tag <tagname> -a
#To push tags:
git push origin --tags
#To push a signle tag:
git push origin <tag>
Comment

git tag

$ git tag -a <tagname> -m <msg>

$ git tag -d <tagname>
Comment

git tag documentation

git tag [-a | -s | -u <keyid>] [-f] [-m <msg> | -F <file>] [-e]
	<tagname> [<commit> | <object>]
git tag -d <tagname>…​
git tag [-n[<num>]] -l [--contains <commit>] [--no-contains <commit>]
	[--points-at <object>] [--column[=<options>] | --no-column]
	[--create-reflog] [--sort=<key>] [--format=<format>]
	[--merged <commit>] [--no-merged <commit>] [<pattern>…​]
git tag -v [--format=<format>] <tagname>…​
Comment

git tag

#list tags
$ git tag
v1.0
v2.0
Comment

PREVIOUS NEXT
Code Example
Shell :: bash script cheat sheet 
Shell :: develop - FETCH_HEAD instead of origin develop 
Shell :: change commit message after push 
Shell :: git cherry pick parts of a commit 
Shell :: docker run multiple commands in dockerfile 
Shell :: unzip a file terminal 
Shell :: bash multiline string variable 
Shell :: folder open in command line 
Shell :: copy a file from home directory to other directory in linux 
Shell :: git hub 
Shell :: ubuntu enable network manager 
Shell :: open cmd here shortcut 
Shell :: mirror repository github 
Shell :: open rdp port windows 10 using command line 
Shell :: add environment variable linux 
Shell :: check my current branch git 
Shell :: git pull in forked repo 
Shell :: what is the use of cat command in linux 
Shell :: shell search history 
Shell :: reset password postgres ubuntu 
Shell :: how to install node_module 
Shell :: Not Found The requested URL was not found on this server. Apache/2.4.46 (Win64) OpenSSL/1.1.1j PHP/7.3.27 Server at localhost Port 8 
Shell :: colcon reset build 
Shell :: mac Os dark icons for ubuntu 20.04 
Shell :: pom xml dependency cannot resolve 
Shell :: libSSH Exploit 
Shell :: git debug 
Shell :: symfony5 bundle shema 
Shell :: ERROR: for build_env Cannot create container for service build_env: create .: volume name is too short, names should be at least two alphanumeric characters 
Shell :: sftp with private key cli 
ADD CONTENT
Topic
Content
Source link
Name
7+2 =