SlideShare ist ein Scribd-Unternehmen logo
1 von 34
Hg Init – Mercurial tutorial by TortoiseHg Setting up for a Team
Setting up for a Team % cmd:hg initCentralRepo 내용과 맞추기 위해 해제했으나 기본으로 선택한다. CentralRepo 폴더
Setting up for a Team Joel’s recipes % cmd:hg clone CentralRepoJoel_recipes Joel’s recipes 폴더
Setting up for a Team Joel’s recipes % cmd:hg add / hg commit Add, commit Joel’s recipes 폴더
Setting up for a Team Joel’s recipes % cmd:hg status View File Status 차이점
Setting up for a Team Joel’s recipes % cmd:hg diff guac file diff tool
Setting up for a Team Joel’s recipes % cmd:hg com –m “Change crunch to smoosh” Commit % cmd:hg log Workbench
Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
Setting up for a Team Joel’s recipes % cmd:hg push 1. Joel’s recipes 3. 2. 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
Setting up for a Team Rose’s recipes % cmd:hg clone CentralRepoRose_recipes Rose’s recipes 폴더
Setting up for a Team Rose’s recipes % cmd:hg diff View File Status Beyond Compare 3 Pro Visual Diff
Setting up for a Team Rose’s recipes % cmd:hg com –m “spicier kind of chile” Commit % cmd:hg log
Setting up for a Team Joel’s recipes % cmd:hg com –m “potato chips. No one can eat just one.” Commit % cmd:hg log
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Rose’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Joel’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s recipes Failure!
Setting up for a Team Joel’s recipes Detailed log Failure!
Setting up for a Team Joel’s recipes % cmd:hg incoming / hg pull 1.incoming 가져올 변경 내용 2.pull 변경 내용을 가져올 주소 선택
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Joel’s recipes % cmd: type guac Joel’s guac
Setting up for a Team Joel’s recipes % cmd:hg cat –r 3 guac Rose’s guac
Setting up for a Team Joel’s recipes % cmd:hg merge 병합 기준으로 삼을 리비전으로 갱신 (현재 작업 영역은 rev2) 병합할 리비전 선택
Setting up for a Team Joel’s recipes 2.resolve 1.merge
Setting up for a Team Joel’s recipes Mercurial Resolve : mercurial에서 병합 처리 Tool Resolve : 툴로 병합 처리 Take Local : Local 변경 내용 사용 Take Other : Other 변경 내용 사용 Mark as Resolved : 충돌 해결한 것으로 표시 Resolve 대기 파일 병합/비교에 사용할 툴 지정 default & Tool Resolve 하면 Mercurial에서 병합 처리
Setting up for a Team Joel’s recipes Edit File : 파일 편집 3-Way Diff : base, local, other 비교 확인 Diff to Local : Local 변경 내용과 비교 확인 Diff to Other : Other 변경 내용과 비교 확인 Mark as Unresolved : 충돌 해결안 된 것으로 표시 Resolve 완료 파일 완료
Setting up for a Team Joel’s recipes % cmd:hg commit –m “merge” 작업 영역 상태 커밋메시지
Setting up for a Team Joel’s recipes % cmd:hg out / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
Setting up for a Team Rose’s recipes % cmd:hg pull 1.pull % cmd:type guac 현재 작업 리비전 % cmd:hg log % cmd:hg parent
Setting up for a Team Rose’s recipes % cmd:hg up
Setting up for a Team Rose’s recipes % cmd:type guac

Weitere ähnliche Inhalte

Ähnlich wie 2. hg init – a mercurial tutorial by tortoies hg setting up for a team (6)

VersionEEring
VersionEEringVersionEEring
VersionEEring
 
Cooking Perl with Chef: Real World Tutorial with Jitterbug
Cooking Perl with Chef: Real World Tutorial with JitterbugCooking Perl with Chef: Real World Tutorial with Jitterbug
Cooking Perl with Chef: Real World Tutorial with Jitterbug
 
Cooking environments with chef
Cooking environments with chefCooking environments with chef
Cooking environments with chef
 
create_patch_file_v3a.pdf
create_patch_file_v3a.pdfcreate_patch_file_v3a.pdf
create_patch_file_v3a.pdf
 
Taking your module from Drupal 6 to Drupal 7
Taking your module from Drupal 6 to Drupal 7Taking your module from Drupal 6 to Drupal 7
Taking your module from Drupal 6 to Drupal 7
 
