Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

how to clone a specific git tag

git clone --depth 1 --branch <tag_name> <repo_url>
Comment

git clone tag

Use the command:

git clone --help
to see whether your git supports the command

git clone --branch tag_name
If not, just do the following:

git clone repo_url 
cd repo
git checkout tag_name
Comment

PREVIOUS NEXT
Code Example
Shell :: wordpress clear cache command line 
Shell :: base64 encode linux 
Shell :: what is pipe line command in linux? 
Shell :: bash how to quotes work 
Shell :: QSslSocket: cannot resolve CRYPTO_set_id_callback QSslSocket: cannot resolve CRYPTO_set_locking_callback QSslSocket: cannot resolve sk_free QSslSocket 
Shell :: how to check is heroku git remote is added 
Shell :: install specific version of docker on ubuntu 
Shell :: how to run jar file mac 
Shell :: install spotify-web-api-js 
Shell :: angular bootstrap install 
Shell :: git update gitignore remove files 
Shell :: wsl zsh get ip 
Shell :: code to change the mac address kali linux 
Shell :: git archive 
Shell :: linux whereis command 
Shell :: linux extract tar.gz 
Shell :: delete a file from repo history 
Shell :: uniq linux 
Shell :: How to count number of files in each directory 
Shell :: macos make file executable 
Shell :: Run C# script on linux terminal 
Shell :: open port 8080 fedora 
Shell :: ubuntu no internet connection 
Shell :: how to add images to git readme 
Shell :: shell script iterate over characters in string 
Shell :: arch linxu 
Shell :: make nextcloud scan for files 
Shell :: remove mongo lock file from centos 7 
Shell :: shell comments 
Shell :: pipenv install virtual at same path 
ADD CONTENT
Topic
Content
Source link
Name
5+4 =