git和github
发布日期:2021-05-15 00:41:00 浏览次数:12 分类:精选文章

本文共 2511 字,大约阅读时间需要 8 分钟。

git���github

Git������

Git������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������SVN������������������Git���������������������������������������������������������������������������������������������������������

Git���Github���������

Git������������������������������GitHub������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

git���������������github������������

���GitHub������������������������������������������������������������������������������ 1. ������������������`git init` 2. ���������������`git add .` ��������������������� 3. ���������������`git commit -m ' commit ������ '` 4. ���������������������`git remote add origin git@github.com:username/repository.git` 5. ���������������`git push -u origin master:master` ��� `git push origin master:master`

������������������

���������Git��������������������������������������������������������������������������� - ���������������������`git branch` - ���������������������������`git branch -r` - ������������������`git branch new_branch` - ���������������`git checkout branch_name` - ������������������������`git checkout -b branch_name` - ������������������������`git push origin branch_name` - ���������������������`git branch -d branch_name` - ���������������������`git push origin :branch_name`

���������������

������������������������������������������������������������������������������������������������������������������������������������������������������������Git������������������`master`���������������������������������������������������

������������

���Git������������������������������������������������������������������ 1. ������������������ 2. ��������������������������������������������������� 3. ������������ 4. ������������������

������������

������������������������GitHub��������� `git clone https://github.com/username/repository.git`

���������

Git���������������������������������������������������`v1.0.0`������������ ���������������������`git tag` ���������������`git tag -a v1.0.0` ���������������`git push origin v1.0.0`

������������

- ���������������������`git tag -d v1.0.0` - ���������������������`git tag v1.0.0` ��� `git push origin v1.0.0`
上一篇:Es6
下一篇:C认证任务C1-02

发表评论

最新留言

路过,博主的博客真漂亮。。
[***.116.15.85]2025年04月07日 11时41分14秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章