跳转到主要内容
你行网

Main navigation

  • 首页
  • 文章
  • 教程
  • 视频
  • 下载
  • 社区
  • 网站导航
User account menu
  • 登录

面包屑

  1. 首页

git 命令学习记录

由 hrs, 10 十月, 2020

git init   初始化git 

git push -u origin master   上传本地文件到github 上

git remote add origin + 路径   设置git 关联到github   

示例:git remote add origin https://github.com/hrs445100058/gitaa.git

git remote rm origin    删除git 关联

git commit -m 'first_commit'    本地更改生效

git add + file name    增加单个本地文件

git add .    默认增加单个本地文件

git add *    增加所有本地修改文件

git satatus    查看git 状态

git log   查看提交历史

git config --global user.name "huang ri sheng"        设置git 项目名称      

config --global user.email "hrs445100058@163.com"    设置git 项目邮箱

git config user.name                查看git 项目名称 
   
git config user.email                查看git 项目邮箱

标签

  • git
  • 登录或注册以发表评论

评论

相关文章

在 Git 中查看是否创建了本地项目的方法
git 命令的用法
git 常用命令

文章标签

CSS
Excel
ubuntu
php
五笔
vim
Linux
HTML
command
VPN
drupal 7
centos
composer
Mysql
drupal 8
模块(module)
drush
JavaSrcipt
apache
drupal 9
英语
Drupal
SEO
nerdtree
network
果树种植
surround
drupal10
主题(theme)
phpmyadmin
ssh
二进制
yum
权限
声音
selinux
ssl
HTML5
用户
Dreamweaver
password
flameshot
颜色
翻译
uploadprogress
DDEV
视图(views)
firewalld
kernel
快捷键
gzip
xdebug
错误
ckeditor
简介
电脑基础
源地址
C语言
mbstring
certbot
php扩展
WireGuard
邮件验证
git
apt
电子秤
httpd
压缩解压
表单
breadcrumb
AI
superfish
摄影
重定向
diff
网站备份
短信验证
tagclouds
java
docker
csharp
adsense
drupal9
电脑技巧
RSS
simple_adsense
版本号
算法
端口
youtube
JavaScript
cookie
badblocks
VUE
网站运营
计算机基础
RFID
gimp
nginx
form
mod_expires 模块
zip
http验证
dns
curl
赚钱
标签优化
drupal11
ip
重定向,301
netstat
maven
input
drupal 11
字段
npm
哈希值
wps
更多
RSS源
本站由阿里云强力驱动,幸运券优惠链接
Copyright © 2019 - 2021 你行网 版权所有  粤ICP备19072650号