By default, the ‘git push’ command will not transfer tags to remote servers. To do so, you have to explicitly add a –tags
to the ‘git push’ command.
[master]$ git push --tags
Counting objects: 50, done.
Compressing objects: 100% (38/38), done.
Writing objects: 100% (44/44), 4.56 KiB, done.
Total 44 (delta 18), reused 8 (delta 1)
To git@github.com:schacon/simplegit.git
* [new tag] v0.1 -> v0.1
* [new tag] v1.2 -> v1.2
* [new tag] v1.4 -> v1.4
* [new tag] v1.4-lw -> v1.4-lw
* [new tag] v1.5 -> v1.5
And now when someone else clones or pulls from your repository, they will get all your tags as well.
More info:
Git cheat sheets
Git Tagging
分享到:
相关推荐
git-push-deploy:搭建一个你能够git push部署的远程repo
Git_和repo扫盲
Repo is not meant to replace Git, only to make it easier to work with Git in the context of Android. The repo command is an executable Python script that you can put anywhere in your path. )
Git push 常见用法,git里面help 可以帮助我们查看。这个文档只是补充。。
git-fatal the remote end hung up unexpectedly 解决方法
解决fatal:remote error:You can’t push to git://github.com/username/*.git问题的办法 今天Git push的时候 fatal:remote error: You can't push to git://github.com/username/*.git Use git@github....
当你辛辛苦苦地在Linux下架设好SSH服务器,给... 这时你在客户端的Linux机器下登陆,可是可是,这时候爆出这段话remote:error:refuse ..... remote:error:blablabla remote:error:blablabla remote:error:blablabla
[圖形化介面][Git_GUI]_GitKraken#04._建立Repo與增加Commit
git+repo+gerrit代码评审服务器搭建流程详细步骤,一步步教你搭建完整的代码评审服务器,本人亲自搭建流程记录,验证通过
Gitpush node.js 脚本 git push aremote abranch 吗和gitpush(假设源主) 或者gitpush abranch(假设源远程) 或者gitpush 分支远程 安装 git 克隆cd gitpush npm 链接
course-git-blog-project, Git课程的博客示例 repo 带Git的版本控制这是 repo的版本的udacity控件的。 学生学习版本控制时,学习基本知识的基础知识。这个 repo 包含一个博客项目的源代码,它将在整个课程中。目录...
reop库转换成git库的代码,将文件解压到repo目录,通过repo togit命令新建/更新git
git push -f remote-deploy-repo localBranch:remoteBranch 安装 npm install -g 这将在您的$ PATH中放入一个名为deploy-by-push的二进制文件。 调用时,它需要在git repo的根目录中有一个名为deploy.conf的文件。 ...
远程git标签从远程Git存储库获取标签安装 $ npm install remote-git-tags必须在您的安装git二进制文件。用法 const remoteGitTags = require ( 'remote-git-tags' ) ;( async ( ) => {console . log ( await ...
彻底解决Mac端git clone/push速度太慢的问题,详情请参阅文档。
将git-repo.git目录下的repo拷贝到 /usr/bin: cd git-repo.git sudo cp repo /usr/bin/repo_gitadmin 修改 repo vi /usr/bin/repo_gitadmin 修改 REPO_URL = 'https://gerrit.googlesource.com/git-repo' REPO_REV...
git + repo 管理 需要时能用到
文档主要介绍git gerrit repo的基本功能,及搭建流程和代码评审流程
如何用git将本地项目push到GitHub上?如何用git将本地项目push到GitHub上?
git push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push rejectedgit push ...