Git Study

SoucreTree 이용중 merge 안되는 에러

85chong 2022. 4. 28. 12:54
728x90
반응형
SMALL

* 상황 : 
- Branch Name -> "test_branch" 를 merge 시키는 과정에서 발생한 에러

 

 

* 작업 환경 : 
- git Tool : sourcetree 3.4.8
- git url : 'https://gitlab.myGItLab.net'
- git version : git version 2.35.1.windows.2
- os : Windows 10 Pro
- git local path : D:\android_myfolder\gitLab_LOCAL\MyApp


* 에러 문구 : 
git flow hotfix finish -f C:\Users\개인사용자\AppData\Local\Temp\fkpx5mhs.xvp test_branch
bash: /dev/tty: No such device or address
error: failed to execute prompt script (exit code 1)
fatal: could not read Username for 'https://gitlab.myGItLab.net' : No such file or directory

Fatal: Could not fetch test_branch from origin.
오류가 나면서 완료됨. 


* 해결 방법 : 
(.git 파일이 숨김 처리 되어있을수 있으니 확인후 경로로 이동)

1. D:\android_myfolder\gitLab_LOCAL\MyApp\.git 안에 config 파일을 메모장으로 연다.
2. 현재 원격의 상태를 나타내는 리스트가 나오는데 , 맨 밑에 하단에 아래의 문구를 추가한다.
[credential]
helper = wincred
3. sourcetree 재시작한다.
4. 안되던 merge 재시도 해서 해결함

 

 

참고 : https://tiveloper.tistory.com/entry/Git-bash-devtty-No-such-a-device-or-address

- 끝 -





 

 

[Git] bash: /dev/tty: No such a device or address

윈도우 환경에서 Git Portable + Git Extension사용시, bash: /dev/tty: No such a device or address 위와 같이, 에러 메세지가 뜨면서 작동을 안한다. Git Extension화면은 위와 같이 나온다. 이때 해결 방법 G..

tiveloper.tistory.com