1) 在D:\temp\git\repository目录下创建一个mytest.txt文件 2) 选择文件, 右键 此时文件变为带 '+' 号的图标 3) 提交文件: 在带有+号的文件上, 右键选择提交, 将其保存到版本库中 2.2.2 工作区 和 暂存区 什么是工作区(Working Directory)? 工作区就是你在电脑里能看到的目录,比如我的reporstory文件...
工作区(Working Directory),就是我们电脑上的目录 版本库(Repository),就是我们目录里的.git Git的版本库里存了很多东西,其中最重要的就是称为stage(或者叫index)的暂存区,还有Git为我们自动创建的第一个分支master,以及指向master的一个指针叫HEAD。 我们添加文件分成两步 第一步是用git add把文件添加进去,实际上...
(1)登陆GitHub创建仓库 登陆GitHub ->右上角头像处选择“Your repositories”-> New -> 在“Repository name”下面输入名称,如gitRepo -> 点击“Create repository”提交。 (2)把本地仓库关联到GitHub仓库 git remote add origin git@github.com:jlccn/gitRepo.git 备注:jlccn是本人的GitHub账户名;gitRepo是上...
就是一堆文件夹组成;从图中的布局可以看出,"Directory" = "Workspace" + ".git",所以在本地仓库中,除开.git文件夹,其余都属于 "Workspace" 的天下;看 ".git" 又由两部分组成,一部分是 "Index/Stage",另一部分是HEAD指向的本地 "Repository";所以我们可以暂时理解为 "Directory" = "Workspace" + "Index...
第一步:下载(https://git-for-windows.github.io/),下载好如下图 image 第二步:安装过程,此处省略,要想安装可以点击下面链接 【Git的安装步骤博文http://www.cnblogs.com/wj-1314/p/7993819.html】 第三步:配置 Git跟踪谁修改了项目,哪怕参与项目开发的只有一个人。为此,Git需要知道你的用户名和电子邮件...
Git CMD(command line prompt) is the command-line interpreter on Windows operating systems. Sort of an equivalent to the terminal in Linux. GitHub: a web-based Git or version control repository and internet hosting service. It offers all the distributed version control and source code management ...
我们先进去官网,然后我们点击 +New repository(新建一个仓库) 然后就开始填写相关的信息了 创建完成之后是这个样子的 其实我们要用到的还不是只有一个链接:https://github.com/LiuGuiLinAndroid/Android-Developer-Book.git 我们在本地创建一个文件夹,然后右击Git Clone ...
GIT for Win 1. Download and Installation git for windows 2. Initial Configuration on the Local Repository 1) Create your GIT/GITHUB account, 2) in git bash, run the following commands to login your account git config --global user.name "xxx"...
1. 下载Git for Windows:你可以在Git官方网站(https://git-scm.com/downloads)上下载适用于Windows的Git安装程序。根据你的操作系统版本,选择相应的安装程序进行下载。 2. 运行安装程序:双击下载好的Git安装程序,按照提示进行安装。在安装过程中,可以选择安装Git Bash(一个用于在Windows上运行Git命令的Shell界面)和...
A Git repository mirroring the current 64-bit Git for Windows SDK Activity Custom properties Stars 202stars Watchers 35watching Forks 176forks Report repository Releases1 ci-artifactsLatest Sep 15, 2024 Packages No packages published Contributors7 ...