Android(安卓)Studio Git 修改用户名、密码、URL
16lz
2021-01-26
修改用户名、密码:
在AndroidStudio的terminal
git config --global user.name "wdf"git config --global user.email “……”git config --list获取所有信息
修改URL:
找到项目路径下的.git目录下的config文件
打开直接修改下面地址即可。
其他常用操作命令
Git相关命令介绍之建立仓库Git global setup:git config --global user.name "wang"git config --global user.email "写自己的邮箱"Create a new repository:mkdir testcd testgit inittouch README.mdgit add README.mdgit commit -m "first commit"git remote add origin 地址(比如:http://android.git)git push -u origin masterPush an existing Git repository:cd existing_git_repogit remote add origin 地址(比如:http://android.git)git push -u origin masterClone an existing Git repository:git clone 地址(比如:http://android.git)
gitblit相关介绍
http://download.csdn.net/download/danfengw/9686380
更多相关文章
- Android设置锁屏/休眠时长
- Android中使用adb命令获取当前打开app的包名
- Android(安卓)O中修改NotificationChannel 属性,升级app后该修改
- android bluetooth蓝牙移植
- Android(安卓)Studio同一工程生成不同的app名,包名,图标分别设置
- android 5 设置图案锁,锁屏界面进入相机拍照、查看锁定的照片后,退
- Android调用第三方百度APP进行导航
- android 调用系统命令实现关机
- Recovery模式的命令行参数