1.安装git
sudo apt-get update sudo apt-get install git
2.配置git
必配置项:
git config --global user.name "YourName" git config --global user.email "YourEmail@abc.com"
可选项:
git config --global https.proxy https://user:password@address:port git config --global color.ui true git config --global alias.co checkout git config --global alias.ci commit git config --global alias.br branch git config --global alias.last 'log -1' git config --global alias.unstage 'reset HEAD' git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
查看配置项:
git config --list user.name=YourName user.email=YourEmail@abc.com
3.配置github ssh key
4.配置gitignore
5.git tips
25 Tips for Intermediate Git Users
6.git book
相关推荐
从 webhook git pull && ./deploy.sh简单方法打开 app.py 看看事情是如何运作的! 安装 这需要 mongodb、python 和 pip,目前已在 ubuntu 上使用 # clone this repo # maybe create a virtualenv pip install -r ...
@ jlegrone / git-config安装 $ npm install --global @jlegrone/git-config卸载 $ npm uninstall --global @jlegrone/git-config非NPM安装 $ git clone https://github.com/jlegrone/git-config.git$ cd git-config...
安装使用安装: $ npm install --save parse-git-config用法const parse = require ( 'parse-git-config' ) ;// syncconsole . log ( parse . sync ( ) ) ;// using async/await( async ( ) => console . log ( ...
前端样板 ES20XX入门程序,... git clone --depth 1 https://github.com/dmnsgn/frontend-boilerplate.git && cd frontend-boilerplate && rd /s /q .git && git init依存关系npm install组态打开config/config.js :
npm install -D @picgo/bump-version # or yarn add -D @picgo/bump-version 另外,在package.json的顶层添加以下数据以正确配置bump-version (如果之前已经配置了commitizen或cz-customizable ,请替换旧config ...
MomentumCMS 管理客户端设置和安装npm install -g ember-cli git clone git@github.com:MomentumCMS/momentum_cms-client.git cd momentum_cms-client.git && npm install && bower install - 安装 npm 和 bower ...
Satin&Forge&Youi的模板入门从此模板向上克隆Satin,Forge和Youi文件夹 cd ..... bundle config set path vendor/bundlebundle install最后,使用Bundler安装CocoaPod依赖项: bundle exec pod install
使用gulp / config:browserify:bundleConfigs支持多包 使用Browser-Sync为开发人员提供服务 ###安装 git clone https://github.com/talves/famous-carousel-example cd famous-carousel-example # rm -rf .git...
灵感截屏安装git clone https://github.com/ryck/MMM-Year-Progress.git && cd MMM-Year-Progress && npm install && cd ..设定档config.js的条目可以包含以下选项: 选项描述updateInterval 到达信息多久更新一次。...
e " $( curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install ) " &&brew install yadm &&yadm clone --bootstrap https://github.com/Mellbourn/dotfiles.git &&sudo .config/yadm/...
git@github.com:M3kH/FrontGhostInspector.git && cd FrontGhostInspector && npm install && bower install; 然后,在我选择使用postgres的情况下,您必须设置数据库,因此,如果要继续使用它,则必须创建一个db...
功能强大,灵活且易于使用的样板,可创建现代npm软件包 特征 主要特征 将您的图书馆与捆绑在一起 编写具有最新功能的现代...在repo目录中,运行npm install && rm -r .git && git init 使用您的信息更新package.json
节点博客在NodeJS上用Express编写的CMS软件作者:Coltrane Nadler演示版请点击正在安装git clone https://github.com/ColtraneNadler/Blog.git && cd Blog/ && npm install && node app.js Web服务器将在端口3000上...
构建: cp src/config/config.sample.json src/config/config.json && npm install && npm run build 启动服务器: npm run start 现在,您可以使用自己喜欢的浏览器以用户的身份浏览该服务,位于以作为 (密码:...
用您的名称/电子邮件更改~/.gitconfig并提交更改 您可能还会喜欢一些额外的东西: ack-grep在VIM中用作grep命令。 只需安装ack-grep软件包 更改为ZSH和OhMyZSH: sudo apt-get install zsh和chsh -s /bin/zsh ...
4.3 思考:git config 命令的各参数有何区别/ 63 4.4 思考:是谁完成的提交/ 65 4.5 思考:随意设置提交者姓名,是否太不安全/ 67 4.6 思考:命令别名是干什么的/ 68 4.7 备份本章的工作成果/ 69 第5章 Git 暂存区/ ...
拱点文件 这是我的点文件存储库。 我已尽力确保该脚本在大多数Linux发行版下都可以运行,无论配置如何。 脚本位于/.bin此存储库包含一些我最... -i, --install Install all config files -v, --vim Install config f
apt install git -y git clone https://github.com/htr-tech/termux-login.git cd termux-login chmod +x * sh install.sh exit 或使用单一命令 apt update && apt install git -y && git clone ...
地方发展克隆: git clone git@github.com:aframevr/aframe-site.git && cd aframe-site要安装依赖项并启动本地开发服务器,请执行以下操作: npm install && npm run installdocs && npm start如果要测试与A框架...
yum install -y git # 配置git用户名&邮箱 git config --global user.name "用户名" git config --global user.email "邮箱" # 生成秘钥 ssh-keygen # 把/root/.ssh下面id_rsa.pub里的内容复制到github里 # 进入 /...