Git 初始化版本库

代码库。如果是在本机的工作目录中,那么:

$ git init

$ git init hello

SEOc571qhWe9jxfBFp5naljLj2A0r9Wg15RuXTpEqV0c3MzGZGbm5vJQEwesLe3991335U9KydD6s6dO3Uw5P7o3LhPn2FOgvpEBaD6lOoEEtajzvXr1x8+fFjxiLKnUjVLlDkpW5NsbGyUPQcnQyoIgh9//HGmE0t+XXGG6cdcuHDBMIypp1QnkLAezTYn5MaQLJ8xCiVQSi9dujRVQv05oVBC2RmCBKiiKfSEOTHgzp49m17r15GQfMrkME13un1CxR+Xe1jZ6qjilOoEEtajWq8nbGxsTO6YZ1odff/991O3p/PcOypbwhWujtKPOXPmzJx3k0DCerT0V9bq37ts6JBq6GlDuUDCvDX0tKFcIGHeGnraUK4Gv+9Ikxp62lAukDBvDT1tKBdImLeGnjaUCyTMW0NPG8ql43f0N/RY9fWD5krHOaGhx6qvHzRXIAEkQFJqJQGCVhhIgCApQQIEqUACBEkJEiBI1XFKUh9mjK32/CDo2wQSIEhKkABBKpAAQVKCBAhSgQQIkhIkQJCqs7GxARIgqLOxsVGIQX0YJEAtaShhEoP6MEiAWlLHcRyQAEHDHTNIgFre0u8drfxbyfQ/5v5LhBYQSFj9MfdfIrSAQMLqj7n/EqEF9O0kzH2q6xZcGa0CCSsLroxWdV4UBRK+QXBltEonCXEYkgPh/p063go8PsLh8W54kOR4HyWHlxwf1BFTdRxkDvYxfUh2KNmh9JPjk/Q/xewTI/04jue8Agu4MtDy00oCj8m+39ui3Z9p92fW3WTdTXY0PPzjX0bHXf/4bnByNzj5x+j4J++p4x7v3+P9e2JwTwz+JQb/EoP7oaGOf4fmv0NzKzS3Qmsrsn6NrF8j60FkPYjsB7H9W2z/Fju/xc7D2Pl9eKBHsfOYedacV2ABVwZafnpJkGRfkn1uPKLdTdr9maYw+Ee/+Ec5CSkMvX8ECsNYwghDRsIQQ5TGkEiwlYSHYwnokeS9Oa/AAq4MtPw0lPBakv3Q2WFHvwwxHKUwjGaGkYS7ExL+yf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C2McBIHiUfgpalKaOg8s/MpAi6oZElTU7Qrzj4SBkpBekKTX6GEYUkoRQnVWOIUSOOdhGE6eBmPMdd0wDB3HQQg5jlNzEljelYHmr0kSpJQ+RcJ6nkiI0Ovhvw+YXaOnxyXnnBBCCKlDoo6ERQUStKphEqSUoQi8wSslIXReJWv0qQt0znnh8gYkQLKJEqSUURRR++/Y+j10XnmeN+sC3fM813ULd8M5CVEULfC0c4EErWqkBCmljGMPHRHn8+m+N0BKGUWR53m5jURu+7vYU84FErSqsRIWl9pIeJ4XBEG/3/d9f9kGVPpfmVYFEsZxzoMg+GZ/XIoUTBsCCSsLroxWgYSVBVdGq0DCyoIro1UgYWXBldEqkLCy4MpoVfskvLt5sXPx5rtVn4aGV6bdtU/CuLs/rJSExlemjYGElf3xGl+ZNrbuEt7dvNjpdDqdizdvjsa9AnD3h86oH+6u5NRAglatt4S7P4zG+bubFzsZCRLmBCjdWkt4d/PieKhPAgAJ0DiQsILzUoEErVpLCemxDqsjqFbrLUFZKNwxpz4IO2ZoTSUU9e7mxVUN+ZJ0uTKQlLI9Eu7+0NHjleVxmlwZSLXeEkavJqxwDVQeSNCq9ZagdXBltAokrCy4MloFElYWXBmtAgkrC66MVoGElQVXRqtAwsqCK6NVIGFlwZXRqm8nAY6yY+6/RGgBgYTVH3P/JUILCCSs/pj7LxFaQEuXAEGNCCRAkJQgAYJUIAGCpAQJEKQCCRAkJUiAIBVIgCApQQIEqUACBEkJEiBIBRIgSEqQAEEqkABBUoIECFKBBAiSEiRAkAokQJCUIAGCVP8HB5ezf2QXWFQAAAAASUVORK5CYII=" alt="">

