git客户端配置
来源:互联网 发布:中国移动流量充值端口 编辑:程序博客网 时间:2024/06/04 18:15
Last login: Mon Jun 25 08:50:04 on ttys000
ApplematoMacBook-Pro:~ Apple$ cd ~/.ssh
ApplematoMacBook-Pro:.ssh Apple$ ls
id_rsa id_rsa.pubknown_hosts
ApplematoMacBook-Pro:.ssh Apple$ cp id_rsa.pub /tmp/yourname.pub
ApplematoMacBook-Pro:.ssh Apple$ ls -a
. .DS_Store id_rsa.pub
.. id_rsa known_hosts
ApplematoMacBook-Pro:.ssh Apple$ ls /temp/ -a
ls: -a: No such file or directory
ls: /temp/: No such file or directory
ApplematoMacBook-Pro:.ssh Apple$ ls /tmp/ -a
ls: -a: No such file or directory
/tmp/:
BTServer_stderr.log launch-cMb6bAlaunchd-1162.0SDRwr
BTServer_stdout.log launch-nfmlorlaunchd-125.D9aHtW
launch-5pjs9U launch-nkOD3Vlaunchd-873.S0BcGO
launch-6ijR0S launch-tlHeK4launchd-926.Cs73pQ
launch-FZ8rkG launch-y6uVHcyourname.pub
ApplematoMacBook-Pro:.ssh Apple$ git config --global
usage: git config [options]
Config file location
--global use global config file
--system use system config file
--local use repository config file
-f, --file <file> use given config file
Action
--get get value: name [value-regex]
--get-all get all values: key [value-regex]
--get-regexp get values for regexp: name-regex [value-regex]
--replace-all replace all matching variables: name value [value_regex]
--add adds a new variable: name value
--unset removes a variable: name [value-regex]
--unset-all removes all matches: name [value-regex]
--rename-section rename section: old-name new-name
--remove-section remove a section: name
-l, --list list all
-e, --edit opens an editor
--get-color <slot> find the color configured: [default]
--get-colorbool <slot>
find the color setting: [stdout-is-tty]
Type
--bool value is "true" or "false"
--int value is decimal number
--bool-or-int value is --bool or --int
--path value is a path (file or directory name)
Other
-z, --null terminate values with NUL byte
ApplematoMacBook-Pro:.ssh Apple$ git config --global user.apple
ApplematoMacBook-Pro:.ssh Apple$ git config --global user.name lijian
ApplematoMacBook-Pro:.ssh Apple$ git config --global -l
user.name=lijian
ApplematoMacBook-Pro:.ssh Apple$ git config --global user.email "lijian@entel.com.cn"
ApplematoMacBook-Pro:.ssh Apple$ git config -l
user.name=lijian
user.email=lijian@entel.com.cn
ApplematoMacBook-Pro:.ssh Apple$ ssh git@localhost
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 5d:a1:d7:5c:1b:b5:3d:bb:8e:7c:28:fa:82:e6:90:c9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
Last login: Mon Jun 25 13:45:13 2012
ApplematoMacBook-Pro:~ git$ git clone git@localhost:repositories/gitosis-admin.git
Cloning into gitosis-admin...
The authenticity of host 'localhost (::1)' can't be established.
RSA key fingerprint is 5d:a1:d7:5c:1b:b5:3d:bb:8e:7c:28:fa:82:e6:90:c9.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
Password:
remote: Counting objects: 5, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 5 (delta 1), reused 5 (delta 1)
Receiving objects: 100% (5/5), done.
Resolving deltas: 100% (1/1), done.
ApplematoMacBook-Pro:~ git$ cd gitosis
gitosis/ gitosis-admin/
ApplematoMacBook-Pro:~ git$ cd gitosis
ApplematoMacBook-Pro:gitosis git$ cd gitosis-admin/
-bash: cd: gitosis-admin/: No such file or directory
ApplematoMacBook-Pro:gitosis git$ ls
COPYING example.conf
MANIFEST.in gitosis
README.rst gitosis.egg-info
TODO.rst gitweb.conf
build lighttpd-gitweb.conf
debian mirror.conf
dist projects.list
etc-event.d-local-git-daemon setup.py
ApplematoMacBook-Pro:gitosis git$ cd ..
ApplematoMacBook-Pro:~ git$ ls
Desktop LibraryPictures gitosis-admin
Documents MoviesPublic repositories
Downloads Musicgitosis
ApplematoMacBook-Pro:~ git$ pwd
/Users/git
ApplematoMacBook-Pro:~ git$ cd ~
ApplematoMacBook-Pro:~ git$ ls
Desktop LibraryPictures gitosis-admin
Documents MoviesPublic repositories
Downloads Musicgitosis
ApplematoMacBook-Pro:~ git$ cd gitosis-admin
ApplematoMacBook-Pro:gitosis-admin git$ ls
gitosis.conf keydir
ApplematoMacBook-Pro:gitosis-admin git$
- git客户端配置
- Git客户端配置流程
- Mac上面配置Git客户端
- 配置git服务器和客户端
- Git客户端的常用配置
- Git专题--Git客户端配置及使用
- Git常用命令和场景(五)--客户端配置
- git 服务器及 客户端的安装配置
- 一个客户端配置多个Git账户
- Linux RedHat git install---github客户端配置
- Win7 配置 Git 客户端 图文详解
- git服务器搭建与客户端配置说明
- WinXP下面安装配置客户端git
- ubuntu服务器 Git server配置 windows客户端
- Windows下配置Git服务器和客户端
- Windows下配置Git服务器和客户端
- CentOS6.5配置git + gitolite服务器and Windows客户端配置
- GIT客户端
- ORACLE- join,inner join 与 left join, left outer join
- MySql 二进制相关(Blob)
- 国际标准智商测试题 (转载)
- GBin1在线实例帮助你更好的了解jQuery功能特性(三)
- linux操作
- git客户端配置
- UIImage扩展方法(category),支持放大和旋转
- 解决Fedora 15 下rar文件解压问题
- CSDN获取上传资源的地址
- 最新的wordpress3.4都有什么新特性
- There are currently no logon servers available to service the logon
- Linux操作系统下取得UUID的方法
- node "Can't set headers after they are sent"
- 获取非局域网的ip地址