블로그 이미지
Every unexpected event is a path to learning for you.

카테고리

분류 전체보기 (2737)
Unity3D (817)
Programming (474)
Server (33)
Unreal (4)
Gamebryo (56)
Tip & Tech (228)
협업 (58)
3DS Max (3)
Game (12)
Utility (136)
Etc (96)
Link (32)
Portfolio (19)
Subject (90)
iOS,OSX (53)
Android (14)
Linux (5)
잉여 프로젝트 (2)
게임이야기 (3)
Memories (20)
Interest (38)
Thinking (38)
한글 (30)
PaperCraft (5)
Animation (408)
Wallpaper (2)
재테크 (18)
Exercise (3)
나만의 맛집 (3)
냥이 (10)
육아 (16)
Total
Today
Yesterday
04-23 22:23

회사에서는 Github Enterprise 계정을 사용하고있고 sso를 통해 하나의 계정으로 Github Enterprise 계정을 이용합니다.

 

주기적으로 sso 계정의 비번을 바꿔줘야 하기 때문에 비번을 바꾼 후에는 소스트리에서 origin에 접근 할 때 기존 비번을 사용하여 인증문제가 발생합니다.

 

source tree (소스트리) 2.7.1 기준, Github Enterprise 계정 관리가 바로 안되네요.

 

검색 해보니 구 버전에서는 관리가 가능했던걸로 보입니다. 왜 관리기능을 축소 시켰는지 모르겠군요..

 

비번이 어딘가에서 관리되고있을 듯 하여 여기저기 찾아보다가 키체인이 생각나서 들어가 보았습니다.

 

위와 같이 암호 카테고리에서 source 라고 검색을 하니 Github Enterprise 주소와 함께 계정의 비번 항목이 나타납니다.

 

이 키를 삭제해주고 소스트리에서 pull, push 등을 수행하면 비번을 다시 묻게 됩니다.

 

간단하게 해결~!

 



출처: https://leo81.tistory.com/52 [냥이의 작업실]

 

[Mac] Source tree 에서 Github Enterprise 계정 비번이 바뀐 후 인증문제 해결

회사에서는 Github Enterprise 계정을 사용하고있고 sso를 통해 하나의 계정으로 Github Enterprise 계정을 이용합니다. 주기적으로 sso 계정의 비번을 바꿔줘야 하기 때문에 비번을 바꾼 후에는 소스트리�

leo81.tistory.com

 

[for Win] blueasa.tistory.com/2269

 

[링크][Win] Git. SourceTree. 원격저장소 비번,아이디 저장된것 삭제하기.

[위치] C:\Users\(사용자)\AppData\Local\Atlassian\SourceTree [삭제파일] password, userhosts [링크] https://igotit.tistory.com/entry/Git-SourceTree-%EC%9B%90%EA%B2%A9%EC%A0%80%EC%9E%A5%EC%86%8C-%EB%B9..

blueasa.tistory.com

 

반응형
Posted by blueasa
, |

[위치] C:\Users\(사용자계정)\AppData\Local\Atlassian\SourceTree

 

[삭제해야 할 파일] password, userhosts

 

[링크]

https://igotit.tistory.com/entry/Git-SourceTree-%EC%9B%90%EA%B2%A9%EC%A0%80%EC%9E%A5%EC%86%8C-%EB%B9%84%EB%B2%88-%EC%A0%80%EC%9E%A5%EB%90%9C%EA%B2%83-%EC%82%AD%EC%A0%9C%ED%95%98%EA%B8%B0

 

Git. SourceTree. 원격저장소 비번,아이디 저장된것 삭제하기.

문제상황. SourceTree 에서 원격저장소에 푸시하는 초기 단계에서 아래와 같은 창에서 원격저장소 아이디와 비번 기록하고 붉은 박스의 Remember Password 체크 선택된 상태에서 Login 시도하면 해당 정��

igotit.tistory.com

 

[for Mac] blueasa.tistory.com/2353

 

[펌][Mac] Source tree 에서 Github Enterprise 계정 비번이 바뀐 후 인증문제 해결

회사에서는 Github Enterprise 계정을 사용하고있고 sso를 통해 하나의 계정으로 Github Enterprise 계정을 이용합니다. 주기적으로 sso 계정의 비번을 바꿔줘야 하기 때문에 비번을 바꾼 후에는 소스트리�

blueasa.tistory.com

 

반응형
Posted by blueasa
, |

[요약]

[Win] C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree 폴더의 passwd, userhosts 파일 삭제

