Git system
2016-03-21 13:39:03 4 举报
Git是一种分布式版本控制系统,它允许开发者在本地和远程存储库之间进行协作。Git的核心思想是“快照”,它会保存文件的每个版本,以便在需要时可以回滚到任何一个版本。Git还支持分支和合并,这使得多人同时开发同一个项目变得更加容易。 Git的优点包括: - 快速高效地处理从小型到大型项目版本管理。 - 具有廉价的本地分支模型,可以快速创建、切换和删除分支。 - 支持非线性开发流程,允许开发者在不同的分支上独立工作。 - 能够记录项目完整的变更历史,方便追踪和回溯。 总之,Git是一个强大而灵活的工具,它为软件开发者提供了一种高效、可靠的方法来管理代码。
作者其他创作
大纲/内容
push all tags to remote
git show tag_name
push a tag to remote
HEAD
1
Github web workflow
12
push
8
master
foldersfiles
dev
git stash pop
9
history version
5
update the branchedit+add+commit
git remote add origin git@github.com:user/Repo.git
delete files
tag with comments
check all tags
git --help command_name
7
labels manage
git push origin tag_name
delete branch
git add
20
git status
git push origin :refs/tags/tag_name
remote master
Attribute
git tag -a tag_name -m \"comments\"
git tag tag_name id
working directory
comparison difference
delete local tags
create tags
git tag tag_name
branch manage
15
git checkout --filename
2
pull request
git checkout -b dev
17
13
my repo
git log/reflog
git stash
git reset --hard HEAD^/id
git tag
Github others' repository
16
local Repo
check status
fork
delete tags in remote
clone
start
3
10
public key
necessary
git pullgit fetch
helps
git diff filename
6
19
git rm filename
4
git init
stage
switch branch
ssh-keygen -t rsa -C \"username@email.com\"
tag on history id
merge
git tag -d tag_name
git push origin --tags
create a branch
conflict with merge
18
local repo
remote Repo
14
git commit
private key
11
map
check specified tag
0 条评论
下一页