Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some problems of using Git #1

Open
geosciman opened this issue Mar 17, 2018 · 0 comments
Open

Some problems of using Git #1

geosciman opened this issue Mar 17, 2018 · 0 comments

Comments

@geosciman
Copy link
Contributor

geosciman commented Mar 17, 2018

git tag -a v1.0 -m 'version 1.0'
git push origin v1.0:v1.0    # 通常的git push不会将标签对象提交到git服务器,进行显式的操作
git push origin –tags         # 将本地所有标签一次性提交到git服务器

git checkout -b [branch name]  # 新建切换分支
git push origin [branch name]   # 显式推送远程分支

Travis CI
Build only if .travis.yml is present:是只有在.travis.yml文件中配置的分支改变了才构建
Build pushes:当推送完这个分支后开始构建。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant