修改用户名、密码:
在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

更多相关文章

  1. Android设置锁屏/休眠时长
  2. Android中使用adb命令获取当前打开app的包名
  3. Android(安卓)O中修改NotificationChannel 属性,升级app后该修改
  4. android bluetooth蓝牙移植
  5. Android(安卓)Studio同一工程生成不同的app名,包名,图标分别设置
  6. android 5 设置图案锁,锁屏界面进入相机拍照、查看锁定的照片后,退
  7. Android调用第三方百度APP进行导航
  8. android 调用系统命令实现关机
  9. Recovery模式的命令行参数

随机推荐

  1. Android的性能优化方法
  2. Android(安卓)进程保活,Service进程常驻
  3. Android数据库操作--greenDAO的入门使用
  4. Android(安卓)如何在关于手机界面添加个
  5. 不需要任何权限获得Android设备的唯一ID
  6. Android教学大纲(知识体系结构)
  7. Android四大组件之Service调优及进程保活
  8. Android开发者应该深入学习的10个开源应
  9. Android开发之接收系统广播消息
  10. Android上的resample处理