代码提交到本地的版本库中,然后通过本地库推送到服务器上的版本库中。

修改代码并提交,所以这类版本库不需要工作区。当然其创建方式也略微不同与带工作区的版本库。

$ git init --bare

文件。

dpnhpMLTqWEDC0MUfAXK2ZjIDdW1w4eWrhd/sSAob2ZQXMFSdZAVsVj8YGT36xbl8ihHg0NhhPDMatPmQljYnBeGIwtSh+/+KqsUFlXyFWy2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oy3zCLQEiEE7Er6aurKlZHUB5dHUhcvXR6+eOnC8PD5C++fPX/hzLlzQ2fOnn7vTNPnVQ93aUWg5ZhwCUhEwACJCBggEQEDJCJggEQUvQEkougNIBFFbwCJKHoDSKRo0ZsWzS6pvwAOpXKwL4oWvXkz07eYJIZmKVr0hoBBDUoVvfGtUeMuhOMpjONekklqsWQypmnJjGvCWMZ8f0ePHPcfWa+r0g4ghFJFb3wnIDtmT8bSy2blgAr/edC2GZe2UjnGt476OdXmQdeqtAOoVfTGW0LDPuPEuMRds/99ZlLWnPJctbxHA4VAALWK3vgHzKe5MHKXzOwvYOY+BAzNUqjoTVAX0f9yruTRt4vo3/ErL61dP6fOSjuAWkVvfGvUuOYle+rieErlBLZgyWTMf8/AQY7qlXYAit6UkQpIQdEbAwGDFJ1c9MaOgEEKJlwCEhEwQCICBkhEwACJCBggEUVvAIkoegNIRNEbQCKK3gASKVT0xvuwhXO6pN9fIvLMfnRsybMbkE2hojfVA+YXluV0LJZMxuyrXI+9M/kYcilU9KbhgBlTwhwTNV1b8pdjIZlCRW8aDZhtyqV3KrS1DQmDRIoVvfHw3oPZaklZU5SDZkMSMMilTtGbBlswe6psMfIGjJEOSKRO0ZvGAuZt7rzFM2jAIJ1aRW/qDph7QVChKOIFuRQqelPv78Fi6WXvppWE2bekcwjpKHoDSETRG0Aiit4AEjHhEpCIgAESETBAIgIGSETAAIkIGCARAQMkImCARAQMkIiAARIRMEAiAgZIRMAAiQgYIBEBAyQiYIBEBAyQiIABEhEwQCICBkhEwACJCBgg0f8BeFjbbyqbvjoAAAAASUVORK5CYII=" alt="">

名称中加上 .git 后缀:

$ git init –bare hello.git

代码提交到裸版本库中。通用的做法是先克隆裸版本库,在本地库中提交,然后推送到裸版本库中。

方法 1,从现有库克隆出来一个裸版本库:

$ git clone –bare hello hellobare.git

方法 2,把已有库推送到裸版本库:

$ git push –all hellobare2.git

相关文章

进入要推送的项目文件位置 码云上新建一个项目 在要推送的文件夹执行git bash 使用 git init 命令,初始...
在执行git pull的时候,提示当前branch没有跟踪信息: 解决方案一 指定远程master git pull origin mas...
Git 命令行操作 1 本地库初始化 git init:初始化本地仓库 效果 注意:.git目录中存放的是本地库相关的...
一、Git 基础 1、Git 介绍 Git 是目前世界上最先进的分布式版本控制系统。 版本控制系统: 设计师在设计...
Git 工作流 概念 在项目开发过程中使用 Git 的方式 分类 集中式工作流 像 SVN 一样,集中式工作流以中央...
在 Eclipse 中使用 Git Eclipse 中默认自带了 Git 插件,通过点击 Help→About Eclipse IDE 可以查看 1...