[OSX] Home(Shift+Command+H)/Library/Application Support/SourceTree 폴더의 userid@STAuth-xxxxxx 파일 삭제

           Library 안보이면 Home에서 Shift + Command + . (http://macnews.tistory.com/5286)


-----------------------------------------------------------------------------------------------------------------------------------


The only thing that worked for me was navigating to C:\Users\USERNAME\AppData\Local\Atlassian\SourceTree and removing the passwd file.

 

Once this file is removed, restart SourceTree and execute a fetch or something else that requires access to the repo in question. SourceTree will then prompt you for your password, rewriting the cached credentials.

 

I hope this helps. Shoutout to my buddy Nick for the assist.

 

If you're a macOS user, Auke states below that "you can find the password files per repo it in ~/Library/Application Support/SourceTree"




[출처]

https://community.atlassian.com/t5/Sourcetree-questions/How-to-update-HTTP-S-credentials-in-sourcetree/qaq-p/297564


[참조]

https://igotit.tistory.com/entry/Git-SourceTree-%EC%9B%90%EA%B2%A9%EC%A0%80%EC%9E%A5%EC%86%8C-%EB%B9%84%EB%B2%88-%EC%A0%80%EC%9E%A5%EB%90%9C%EA%B2%83-%EC%82%AD%EC%A0%9C%ED%95%98%EA%B8%B0

반응형
Posted by blueasa
, |

어느날 소스트리를 켰는데 실행이 안되는 것이었다.


그래서 아래와 같이 해보았다.

1. 프로그램 추가제거에서 삭제 후 재설치

2. 관리자 권한으로 실행

3. CMD창에서도 실행

4. 폴더삭제 ( C:\Program Files (x86)\Atlassian )



그래도 결론은 실행이 안된다!



그래서 결론은


혹시나 하는 마음에 아래의 경로를 삭제해보니 이후로는 실행이 된다.



C:\Users\name\AppData\Local\Atlassian\SourceTree.exe_Url_xx..xx




다만 단점이라면 소스트리의 초기 설정값들과 Local 저장소데이터가 다 날아간다는점이 있을 수 있겠다.



출처: http://soulduse.tistory.com/37 [프로그래밍좀비]

반응형

'협업 > Git' 카테고리의 다른 글

[펌] Git: Zombie tags from hell  (0) 2018.02.21
[펌] Synology As A Git LFS Server  (0) 2017.11.14
[링크] Pro Git[ebook]  (0) 2017.07.29
[Bug] SourceTree for Mac  (0) 2017.06.29
[Util] GitKraken  (0) 2017.06.29
Posted by blueasa
, |

SourceTree가 Windows에서 너무 느려서 찾아 보다가, 

개선책이 보여서 적용해보고 괜찮아 진 것 같아서 정리해 놓음.




down voteaccepted

I know this is an old question, but you could also try this:

http://stackoverflow.com/a/24045966/371917

$ git config --global core.preloadindex true
$ git config --global core.fscache true
$ git config --global gc.auto 256

Secondly, here is a post that explains that git gc --aggressive may not be a great idea.


아래 [참조1] 링크에 보면 위와 같이 git config을 셋팅하라고 나온다.


근데 Windows 버전이면 어딘가 있을 것 같아서 찾아보니


SourceTree 우측 상단 Setting-Edit Config... 을 눌러보면 해당 설정과 관련있는 옵션들([core])이 나온다.

aggressive 옵션은 어떻게 넣어야 될지 모르겠으니 우선 패스하고,

3개 옵션이 안보여서 다른 옵션 보고 형식에 맞게 직접 추가했다.


[core]

repositoryformatversion = 0

filemode = false

bare = false

logallrefupdates = true

symlinks = false

ignorecase = true

hideDotFiles = dotGitOnly

preloadindex = true

fscache = true

[gc]

auto = 256



좀 더 지켜봐야 겠지만 계속 느끼던 렉이 사라진 것 같다. (만세!! -ㅁ-!!)




[참조1] http://stackoverflow.com/questions/28105472/sourcetree-very-slow-with-many-repositories

[참조2] https://believeinmiraclesx.wordpress.com/2015/11/13/sourcetree-is-very-slow-in-windows/

[참조3] https://answers.atlassian.com/questions/10413451/sourcetree-slow-in-windows-7-x64...

반응형
Posted by blueasa
, |




소스트리 최신 버전(1.10.x)을 받고 위와 같은 에러가 나서 확인하다 답을 찾고 올려 놓음.



[해결방법]

1. C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin 위치의 dll파일들을 모두 Copy 한다.

2. C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\libexec\git-core 위치에 1.에서 Copy 한 File들을 Paste 한다.

3. 끝..


해당 위치에서 dll 파일을 참조 못해서 생기는 에러 같다.

다른 dll missing 문제도 같은 문제 인 듯..

(설명엔 37개라고 돼있는데 내가 할 땐 43개였음.)



[참조]

I've been struggling with similar issue where a fresh install of SourceTree on a different PC failed to clone with an error saying it couldn't find a DLL (specifaclly LIBEAY32.dll). It is all installed and working correctly on another PC. Eventually I found that 37 DLL's are in: C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\bin

But they should also be found at:

C:\Users\myName\AppData\Local\Atlassian\SourceTree\git_local\mingw32\libexec\git-core

After a Copy 'n' paste of all 37 DLL's into the git-core folder and it is now working. Hope this helps someone.



[출처]

https://answers.atlassian.com/questions/32972886/git-remote-https.exe-libcurl-4.dll-the-procedure-entry-point-sslctxsetalpnprotos-could-not-be-located-in-the-dll

반응형
Posted by blueasa
, |

Try disabling these two settings in Tools/Options:




출처 : https://answers.atlassian.com/questions/310896/sourcetree-for-windows-performance-issues

반응형
Posted by blueasa
, |

[추가]

해놓고 보니 암호는 안넣고 편한 것 같긴한데..

작업관리자에 있는 Plink가 무슨짓을 하는지 Commit/Fetch/Pull/Push 등 서버와 통신이 필요한 짓을 하려고 하면 얼어버린 것 처럼 보일정도로 느려지는 현상이 생겨서 SourceTree를 껐는데도 컴퓨터 자체가 느림..

그래서 Plink를 끄니깐 그때서야 제 속도로 돌아왔다.

결국 그냥 OpenSSH로 쓰고 필요할 때 암호 넣는걸로 돌렸다.

암호 하나 안넣으려고 컴퓨터가 엄청 느려지는 걸 감수하기에는..;;






참조 : SourceTree for Windows with SSH key files 


잡설 


어쩔수 없이 회사에서 리눅스에 gitolite를 설치하고 윈도우 클라이언트에서 작업을 해야했다. 모든 것이 다 진행되다가 마지막에 가장 큰 문제점으로 나타난게 있다. ssh-key를 사용하여 비밀번호 없이 git에 접근 되게 설정을 해놨지만, 계속해서 Password를 요구하는 팝업 창이 나타났다. 삽을 들고 구글링을 해보았지만 제대로 나오는건 없었다. 그래서 포기하고 SVN으로 설정을 마치고 혹시나 하는 마음에 다시 삽을 들었는데 해결책은 정말 간단하였다. 


Private Key가 어디에서 사용되는지 몰라서 이것이 문제이겠거니라고 추측은 하고 있었는데 '어려운' 윈도우 때문에 알지 못했다. .ssh/ 가 있다면 참 좋을텐데. 


해결방법


해결책은 아주 간단하다. 우선 아래 그림과 같이 일단 PK를 PuTTY에서 만들거나, 아니면 ssk-keygen에서 만들어 진 키를 PuTTY 키로 변환을 한다. 












































그리고 윈도우의 오른쪽 하단에서 pageant 에서 View Keys를 클릭한뒤, "Add Key" 버튼을 클릭해서 PK 를 추가하면 끝이다. 










그러면 아래와 같이 password 입력 팝업창이 뜨지 않고 ssh-key로 접속이 잘되는 것을 확인 할 수 있다.




출처 : http://www.appilogue.kr/2844475

반응형
Posted by blueasa
, |

[파일] 

SourceTreeSetup_1.5.2.exe

SourceTreeSetup_1.5.2.zip



SourceTree is very slow on windows 7 https://answers.atlassian.com/questions/252979/

1.5.x 대는 문제 없었다고 해서 1.5.2 받았음. 이제야 쓸만하네. osx 용은 엄청 빠르던데 windows 는 대강 만들었나봄.

참고로 1.5.2 다운로드 링크 http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.5.2.exe




[참조]

  1. Robert Sirre

    1.6.11.0 seems to be even slower, my colleague also downloaded 1.5.2. This version is still available at: http://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.5.2.exe


참조 링크  : https://answers.atlassian.com/questions/252979/

반응형
Posted by blueasa
, |

SourceTree에서 디렉토리를 Git Ignore하기 위해


디렉토리에 포함된 파일 (File)을 선택하고


우 클릭 후 Ignore...를 선택한다.

(한글버전: 우 클릭 후 '무시'를 선택한다.)


'Ignore everything beneath:'에서 Ignore할 디렉토리를 선택하고

(한글버전: '이하 모든 걸 무시'에서 무시할 디렉토리를 선택하고)


'Add this ignore entry to:'에서 'This repository only'를 선택한다.

(한글버전: '무시 범위:'에서 '이 저장소 전용'을 선택한다)



출처 : http://devday.tistory.com/entry/SourceTree%EC%97%90%EC%84%9C-%EB%94%94%EB%A0%89%ED%86%A0%EB%A6%AC-Directory-Git-Ignore%ED%95%98%EA%B8%B0







참조 : http://stackoverflow.com/questions/9665399/how-to-ignore-all-files-in-a-folder-with-a-git-repository-in-sourcetree

반응형
Posted by blueasa
, |