DrupalCafe5 VCS
DrupalCafe5 VCSDrupalCafe5 VCS
DrupalCafe5 VCS
 

Kürzlich hochgeladen

Kürzlich hochgeladen (20)

Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 

2. hg init – a mercurial tutorial by tortoies hg setting up for a team

  • 1. Hg Init – Mercurial tutorial by TortoiseHg Setting up for a Team
  • 2. Setting up for a Team % cmd:hg initCentralRepo 내용과 맞추기 위해 해제했으나 기본으로 선택한다. CentralRepo 폴더
  • 3. Setting up for a Team Joel’s recipes % cmd:hg clone CentralRepoJoel_recipes Joel’s recipes 폴더
  • 4. Setting up for a Team Joel’s recipes % cmd:hg add / hg commit Add, commit Joel’s recipes 폴더
  • 5. Setting up for a Team Joel’s recipes % cmd:hg status View File Status 차이점
  • 6. Setting up for a Team Joel’s recipes % cmd:hg diff guac file diff tool
  • 7. Setting up for a Team Joel’s recipes % cmd:hg com –m “Change crunch to smoosh” Commit % cmd:hg log Workbench
  • 8. Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
  • 9. Setting up for a Team Joel’s recipes % cmd:hg push 1. Joel’s recipes 3. 2. 변경 내용을 보낼 주소 선택
  • 10. Setting up for a Team Joel’s recipes CentralRepo Joel’s recipes
  • 11. Setting up for a Team Rose’s recipes % cmd:hg clone CentralRepoRose_recipes Rose’s recipes 폴더
  • 12. Setting up for a Team Rose’s recipes % cmd:hg diff View File Status Beyond Compare 3 Pro Visual Diff
  • 13. Setting up for a Team Rose’s recipes % cmd:hg com –m “spicier kind of chile” Commit % cmd:hg log
  • 14. Setting up for a Team Joel’s recipes % cmd:hg com –m “potato chips. No one can eat just one.” Commit % cmd:hg log
  • 15. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 16. Setting up for a Team Rose’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
  • 17. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 18. Setting up for a Team Joel’s recipes % cmd:hg outgoing / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
  • 19. Setting up for a Team Joel’s recipes Failure!
  • 20. Setting up for a Team Joel’s recipes Detailed log Failure!
  • 21. Setting up for a Team Joel’s recipes % cmd:hg incoming / hg pull 1.incoming 가져올 변경 내용 2.pull 변경 내용을 가져올 주소 선택
  • 22. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 23. Setting up for a Team Joel’s recipes % cmd: type guac Joel’s guac
  • 24. Setting up for a Team Joel’s recipes % cmd:hg cat –r 3 guac Rose’s guac
  • 25. Setting up for a Team Joel’s recipes % cmd:hg merge 병합 기준으로 삼을 리비전으로 갱신 (현재 작업 영역은 rev2) 병합할 리비전 선택
  • 26. Setting up for a Team Joel’s recipes 2.resolve 1.merge
  • 27. Setting up for a Team Joel’s recipes Mercurial Resolve : mercurial에서 병합 처리 Tool Resolve : 툴로 병합 처리 Take Local : Local 변경 내용 사용 Take Other : Other 변경 내용 사용 Mark as Resolved : 충돌 해결한 것으로 표시 Resolve 대기 파일 병합/비교에 사용할 툴 지정 default & Tool Resolve 하면 Mercurial에서 병합 처리
  • 28. Setting up for a Team Joel’s recipes Edit File : 파일 편집 3-Way Diff : base, local, other 비교 확인 Diff to Local : Local 변경 내용과 비교 확인 Diff to Other : Other 변경 내용과 비교 확인 Mark as Unresolved : 충돌 해결안 된 것으로 표시 Resolve 완료 파일 완료
  • 29. Setting up for a Team Joel’s recipes % cmd:hg commit –m “merge” 작업 영역 상태 커밋메시지
  • 30. Setting up for a Team Joel’s recipes % cmd:hg out / hg push 1.outgoing 보낼 변경 내용 2.push 변경 내용을 보낼 주소 선택
  • 31. Setting up for a Team Joel’s Repository Central Repository Rose’s Repository
  • 32. Setting up for a Team Rose’s recipes % cmd:hg pull 1.pull % cmd:type guac 현재 작업 리비전 % cmd:hg log % cmd:hg parent
  • 33. Setting up for a Team Rose’s recipes % cmd:hg up
  • 34. Setting up for a Team Rose’s recipes % cmd:type guac