Every git branch is gone (except master) -


i have been trying delete hidden file in directory , accidentally ran command rm -rf .??* delete hidden file more 2 characters. believe deleted file contains connections branches because have master branch.

# terminal $ git branch * master 

the commands ran prior are:

$ rm -rf .ds* $ rm -rf .??* $ git add . $ git add -u 

did delete file of repositories? if so, how retrieve it? if not, why branches used have gone?

edit: should add, on github isn't huge problem, rather understand did , undo if possible.

you deleted .git directory has repository in, , left data had checked out (which happens master).

to retrieve it, restore backup or repo pushed to.


Comments

Popular posts from this blog

database - VFP Grid + SQL server 2008 - grid not showing correctly -

jquery - Set jPicker field to empty value -

.htaccess - htaccess convert request to clean url and add slash at the end of the url -