0

Hello all I am intermediate in git and want to merge develop into master branch.

When i checkout to master it was good but, when merge with my develop branch i get this error with the following command :

git merge develop 


**error: cannot stat 'empresas/presupuesto/acciones': Permission denied**

And then force the checkout with -f command

git checkout -f develop 

the response was :

**fatal: cannot create directory at 'empresas/presupuesto/acciones': Permission de nied**

can't change to develop now. any kind help?

UPDATE LASTEST LOG:

    Usuario1@MiPC MINGW64 /c/xampp/htdocs/scmsistema (master)
$git rebase --continue
No rebase in progress?

Usuario1@MiPC MINGW64 /c/xampp/htdocs/scmsistema (master)
$ git rebase --abort
No rebase in progress?
Aiden Yeomin Nam
  • 315
  • 5
  • 16

1 Answers1

1

First part of question is found here

for re creating master simply do this on develop branch

git branch -d master
git checkout -b master

if you have uncommited work in master and dont mind losing them use

git checkout -- .

for more info on above command see here

hessam hedieh
  • 780
  • 5
  • 18