Http://service.ap-southeast-1.maxcompute.aliyun-inc.com/api. I don't have large projects or servers, so basically the most useful push and so on won't be used. My program is developed by myself. now I want to mark my version, and I can use git in... linux. preface www.2cto.com git is a version control tool in linux. I don't have large projects or servers, so basically the most useful push and so on won't be used. My program is developed by myself. now I want to mark my version and switch between versions. one person suggested using git-tag, the following describes how to use git: Body 1: create a database # create an empty database and create it in the current directory. git init 2: add www.2cto.com # add all files in a file or directory to the version Library git add. cpp git add. /src/3: submit # submit the current code (to local) # [-a] submit all the code added by git in the current code library (?) # [-M "message"] with the information you submit, you will be notified of this git commit-a-m "message" 4 when switching tags in the future: tag (you must first run "submit") # add a tag # [-a tag-name] add the tag name (for example,-a V1.0) # [-m "message"] add tag information, which is displayed in tag show, instead of displaying www.2cto.com git tag-a tag-name-m "message" # Deleting a tag # [-d tag-name] deleting the tag name (such- d V1.0) git tag-d tag-name # switch to a tag # it seems that branch and tag both use the same switch git checkout tag-name
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.