删除旧的和在Android Studio中添加新的git [英] Remove old and add new git in android studio

查看:1574
本文介绍了删除旧的和在Android Studio中添加新的git的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我曾尝试与配置的Andr​​oid的git工作室搞砸了。

I have tried to configure android studio with git and messed up.

如何彻底去除老蠢货,我可以创建新的吗?

How to completely remove old git that I could create new one?

推荐答案

为了放弃目前的Git仓库一创建一个新的,你需要:

In order to drop the current git repository a create a new one you need to:


  • 进入项目的目录: CD PROJECT_DIRECTORY

删除所有git的特定文件:室射频$(找到-namegit的*)

Remove all the git specific files: rm -rf $(find . -name ".git*")

初始化新的Git仓库:的git的init

Initialize a new git repository: git init

这不会删除你的项目的文件,只混帐CONFIGS

This doesn't remove your project's files, only git configs

这篇关于删除旧的和在Android Studio中添加新的git的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